thread starvation 4

Posted by jan Mon, 05 Mar 2007 23:56:00 GMT

After getting covered with benchmark and stumbling over time-outs reported by http_load it was time to look a bit deeper into the problem.

http://www.lighttpd.net/2007/3/5/thread-starvation talks about how you can reduce the probability of time outs reported to the user. With the help of a new timing infrastructure you can now track the time spent a different stages of a request. With the help of gnuplot you can get a feeling of where the time is spent.

To make the long story short: If you use one of the async-io backends in 1.5.0 you want to set the server.max-read-threads to twice the number of disks.

Trackbacks

Use the following link to trackback from your own site:
http://blog.lighttpd.net/articles/trackback/3431

Comments

Leave a response

  1. Yusuf Tue, 06 Mar 2007 07:40:52 GMT
    weigon, can you make those patches to http_load available some place
  2. hi Sun, 11 Mar 2007 12:02:17 GMT
    is 1.5 ever going to be finished?
  3. Fabric Mon, 12 Mar 2007 20:07:16 GMT
    Nice, post links to itself. And where is patch itself?
  4. Tourist Fri, 16 Mar 2007 14:36:11 GMT
    There will be version 1.5.10 :)
Comments