Re: [PATCH] Check half-closed descriptors at most once per second.

2008-09-25 Thread Alex Rousskov
On Thu, 2008-09-25 at 14:08 +0800, Adrian Chadd wrote: > 2008/9/25 Alex Rousskov <[EMAIL PROTECTED]>: > > > This revision resurrects 1 check/sec limit, but hopefully with fewer > > bugs. In my limited tests, CPU usage seems to be back to normal. > > Woo, thanks! Committed. > > The DescriptorSet

Re: [PATCH] Check half-closed descriptors at most once per second.

2008-09-24 Thread Adrian Chadd
2008/9/25 Alex Rousskov <[EMAIL PROTECTED]>: > This revision resurrects 1 check/sec limit, but hopefully with fewer > bugs. In my limited tests, CPU usage seems to be back to normal. Woo, thanks! > The DescriptorSet class has O(1) complexity for search, insertion, > and deletion. It uses about 2

Re: [PATCH] Check half-closed descriptors at most once per second.

2008-09-24 Thread Bundle Buggy
Bundle Buggy has detected this merge request. For details, see: http://bundlebuggy.aaronbentley.com/project/squid/request/%3C198571.8721.395.camel%40pail%3E Project: Squid

[PATCH] Check half-closed descriptors at most once per second.

2008-09-24 Thread Alex Rousskov
Performance fix: Check half-closed descriptors at most once per second. A few revisions back, comm checked half-closed descriptors once per second, but the code was buggy. I replaced it with a simpler code that checked each half-closed descriptor whenever the OS would mark it as ready for reading.