Mailing List Archive


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

Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)



On 2008-11-06 14:52 +0900 (Thu), Edward Middleton wrote:

> Which would seem to be consistent with Linux's implementation.  Unless
> it mentions *affinity mask* somewhere in Pfister's _In Search of
> Clusters_ .  The point of the *affinity mask* is to force the kernel to
> avoid switching the process even in the above case.

In the common (non-Linux-world) interpretation, when you bind a process
to a particular CPU or CPUs, it *cannot* use other CPUs. When you
give it affinity, it *can* use other CPUs, though it prefers ("has an
affinity for") one or more particular ones.

> I am not clear on why "affinity" means "preference" in the one case and
> not inthe other.

Nor am I.

cjs
-- 
Curt Sampson       <cjs@example.com>        +81 90 7737 2974   
Mobile sites and software consulting: http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links