Search squid archive

Re: Re: deep understanding of squid smp with disker and worker

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

 



On 16/02/2014 12:38 a.m., Dr.x wrote:
> ANOTHER QUESTION ,
> 
> does mapping cpu numbers make a differs ??

No.

> also at the orther side , if i have 3 aufs   hardisk and need to map each
> aufs process to worker
> dos mapping aufs hardsisk workers can make differs ??

Unknown.

AUFS uses threads, the operating system will spread those threads out
over multiple CPU cores all by itself. So any mapping you do will
probably get in its way. YMMV.


> 
> what is the best method to use or ehat i have to avoid ?

Avoid mapping more than one kid to the same CPU, or they will both
suffer when its gets loaded.

Reserve at least one CPU for the system kernel and services.

If you have helpers processes plugged into Squid keep in mind they need
CPU resources too. Reserving some CPU(s) for their use may be necessary.

Each Squid-3.2+ worker is single-threaded in the same way that older
Squid-2.x used to be single-threaded applications. They just share a lot
of memory state like cache indexes for better service.
 Keep that in mind when designing everything.


Cheers
Amos





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

  Powered by Linux