comparing kernel socket performance
Greg Lindahl
lindahl@cs.virginia.edu
Fri, 4 Sep 1998 14:15:55 -0400
> }Well, the fundamental problem there is that it's hard to expand the #
> }of fd's available to a process. That alone disqualifies Linux for use
> }by most big IRC servers.
> You're saying that echo value > /proc/... or a recompile is "hard"?
The # of fd's available to the entire system can be increased by
echoing values to /proc. That's easy.
On most Unixes, you can make one syscall and up your # of fd's per
process to 1024 or 4096 or more. That's easy and standard.
In Linux, upping the # of fd's available to invididual processes
involves a kernel recompile, and a glibc recompile, and then all
processes get larger. This is not what I would call "easy". Um, do you
also have to recompile all RPMS? I'd have to think about that.
-- g