Performance of OMNeT++

872 görüntüleme
İlk okunmamış mesaja atla

Deepak Goel

okunmadı,
3 Eyl 2013 02:57:303.09.2013
alıcı omn...@googlegroups.com
Hey
 
I am trying to simulate 'Millions of Jobs' in OMNeT++ and the software takes a lot of time to simulate. The hardware used is the latest one, but OMNeT++ takes a hell lot of time. Any idea how to speed up the simulations.
 
Thanks
Deepak

Michael Kirsche

okunmadı,
3 Eyl 2013 03:37:583.09.2013
alıcı omn...@googlegroups.com
Hi,

I would first of all suggest that you use the command shell environment (CMDENV Manual Entry) instead of TKEnv GUI if you are not already using it. It usually speeds up any simulation 10-100 times when compared to the GUI mode.

Second, check if you are using handleMessage() instead of activity(), this brings another speedup.

You can also try different gcc compiler flags:

GCC options

-O1 (minor optimization)
-O2 (heavy optimization, takes longer to compile though)
-O3 (even more optimizations)

Last but not least, you could look into the possibility of parallelization. Parsim is your subject then. Take a look at an entry in the OMNeT wiki: Estimate the Parallel Potential of your Model

Regards,
Michael

Deepak Goel

okunmadı,
3 Eyl 2013 04:00:263.09.2013
alıcı omn...@googlegroups.com
Hey

I have tried most of the options suggested by you. It currently gives
"Result is Out of Range' error

Thanks
Deepak

On 9/3/13, Michael Kirsche <michael...@tu-cottbus.de> wrote:
> Hi,
>
> I would first of all suggest that you use the command shell environment
> (CMDENV
> Manual Entry <http://www.omnetpp.org/doc/omnetpp/manual/usman.html#sec358>)
>
> instead of TKEnv GUI if you are not already using it. It usually speeds up
> any simulation 10-100 times when compared to the GUI mode.
>
> Second, check if you are using handleMessage() instead of activity(), this
> brings another speedup.
>
> You can also try different gcc compiler flags:
>
> *GCC options*
> -O1 (minor optimization)
> -O2 (heavy optimization, takes longer to compile though)
> -O3 (even more optimizations)
>
> Last but not least, you could look into the possibility of parallelization.
>
> Parsim is your subject then. Take a look at an entry in the OMNeT wiki:
> Estimate
> the Parallel Potential of your
> Model<http://www.omnetpp.org/pmwiki/index.php?n=Main.ParsimEfficiency>
>
> Regards,
> Michael
>
> Am Dienstag, 3. September 2013 08:57:30 UTC+2 schrieb Deepak Goel:
>>
>> Hey
>>
>> I am trying to simulate 'Millions of Jobs' in OMNeT++ and the software
>> takes a lot of time to simulate. The hardware used is the latest one, but
>>
>> OMNeT++ takes a hell lot of time. Any idea how to speed up the
>> simulations.
>>
>> Thanks
>> Deepak
>>
>
> --
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "omnetpp" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/omnetpp/LR9f8ClqwuQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> omnetpp+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>


--
Hey

Namaskara~Nalama~Guten Tag~Bonjour


--
Keigu

Deepak
73500 12833
dei...@gmail.com

Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com
Facebook: http://www.facebook.com/deicool

"Contribute to the world, environment and more : http://www.gridrepublic.org
"

Deepak Goel

okunmadı,
3 Eyl 2013 06:11:293.09.2013
alıcı omn...@googlegroups.com
Hello

Following is the error:

<!> Error in module (queueing::Queue) SimpleQueue.queue1 (id=3) at event #210446
8, t=9223300.01: simtime_t overflow adding 100 to 9223300.01: result is out of r
ange (-9223372.036854775807,9223372.036854775807), allowed by scale exponent -12

Thanks
Deepak

Michael Kirsche

okunmadı,
4 Eyl 2013 10:49:364.09.2013
alıcı omn...@googlegroups.com
Well the answer is pretty straight forward... you've run of of simulation time :D

Check the OMNeT++ manual: Chapter 4.1.4
Simulation time is stored in an 64 bit Integer. You can reduce the global scale exponent variable to "stretch" the time for your case.

How fast is your simulation at the moment? How many events per second did you achieve with the suggested optimizations?


Regards,
Michael

Am Dienstag, 3. September 2013 08:57:30 UTC+2 schrieb Deepak Goel:

Michael Kirsche

okunmadı,
4 Eyl 2013 10:51:064.09.2013
alıcı omn...@googlegroups.com
Upps saw that you've posted this question in a new entry... so just forget my answer, you already got the same suggestion...


Am Dienstag, 3. September 2013 08:57:30 UTC+2 schrieb Deepak Goel:

arcturusC

okunmadı,
11 Şub 2019 03:03:5311.02.2019
alıcı OMNeT++ Users
Hi,

I have the same problem that the simulation takes so many hours to complete. I'm running from CMDENV with repeat option.

What is the full command to run with GCC options please?

Thanks.

3 Eylül 2013 Salı 08:57:30 UTC+2 tarihinde Deepak Goel yazdı:
Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti