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
 
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-----

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