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 11:53:56 +0900
- From: Edward Middleton <emiddleton@example.com>
- Subject: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- References: <87fxm9tfx7.fsf-genuine-vii@john.fremlin.org> <200811050006.06239.fcartegnie@free.fr> <20081104235613.GB9096@pragmatic.cynic.net> <200811051743.18977.fcartegnie@free.fr>
- User-agent: Thunderbird 2.0.0.14 (X11/20080625)
Francois Cartegnie wrote:I'm not clear what all this means. FastCGI from lighttpd does not issue multiple simultaneous requests to an FCGI server, so one generally has hundreds of FCGI servers runnning on a reasonably well loaded machine. These processes certainly are preemptible, and while the individual back-ends are FIFO, neither the group as a whole nor lighttpd is.
I'm also not sure on what CPU affinity is being set; with this many
processes, one would think that the automatic CPU affinity would be
fine.
There's the cpu affinity, which sets wich process runs on which cpu (the dynamic you mention) but he uses the affinity tool function that changes the process scheduler SCHED_FIFO (realtime) for the lighttpd process.
Are you confusing "-a 1" with "-1" according to the manual[1] "-a 1" sets the process affinity to CPU0, and "-1" or "-F" to SCHED_FIFO
Edward
1. http://linux.die.net/man/8/schedtool
- References:
- [tlug] [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- 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
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] Fast HTTP Talk, Httperf and Libevent, Pre-talk Hacking Session
- 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
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links