1

Multiple CPUs, multithreaded performance

view story
linux-howto

http://superuser.com – My program: 100% CPU and RAM based, performs mathematical calculations, reads the data from the HDD into RAM in the beginning. No communication between threads. The threads, all take the same time also (almost). Question: If my program uses threads equal to the number of CPU threads, what kind of performance can I expect from a 2 cpu system? Say I use two 8 core xeons, each with 16 threads, so 16x2 = 32 threads total. If my program uses 32 threads, all with 100% usage, will I get double the preformance over a single same cpu? (HowTos)