10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Running Eldo<br />

Multi-Threading Eldo Simulations<br />

• The machine is a multi-CPU machine.<br />

• The circuit contains devices which are thread-safe.<br />

Eldo automatically computes if launching multi-threading is advantageous regarding the overall<br />

device evaluation time. If it takes more time to wake-up the threads than computing the device<br />

evaluations in one thread, then only one thread will be used.<br />

If the circuit does not contain any thread-safe devices, multi-threading is ignored. Eldo provides<br />

a notification when it cannot apply thread optimization on models, handles them in a single<br />

processor. Thread-safe and non-thread-safe models can be used in the same circuit. See “Notes”<br />

on page 45 for further information on thread-safe devices.<br />

Eldo automatically adjusts the number of threads, and so the number of CPUs used, to minimize<br />

the computation time. Eldo detects when other processes compete for resources, and decreases<br />

the number of CPUs used if it will reduce computation time. Eldo also attempts to detect when<br />

busy resources become available in order to use them. Eldo will never try to use more resources<br />

than what has been specified with the -use_proc argument.<br />

Note<br />

Because this algorithm is always active, Eldo might use less threads than specified even on<br />

a computer with no other active processes. The main purpose of the algorithm is to select the<br />

number of threads that leads to the best performance; sometimes fewer is better.<br />

Example Transcripts<br />

When multi-threading is activated, the CPU time reported by Eldo is the sum of the CPU time<br />

of all threads. This time will be much higher than the global elapsed time reported by Eldo. The<br />

below example is an extract of a transcript showing this:<br />

# ----- Summary run statistics ----<br />

# Global Threads cpu Time 72h 27mn 31s 620ms<br />

# Global Elapsed Time 47h 36mn 21s<br />

Eldo prints information about the machine used for simulation including: clock frequency, the<br />

number of cores, the number of threads used, and so on. Example output:<br />

***** SYSTEM INFORMATION ...<br />

44<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!