From owner-freebsd-hackers Tue Mar 10 01:25:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA18941 for freebsd-hackers-outgoing; Tue, 10 Mar 1998 01:25:36 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA18905; Tue, 10 Mar 1998 01:25:29 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id CAA12518; Tue, 10 Mar 1998 02:25:29 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp03.primenet.com, id smtpd012506; Tue Mar 10 02:25:26 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id CAA13727; Tue, 10 Mar 1998 02:25:21 -0700 (MST) From: Terry Lambert Message-Id: <199803100925.CAA13727@usr09.primenet.com> Subject: Re: Oh, how I hate it when I find leaks in mbuf clusters :-) To: jas@flyingfox.com (Jim Shankland) Date: Tue, 10 Mar 1998 09:25:21 +0000 (GMT) Cc: current@FreeBSD.ORG, karl@mcs.net, hackers@FreeBSD.ORG In-Reply-To: <199803092327.PAA02345@biggusdiskus.flyingfox.com> from "Jim Shankland" at Mar 9, 98 03:27:48 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@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. Sun had a memory leak on the platforms for the "a day on the Internet" or something similarly named, last year. Between all of the machines and all of the streaming video from all over the world, they were leaking 20,000 Commodore 64's an hour. 8^). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message