From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 13:52:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F194316A4CE for ; Sun, 6 Feb 2005 13:52:38 +0000 (GMT) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9527043D62 for ; Sun, 6 Feb 2005 13:52:37 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id D7A752F4117; Sun, 6 Feb 2005 14:52:35 +0100 (CET) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17838-03; Sun, 6 Feb 2005 14:52:33 +0100 (CET) Received: from cakebox.homeunix.net (unknown [217.188.228.60]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id D89AB2F40FE; Sun, 6 Feb 2005 14:52:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 9E06C3028AE; Sun, 6 Feb 2005 14:52:30 +0100 (CET) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38654-10; Sun, 6 Feb 2005 14:51:41 +0100 (CET) Received: from [10.1.1.4] (scorpio.tis [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id 6BAC53028AB; Sun, 6 Feb 2005 14:51:32 +0100 (CET) Message-ID: <420620DE.90007@nagilum.org> Date: Sun, 06 Feb 2005 14:51:26 +0100 From: Nagilum User-Agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Hines References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cakebox.homeunix.net X-Virus-Scanned: by amavisd-new at papendorf-se.de cc: freebsd-questions@freebsd.org Subject: Re: increasing swap activity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 13:52:39 -0000 Michael Hines wrote: > > I've written a remote-memory system for a thesis of mine. As a result, > I'm able to setup a diskless client that swaps to remote memory > instead of a remote disk. The specifics, reasons, and design of the > system are a long story.... > > However - this system allows for much faster page-fault latencies (on > the order of 10-20 times faster than using a disk for swap space). The > problem is: I cannot get the swapper to page-out or page-in data any > faster. > > My end question is: how would one DRASTICALLY increase the rate at > which the system does its paging in freebsd? > > Everthing I find on the net says "don't mess with freebsd's VM system > or you'll die and go to hell." > > However, I do in fact need to drastically increase the paging bandwidth. > > Anybody know how? Preferably during runtime? > > Thanks a lot. > > /*********************************/ > Michael R. Hines > Grad Student, Florida State > Dept. Computer Science > http://www.cs.fsu.edu/~mhines/ > Jusqu'a ce que le futur vienne... > /*********************************/ I think the first thing to do is determine the bottleneck you're fighting. Maybe using several machines as swap-slaves would help? (the swapspace will be used interleaved) Also it would help to explain a bit more what you have done so far. Have you written your own swapfs? Kind regards, Alex.