From owner-freebsd-hackers Wed Jan 24 13:46:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id B8E6237B400 for ; Wed, 24 Jan 2001 13:46:27 -0800 (PST) Received: from onyx (onyx.cs.binghamton.edu [128.226.140.171]) by bingnet2.cc.binghamton.edu (8.11.2/8.11.2) with ESMTP id f0OLkPj05828 for ; Wed, 24 Jan 2001 16:46:25 -0500 (EST) Date: Wed, 24 Jan 2001 16:46:23 -0500 (EST) From: Zhiui Zhang X-Sender: zzhang@onyx To: freebsd-hackers@freebsd.org Subject: buffer headers in FreeBSD & Linux Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am wondering why FreeBSD has fixed number of buffer headers (nbuf) while Linux can grow the number of buffer headers on the fly. In FreeBSD, we have a lofreebuffers count. I think this is a reserve for avoiding deadlock when the buffer headers are low. But Linux does not seem to have such a counter. How do they solve this problems? What's the pros and cons of these two different schemes? Any help is appreciated! -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message