Subject: Re: Web load causes reboot
To: Jason Thorpe <email@example.com>
From: Michael Graff <firstname.lastname@example.org>
Date: 08/04/1999 10:03:59
Jason Thorpe <email@example.com> writes:
> On 03 Aug 1999 17:17:17 -0700
> Michael Graff <firstname.lastname@example.org> wrote:
> > It's unfortunate that network sockets seem to reserve so much space.
> > How do other 256M machines running FreeBSD (for example) cope with
> > 10,000 or more TCP streams open at once? If we did that, we'd end up
> > allocating about 312M just for socket buffers, I think...
> Socket buffers aren't "allocated". When you "allocate" a socket buffer,
> you're placing a limit on it... the actual space is lazy allocated... the
> "allocated" space is actually mbufs allocated in a network driver and
> handed up the stack.
Ok, let me rephrase. "a few hundred sockets sending/receiving data as
fast as possible" will crash and/or hang any out of the box NetBSD