Mateusz Berezecki wrote:
Hello List Readers,
I would really appreciate any comment on the overall performance of task
switching with 25 000 threads running on the Linux system. I was asked to work
on some software which spawns 25 000 threads and I am really worried if
it will ever work on 2 CPU HP Blade. The kernel was modified to support
bigger threads amount running (I have no idea how it was done, probably
just changing hardcoded limits) What is the performance impact of
so much threads on the overall system performance? Is there any ?
Wouldn't it be that such application would spend all of its time
switching contexts ? I'm asking for some kind of an authoritative answer
quite urgently. What is the optimum thread amount on 2 CPU SMP system
running Linux ?
Thank you very much in advance
Mateusz
You would get much better performance by switching the application to
use a thread pool using a fixed low number ( about CPU*2 = 4) of worker
threads.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|