Re: [Lit.] Buffer overruns
From: Thomas Pornin (pornin_at_nerim.net)
Date: 02/11/05
- Next message: Patrick Scheible: "Re: Thou shalt have no other gods before the ANSI C standard"
- Previous message: Beth: "Re: Thou shalt have no other gods before the ANSI C standard"
- In reply to: blmblm_at_myrealbox.com: "Re: [Lit.] Buffer overruns"
- Next in thread: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- Reply: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- Reply: D. J. Bernstein: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 11 Feb 2005 17:36:07 +0000 (UTC)
According to <blmblm@myrealbox.com>:
> (I have to say that I find this rather shocking behavior on the part
> of the OS. But perhaps I lack an appreciation for how in the real
> world sometimes performance matters more than "correctness"? My idea
> is that it doesn't matter how fast something runs if it doesn't give
> the right answers, but that may be naive.)
At some time a few years ago, ftp.cdrom.com was the biggest FTP site
online. It could handle about 700 simultaneously connected users; there
was not enough RAM in the machine to get more. By activating overcommit,
the number raised to 3000.
This is of course a very specific area, where a random process crash
is no big deal: if the memory was too overcommited, some process gets
a segfault and the client is disconnected, but no incorrect data is
sent on the wire.
Nevertheless, I find this a good illustration of what overcommit can be
good for. Note that overcommit is really useful when you have a big swap
area (so that the critical point where one process has to get killed can
be reached only after considerable disk thrashing).
--Thomas Pornin
- Next message: Patrick Scheible: "Re: Thou shalt have no other gods before the ANSI C standard"
- Previous message: Beth: "Re: Thou shalt have no other gods before the ANSI C standard"
- In reply to: blmblm_at_myrealbox.com: "Re: [Lit.] Buffer overruns"
- Next in thread: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- Reply: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- Reply: D. J. Bernstein: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|