From owner-freebsd-current@FreeBSD.ORG Fri Nov 5 19:42:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2F5616A4CE for ; Fri, 5 Nov 2004 19:42:15 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7529D43D46 for ; Fri, 5 Nov 2004 19:42:15 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 34B7F7A424; Fri, 5 Nov 2004 11:42:15 -0800 (PST) Message-ID: <418BD796.3040706@elischer.org> Date: Fri, 05 Nov 2004 11:42:14 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Alexander Leidinger References: <40541.1099561211@critter.freebsd.dk> <1099650992.418b57b01c33b@netchild.homeip.net> In-Reply-To: <1099650992.418b57b01c33b@netchild.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Poul-Henning Kamp cc: current@freebsd.org Subject: Re: cvs commit: src/sys/sys buf.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 19:42:15 -0000 Alexander Leidinger wrote: >Zitat von Poul-Henning Kamp : > > > >>We've reached a major milestone in the buf-junta work: struct buf >>is no longer an I/O request. >> >> > >Do you have an outline where this heads to and why? > when systems were smaller the number of cached bufs was small, and bufs represented 'buffers' likely to used soon fo rIO and IO requests were simple, it made sence to combine the IO request and the storage descriptor (buf). Since then, storage is done via the vm system, IO requests have gotten bigger, and the number of IO requests needed at any time has remained small. it makes less sense to have an IO request with every buf storage descriptor. It also opens the way for: changing the io descriptor to suit speical cases without having to worry about the buffer cache stuff. addign more stuff to teh IO request without worrying about bloating teh buffer cache stuff. > >Bye, >Alexander. > > >