From owner-freebsd-current Mon Mar 9 15:28:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28634 for freebsd-current-outgoing; Mon, 9 Mar 1998 15:28:50 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from biggusdiskus.flyingfox.com (biggusdiskus.flyingfox.com [205.162.1.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28135; Mon, 9 Mar 1998 15:27:03 -0800 (PST) (envelope-from jas@flyingfox.com) Received: (from jas@localhost) by biggusdiskus.flyingfox.com (8.8.5/8.8.5) id PAA02345; Mon, 9 Mar 1998 15:27:48 -0800 (PST) Date: Mon, 9 Mar 1998 15:27:48 -0800 (PST) From: Jim Shankland Message-Id: <199803092327.PAA02345@biggusdiskus.flyingfox.com> To: current@FreeBSD.ORG, karl@mcs.net Subject: Re: Oh, how I hate it when I find leaks in mbuf clusters :-) Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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