[squid-users] runing squid on second processor
Yuri Voinov
yvoinov at gmail.com
Sun May 1 11:37:05 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I do admit I do not understand how Сalamaris may slow Squid. My
Calamaris runs once a day, at night, I do not see any significant load
on the server with four cores. No, of course, if it is run with each
rotation of the log, every hour, on the highly active proxy - it may be,
but it is can be solved by scheduler settings or process affinity, if
you want.
But I think it is better to give the operating system. Or, finally, to
refactor Calamaris code to make it more efficient and less devouring CPU
cycles.
01.05.16 13:42, Matus UHLAR - fantomas пишет:
> On 30.04.16 07:05, joe wrote:
>> i have it running tks
>> cause every time i run Calamaris Log first cpu get hi 100% and squid work
>> slow until the calamaris finish
>> so i moved squid to use second processor now its OK not affected by
that or
>> anything else
>> running nice now
>
> the OS should distribute all processes across processors, unless you force
> it handle processes differently.
>
> With 8 cores calamaris should not slow down squid much, unless it uses
many
> threads (or processes) in parallel.
>
> Lowering calamaris' priority or reducing the number of thrads/processes
> should have the same result.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXJepgAAoJENNXIZxhPexGSU4H/RXv9y0gbujSKFgo/AgG5PBS
KGuQG0MnNuVQVWU1ZEXP/Xd+z270t4XGLjTqY/0jKaOZYQZRrC+i7TbNuSxTE3RJ
xVJj1xpQxRw8NEkeRpVheMj6mJu14nU4XxTV0OLCvXFIluJFPn69j1BRjee+5Kj5
GgG0o1OOVXcduD5NBVrSHy9KnYvO8EPWxmPoAjT+aIAJRw5lKUL4wXZRHUrub2HH
K/GAhqKB6GJ5nIBfKRqCuGuuReUaNeA0brX1a3tcC63QBzAmu4pVWpjI5UcZLl3n
owwUNiyHqYvTPG3PoTKb1Oii1VR2dExoJJoZIpzud3u63DATBR+KKg7v7s4t6bg=
=sZqZ
-----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/20160501/dc9bec78/attachment.key>
More information about the squid-users
mailing list