From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 14 11:21:16 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5335037B401 for ; Thu, 14 Aug 2003 11:21:16 -0700 (PDT) Received: from smtp5.andrew.cmu.edu (SMTP5.andrew.cmu.edu [128.2.10.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF1B43FA3 for ; Thu, 14 Aug 2003 11:21:15 -0700 (PDT) (envelope-from eno@andrew.cmu.edu) Received: from andrew.cmu.edu (BLISS.PDL.CMU.EDU [128.2.134.47]) (user=eno mech=PLAIN (0 bits))h7EILDuO031715 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 14 Aug 2003 14:21:14 -0400 Message-ID: <3F3BD31A.8080808@andrew.cmu.edu> Date: Thu, 14 Aug 2003 14:21:14 -0400 From: Eno Thereska User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd hackers Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: increasing number of buffers in BSD4.4 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 18:21:16 -0000 Hi, In McKusick's book "The design and Implementation of the 4.4BSD Operating system", in the "Buffer Management subsection of the I/O system overview, there is a a sentence that says "...depending on available memory, a system is configured with from 100 to 1000 buffers.." referring to the number of struct buf* in the integrated VM/IO buffer cache. I have plenty of RAM in my computer, but it seems like there are always 1000 buffers configured (empirical observation, if I try to allocate one more after that the system freezes). How do I increase the nubmer of buffers? More consicely, how do I allocate more memory to the buffer management subsystem? Thanks Eno