From owner-cvs-all Sun Oct 10 17:52:55 1999 Delivered-To: cvs-all@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id B508D14ECA; Sun, 10 Oct 1999 17:52:48 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA23303; Mon, 11 Oct 1999 10:20:02 +0930 (CST) Date: Mon, 11 Oct 1999 10:20:02 +0930 From: Greg Lehey To: Matthew Dillon Cc: Poul-Henning Kamp , Peter Wemm , "Daniel C. Sobral" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_swap.c Message-ID: <19991011102002.H78191@freebie.lemis.com> References: <15397.939571805@critter.freebsd.dk> <199910101624.JAA16685@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199910101624.JAA16685@apollo.backplane.com> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sunday, 10 October 1999 at 9:24:55 -0700, Matthew Dillon wrote: >>> useable as anything else as this strategy routine doesn't actually work for >>> normal device access. libkvm doesn't use it, at least not for a very long >>> time. IMHO, the strategy routine should be moved elsewhere for the VM swap >>> code to use as a subroutine and the whole "device" should be deep-six'ed. >> >> But isn't this really just a "striping" function which could be done >> equally well by ccd or vinum ? > > It's similar, but neither ccd nor vinum can guarentee non-blocking > operation in low-memory situations. Vinum will use private memory if it can't get a malloc. > And, anyhow, the swapper is my baby. That in itself isn't a reason. But I think that it's possible for the swapper to know more about the usage of the data, and thus achieve a better load balance across the disks than a virtual device layer with a fixed striping mechanism. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message