From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 12 15:35:37 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7B516A41A for ; Fri, 12 Oct 2007 15:35:37 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (cat-btc.gbservices.biz [83.228.119.50]) by mx1.freebsd.org (Postfix) with ESMTP id F0E2113C47E for ; Fri, 12 Oct 2007 15:35:36 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 96AA31FA038; Fri, 12 Oct 2007 17:35:35 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbs.gbdom.com (Postfix) with ESMTP id 7C41D1FA037; Fri, 12 Oct 2007 17:35:35 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 208AB28505; Fri, 12 Oct 2007 17:35:35 +0200 (CEST) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id DAD5728504; Fri, 12 Oct 2007 17:35:34 +0200 (CEST) Date: Fri, 12 Oct 2007 18:35:34 +0300 From: Vladimir Terziev To: Kris Kennaway Message-Id: <20071012183534.bacd989b.vlady@gbservices.biz> In-Reply-To: <470F9175.3020002@FreeBSD.org> References: <20071012170341.72b8b888.vlady@gbservices.biz> <470F9175.3020002@FreeBSD.org> Organization: GB Services Ltd. X-Mailer: Sylpheed 2.4.7 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Cc: freebsd-hackers@freebsd.org Subject: Re: Video memory as swap under FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 15:35:37 -0000 You're right, the swap, typically configured, is much more than the amount of the video memory, but in fact the swap is just a reserv, which ensures continuation of the normal operations on the machine, at times of peak loads. In our days the amount of RAM placed in the servers is so much, that the swap, in fact, is rarely used at all and a very small amount of it (several MB) is used. In that cases having a very fast swap space in the Video RAM, in addition to the disk swap, would be a good solution. Vladimir On Fri, 12 Oct 2007 17:23:33 +0200 Kris Kennaway wrote: > Vladimir Terziev wrote: > > Hi Hackers, > > > > i have found the following very interesting link: > > > > http://gentoo-wiki.com/TIP_Use_memory_on_video_card_as_swap > > > > It's a howto for Video memory utilization as a swap. > > > > Could someone point me whether the same is possible under FreeBSD ? > > > > Thanks in advance! > > It is not. Apart from the geek factor I doubt this would be useful as > swap anyway, typically you need much more memory than a video card > contains. Maybe as a small ram disk. > > Kris