Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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)
- Date: Thu, 06 Nov 2008 14:52:18 +0900
- From: Edward Middleton <emiddleton@example.com>
- Subject: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- References: <200811050006.06239.fcartegnie@free.fr> <20081104235613.GB9096@pragmatic.cynic.net> <200811051743.18977.fcartegnie@free.fr> <49125C44.3090901@bebear.net> <87fxm9tfx7.fsf-genuine-vii@john.fremlin.org> <200811050006.06239.fcartegnie@free.fr> <20081104235613.GB9096@pragmatic.cynic.net> <200811051743.18977.fcartegnie@free.fr> <20081106004433.GB8995@pragmatic.cynic.net> <87r65pshbr.fsf@uwakimon.sk.tsukuba.ac.jp> <20081106053957.GF6378@smtp.office.cynic.net>
- User-agent: Thunderbird 2.0.0.17 (X11/20080929)
Curt Sampson wrote: > On 2008-11-06 11:45 +0900 (Thu), Stephen J. Turnbull wrote: > > >> Curt Sampson writes: >> >> > To use it otherwise is a confusing misuse of the term. [Insert rant >> > about Linux folks changing common terminology here.] >> >> Er, what usage do Linux folks use it for? >> > > According to the schedtool manpage: > > AFFINITY MASK > The affinity-argument determines on which CPUs a process is > allowed to run. It consists of a simple bitmask represented in > hexadecimal. CPU0 is denoted by the least-significant bit, > CPU1 by the second least-significant and so on. > > In normal MP usage (e.g., according to Pfister's _In Search of > Clusters_) the affinity is the CPU on which it would be preferred to > give a particular process its next quantum. But if you've got two > CPU-intensive processes running on CPU0, and CPU1 is relatively free, a > scheduler using CPU affinity would move one of the processes from CPU0 > to CPU1, and probably change its affinity as well (though perhaps not, > if it were a NUMA architecture). > 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. Edward
- Follow-Ups:
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Curt Sampson
- References:
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Francois Cartegnie
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Curt Sampson
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Francois Cartegnie
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Edward Middleton
- [tlug] [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Curt Sampson
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Stephen J. Turnbull
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Next by Date: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Previous by thread: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Next by thread: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links