Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Paras Fadte writes: Thanks for the response , I would like to know how can one minimize the overflowed work requests ? overflowed work requests are not bad per se, they are the signal we need to increase the worker thread pool. it's the dropped requests you want

Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Paras Fadte
Hi Poul, Thanks for the response. So thread_pools parameter should be increased or the thread_pool_max or both should be increased ? Currently I have thread_pools as 4 and thread_pool_max as 750 Thanks. -Paras On Wed, Dec 3, 2008 at 1:34 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In

Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Paras Fadte writes: Hi Poul, Thanks for the response. So thread_pools parameter should be increased or the thread_pool_max or both should be increased ? Currently I have thread_pools as 4 and thread_pool_max as 750 You should only increase thread_pools if you

Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Paras Fadte
Hi Poul, Can you please shed some light on the mail that I had sent regarding varnish performance ? In the same mail I have attached a mrtg graph of CPU utilisation which is very spiky. Thank you. -Paras On Wed, Dec 3, 2008 at 3:28 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message

sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Hi , Are there issues associated with using sendfile() in varnish2.0.2 ? Does varnish 2.0.2 use sendfile() by default ? I have read that currently it supports sendfile() only on FreeBSD or does it support OS like SUSE LINUX 10.1 (X86-64) and Kernel 2.6.16.13-4-smp ? I also tend to see increase

sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Hi , Are there issues associated with using sendfile() in varnish2.0.2 ? Does varnish 2.0.2 use sendfile() by default ? I have read that currently it supports sendfile() only on FreeBSD or does it support OS like SUSE LINUX 10.1 (X86-64) and Kernel 2.6.16.13-4-smp ? I also tend to see increase

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Per Buer writes: Are there issues associated with using sendfile() in varnish2.0.2 ? Yes. sendfile is turned off on Linux and FreeBSD. The performance impact is quite minimal. It works on FreeBSD 8.* version, but you have to enable it by setting a threshold above

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Dag-Erling Smørgrav
Per Buer [EMAIL PROTECTED] writes: Paras Fadte [EMAIL PROTECTED] writes: Are there issues associated with using sendfile() in varnish2.0.2 ? Yes. sendfile is turned off on Linux and FreeBSD. The performance impact is quite minimal. Does varnish 2.0.2 use sendfile() by default ? Only

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: No. Neither Linux nor Solaris have a version of sendfile that Varnish can use. FreeBSD 8 does (and so would FreeBSD 7 if phk had remembered to MFC it). MFC'ing it changes an obscure kernel-API slightly, so absent

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Norikatsu Shigemura
Hi phk. On Tue, 02 Dec 2008 15:38:20 + Poul-Henning Kamp [EMAIL PROTECTED] wrote: No. Neither Linux nor Solaris have a version of sendfile that Varnish can use. FreeBSD 8 does (and so would FreeBSD 7 if phk had remembered to MFC it). MFC'ing it changes an obscure kernel-API slightly,

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Thanks for the response , I would like to know how can one minimize the overflowed work requests ? On Tue, Dec 2, 2008 at 11:39 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Norikatsu Shigemura w rites: What is the difference between FreeBSD 8 and 7?