[squid-users] runing squid on second processor

Yuri Voinov yvoinov at gmail.com
Sun May 1 18:58:47 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 


02.05.16 0:56, Alex Rousskov пишет:
> On 04/29/2016 04:17 PM, joe wrote:
>> hi i have 2 cpu 4 core each
>>  i need to leave alone first processor and use the second one for
squid and
>> its helper
>> is that will do ???   taskset 0x000000f0 squid -YC -f
/etc/squid/squid.conf
>> or other way around ??
>
> SMP Squid has cpu_affinity_map to accomplish similar task. However, it
> does not apply to helpers AFAIK. Also, be careful not to assign two busy
> Squid workers to two _sibling_ hyper cores. Give them hyper-cores on
> different physical cores instead.
>
>
>> so i can keep the kernel and other program running on first cpu not
>> interfere  with squid
>
> I do not know of a good solution to that. The solution I know is to tell
> each active process or kernel task (e.g., NIC interrupts processing)
> where to run, which is tedious when you have more than one or two such
> activities to worry about.
>
>
>> cause wen i run Calamaris Log Analysis on cpl large log it take cpu %
very
>> hi and it slow delay squid performance until it finish :(
>
> Yes, it can be a real problem. AFAICT, the previous responses on this
> thread essentially ignore the [sad] fact that Linux kernels are not very
> good at CPU scheduling in high-performance SMP Squid environments.
Linux is not only last OS on the planet. There is another operating
systems with more better kernel/scheduling.... ;)
>
>
>
> HTH,
>
> Alex.
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXJlHnAAoJENNXIZxhPexGmtcIAL4IKqj8L9q6pecI/FYeYZGR
mOnS17pfbUVKE5b1s4BK3dIo5aHQTx8uUCgujmD8XCeWVnZ/i/air7SvZp9/HspB
Zhm4CVk1fBzcbVG4DOjbYDnXvsgaD1qAMSlMKy39JwD4FSTPt8BHHp1RBwDhZEGE
woTAGFfsINcbIRuKXnh0wLjWUkPS2Eb3EdBZ8ALuZFPgPbY1CR5VRsVYv2eWhpwi
Gad9oImJb3nHykdUbxIvqUtjQJQKMj/5MDk+GIIOUiMopEgxwDuriLfEnw6X1ilh
eyxKJt/HqweGwhm796C9gRqqgy/6KLq8Ns6/sguJKpw2YT5QEl2ruui4LTs530M=
=LVvG
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160502/a85e5daa/attachment.key>


More information about the squid-users mailing list