By user12625760 on Jul 22, 2009
As I cycled home I realised there was one more thing I could do on the exploring the limits of threads and processes on Solaris. That would be the highest load average ever. Modifying the thread creator program to not have each thread sleep once started but instead wait until all the threads were set up and then go into an infinite compute loop that should get me the highest load average possible on a system or so you would think.
With 784001 threads the load stabilised at:
10:16am up 18:07, 2 users, load average: 22114.50, 22022.68, 21245.781
Which was somewhat disappointing. However an earlier run with just 780,000 threads managed to peak the load at 1,784,593 while it was exiting:
7:44am up 15:35, 2 users, load average: 1724593.79, 477392.80, 188985.10
I' still pondering how 780000 thread can result in a load average of more than 1 million.