About Parallelism
I have a multi-CPU machine, but I suspect my compilers may not be
taking advantage of parallelism. Yes, I am doing penty of multi-
threading, but how can I make sure that the implementation is
actually making use of the multiple CPU's (Xeons)?
As a brute-force approach, I could 'objdump' my pthreads library
and study its gas code to see what happens. Is there a less tedious
alternative?
Thanks, Scott
.
Relevant Pages
- Re: About Parallelism
... Scott J. McCaughrin wrote: ... taking advantage of parallelism. ... I am doing penty of multi- ... threading, but how can I make sure that the implementation is ... (comp.os.linux.development.system) - Re: About Parallelism
... taking advantage of parallelism. ... I am doing penty of multi- ... calculations in multiple threads, no I/O) and run it on various configurations and measure its execution time. ... If that doesn't vary with the number of CPUs in use, then your OS (or threading library) doesn't scale well. ... (comp.os.linux.development.system) - Re: Parallel processing on graohics chips
... why do we still use compilers that really only work well wiith a ... single core CPU? ... amount of parallelism to work with, but your problem has to fall into ... and if parallelisation as a language concept is rather a bolted-on ... (comp.lang.fortran) - Re: About Parallelism
... Thank you, Iwo. ... direct parallelism, though I can't speak for the syscalls. ... a program across multiple cores in the way you seem to expect. ... compilers for PCs compile programs for a single core. ... (comp.os.linux.development.system) - Re: How to go about. On read/write locks
... take advantage of the parallelism that can more and more often be ... that OS-level threading does use them both, ... GIL effectively prevents parallel operations. ... More complex operations - such as iteration - might need more coarse grained locking. ... (comp.lang.python) |
|