Search squid archive

Re: runing squid on second processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
Just as a possibility of solution:

https://docs.oracle.com/cd/E22645_01/html/817-1592/rmfss-1.html


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.
>
>
> HTH,
>
> Alex.
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXJmtHAAoJENNXIZxhPexGn+wIAJFWApLrbTb3uTmT0aIr4F2j
xn/u9Y5sZxs2pFkwRr/5a81bXBGMwzJ6WWPwgeE8W0jNX3nq2d260KolXe2Dnk6J
9aH567wTioUMHE+t0zIQB5WF3zBZfqntBI5z+nvO9Gw/3gS+lVYstPcfxjd8d0O2
v00CMvAxX+ovtIh5cu8uLM4GygbP6n8ZNyzFA6RbCMEbNcN1Jt8CohL+hR+KBidj
0tyT9QH0w7vkyMj+WtYp9MBzGd0wneBuSbhDeZ5lj+wBn5rY8MkaTg2wIMWOpdtB
WRemUTLxop+BN1fH7ycnoKWzHGFY/BVUDI4Sxc2jvjNpkXTshLe8yT1bxqlgxJU=
=Ry7n
-----END PGP SIGNATURE-----

Attachment: 0x613DEC46.asc
Description: application/pgp-keys

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux