Fwd: [squid-users] epoll performance

From: Gonzalo Arana <gonzalo.arana@dont-contact.us>
Date: Thu, 31 Aug 2006 08:57:02 -0300

On 8/31/06, chima s <chima.s@gmail.com> wrote:
> Hi,
>
> I am using FC2-Linux-2.6.10 Kernel in
>
> dual P4 Xeon Processer
> 3 GB Physical RAM
> 2 * 12 GB disked Cache_dir with different SCSI harddisk.
> OS File Systen - reiserfs
>
> Squid- 2.6.STABLE2 with
> cache_replacement_policy heap LFUDA
> memory_replacement_policy heap LFUDA
>
> Server is configured with in bridge mode and tproxy.
>
> Usually when there is 5 MB of traffic squid will use 80 to 90% of CPU
> (System load will be 2), after enabling the epoll it come down to 10
> to 15% of CPU (System load will be 0.2).
>
> Then i added 5 more MB of traffic the CPU went to 40 to 50% (System
> load went to 3). What could be the problem as CPU usage and system
> load went high dramatically

sounds to me that you are having lots of disk I/O.
You could use 'top' and watch for processes with 'D' state (column
'S'). iostat / vmstat / sar may confirm that you are having disk I/O.

HTH,

--
Gonzalo A. Arana
-- 
Gonzalo A. Arana
Received on Thu Aug 31 2006 - 05:57:07 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT