Closed asm closed 11 years ago
Doh, way too many threads. This implementation seems to have a heavy context switching penalty. It ran fastest on my 2 core (no HT) machine with 2 threads. On a 4 core machine such as your it should run optimally at 4 threads. I suppose I should have coded something to autoconfigure this....
Here's the non-threaded version:
And the threaded version (with 70 threads):
vs Jonathan's forking server (with 70 processes):
vs Andrew's Haskell server:
So faster, but not fastest!