trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: Only 1 core is utilized
Date Tue, 13 Aug 2013 12:46:01 GMT
On Aug 7, 2013, at 8:14 AM, Noam Schiff <noamschiff@gmail.com> wrote:

> Hi,
> 
> 
> 
> I changed the below line from 2 to 8 in "records.config" file but it doesn't do the trick:
> CONFIG proxy.config.exec_thread.limit INT 8 (the default is 2)

Besides the other suggestions re: NIC driver pinning a CPU, note that the above alone doesn't
change the number of threads created. By default, it autoscales the number of threads based
on number of CPUs (it's a multiplier). To set an explicit number of threads (to e.g. 8) you
have to do

	CONFIG proxy.config.exec_thread.autoconfig INT 0
	CONFIG proxy.config.exec_thread.limit INT 8

-- leif



Mime
View raw message