From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 08:30:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4203A16A421 for ; Thu, 7 Feb 2008 08:30:32 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E51E113C44B for ; Thu, 7 Feb 2008 08:30:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m178T60L043596; Thu, 7 Feb 2008 09:29:06 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m178T09C043593; Thu, 7 Feb 2008 09:29:03 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 7 Feb 2008 09:28:57 +0100 (CET) From: Wojciech Puchar To: Norberto Meijome In-Reply-To: <20080207151415.06393db1@meijome.net> Message-ID: <20080207092634.J22656@wojtek.tensor.gdynia.pl> References: <50460.33951.qm@web34512.mail.mud.yahoo.com> <20080206205042.H4868@wojtek.tensor.gdynia.pl> <20080207151415.06393db1@meijome.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, "millueradfa@yahoo.com" Subject: Re: Some ideas for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 08:30:32 -0000 > > Even if you HAD to use files, i can't imagine that writing a script that groks the output of the proper sysctl and creates a new swap file on demand would be that hard. for those usable to write simple script - there is /usr/ports/sysutils/swapd still - in XXI century disk sizes, even some overcommiting swap space doesn't make a problem. if program needs 10 or more times swap than memory, the program should be changed to use less memory hungry algorithm, or be tunable (like sort with -S) swap is NOT memory replacement