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)



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


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links