Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 1998 15:27:48 -0800 (PST)
From:      Jim Shankland <jas@flyingfox.com>
To:        current@FreeBSD.ORG, karl@mcs.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Oh, how I hate it when I find leaks in mbuf clusters :-)
Message-ID:  <199803092327.PAA02345@biggusdiskus.flyingfox.com>

next in thread | raw e-mail | index | archive | help
Hmm.  Notice that even with this horrendous mbuf leak, there is less
than 8 MB of memory allocated to the network.

Given that memory keeps getting cheaper and cheaper, and that finding
and eliminating memory leaks is time-consuming and error-prone,
perhaps we should forget about freeing memory at all, and simply
buy more.  At today's prices, for example, it's probably not
unreasonable for a server machine like Karl's to be equipped with
128 MB of memory dedicated to network buffers.  By the time that
runs out, it's likely to be even cheaper to add another 256 MB.

Disposable diapers and contact lenses have worked out well; why not
disposable memory?  (Discarded DIMMs don't fill up the landfills
as quickly as used diapers, either, and they also smell better.)

Jim Shankland
Flying Fox Computer Systems, Inc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803092327.PAA02345>