trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hung Nguyen <it.bi.ngu...@gmail.com>
Subject Re: Too many context switching on ATS
Date Sat, 14 Jul 2012 01:53:19 GMT
 Both have same 4core CPU.
How to reduce CS?


On Tuesday, July 10, 2012, Bryan Call wrote:

> Is there a difference in the CPUs between the servers?  I have seen
> servers with lots of cores (24 cores) do more context switching.
>
> -Bryan
>
> On Jul 3, 2012, at 3:39 AM, Hung Nguyen wrote:
>
> Dear guys,
>
> I do some test cases on 2 servers which installed Traffic server as
> reverse proxy.
>
> - Box 1: using SSD disk which using 15GB for disk cache, 15GB ram cache
> - Box 2: using SAS disk which using 4GB for disk cache, 4 GB ram cache
>
>
> On box 1 I got about 10K context switch
>
>
> -- trafficserver]# tsar --pcsw -i 1 -l
> Time        -------pcsw-----
> Time         cswch    proc
> 03/07-17:31  10.2K     0.0
> 03/07-17:31  10.7K     6.0
> 03/07-17:31  10.4K    61.0
>
>
> On box 2:
>  tsar --pcsw -i 1 -l
> Time        -------pcsw-----
> Time         cswch    proc
> 03/07-17:32   4.5K     0.0
> 03/07-17:32   5.0K     0.0
> 03/07-17:32   4.4K     0.0
>
>
> is there any reason cause ATS create many context switches on server?
>
> ---
> Hung. Nguyen Van
> Website: http://ethicconsultant.com
>
>
>
>

-- 
---
Hung. Nguyen Van
Website: http://ethicconsultant.com

Mime
View raw message