question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jason Lightfoot commented

Speed Up Experimenter Run?

Hi @Joerg Vogel,

In one of post to speed up run, you suggested to run experiment completely in RAM. I don't have any idea how to do it.

Can you help me to go head?

Thank you!

@Felix Möhlmann

FlexSim 21.1.5
timespeedrun
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

Modern computers have multiple cores and some are able to process in one core two threads. Each Experiment scenario or instance can run in an own thread and / or processor core. BUT most computers are still lacking of having enough RAM to execute parallel on all cores your Modell Runs. The Windows system starts to store processing data and execution code from RAM and cache memory to a slow storage space on a hard drive (hdd or ssd). Later when needed your system read this data. This virtual memory on a disk is much more slower, I mean really really slow in comparison to RAM.

You can limit the number of threads and processor cores in Experimenter advanced settings. Then you can watch how your system efficiency is in task manager efficiency viewer. I would start in experimenter advanced setting with one core and watch the free memory in your system while Modell run. Only if there isn’t stored any data in virtual memory you can add another processor core in experimenter to your runs.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ankur A3 avatar image Ankur A3 commented ·

Hi @Joerg Vogel,

I got little idea that we have to change experimenter advance setting to use RAM directly for run. But the option given in advance tab are not much clear. Like repeat stream of replication and max cores. Also I am not clear on whether it is used only for experimenter or with 3D environment. How to set it in effective way?

1667315207407.png

Can you explain little bit more?

Thank you!

0 Likes 0 ·
1667315207407.png (63.0 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ankur A3 commented ·
Repeat streams of replication - is used by the interactive model (can have a 3D view)

Max Cores is used by the experimenter.

1 Like 1 ·