From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LQNUt-00083S-PO for garchives@archives.gentoo.org; Fri, 23 Jan 2009 14:59:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F5D0E092D; Fri, 23 Jan 2009 14:59:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1A874E092D for ; Fri, 23 Jan 2009 14:59:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B205D6436E for ; Fri, 23 Jan 2009 14:59:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.268 X-Spam-Level: X-Spam-Status: No, score=-1.268 required=5.5 tests=[AWL=0.108, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_NUMERIC_HELO=2.067, SUBJECT_FUZZY_TION=0.156] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B9jOvebL8cU9 for ; Fri, 23 Jan 2009 14:58:55 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 506736437A for ; Fri, 23 Jan 2009 14:58:53 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LQNUc-0006J8-Q5 for gentoo-user@gentoo.org; Fri, 23 Jan 2009 14:58:46 +0000 Received: from 64.251.14.41 ([64.251.14.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2009 14:58:46 +0000 Received: from grante by 64.251.14.41 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2009 14:58:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Howto share Linux swap partition with Windows XP Date: Fri, 23 Jan 2009 14:58:32 +0000 (UTC) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 64.251.14.41 User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Archives-Salt: 269b79fe-6566-4700-95bf-a7c84dd787ae X-Archives-Hash: 2600cd6acddeb5a181f258e2d5d6502d On 2009-01-23, Stroller wrote: > > On 23 Jan 2009, at 05:16, Grant Edwards wrote: >> ... I found a very slick solution that lets Windows XP use >> a Linux swap partition for swap/paging/vm/whatever-MS-calls-it: >> >> http://db.bme.hu/~surprof/SwapFs-i/ > > That looks a really cool & useful idea. > > However, I have a reservation. Since you NEED to use it - > perhaps for space considerations? Yup. Mainly because I use ntfsclone to keep a bunch of backup copies of the NTFS partition, and having a 2GB swap file in every backup copy starts to eat up a lot of disk space. > - the go for it, by all means. But if this driver is slower at > reads or writes than Windows' own NTFS driver then it may > actually slow the computer down. Could be. My understanding is that the system is still using the Windows NTFS driver. I believe that swapfs is a block-device filter driver that sits between the NTFS driver and the bottom layer block device driver (the IDE driver or the SATA driver or the SCSI driver). > In the case of a driver written by an individual, who is > likely not as familiar with Windows' APIs, or who may not be > able to use the private APIs used by Windows' own filesystem > drivers, I find it quite possible the performance may be > questioned. Well, there are several individuals who've worked on it. That said, I can't swear that there aren't performance implications. There probably are, since it adds a layer between the SATA driver (in my case) and the NTFS driver. But, I haven't noticed any visible slow-down, and the machine is more than fast enough for my purposes. Besides, if you're running MS Windows, you've already lost the war when it comes to swapping performance: anybody who cares about swap performance wouldn't be using a normal file on a normal filesystem for it... Someday when I'm bored, maybe I'll google for a file I/O benchmark for windows and run it with and without the swapfs layer. -- Grant Edwards grante Yow! INSIDE, I have the at same personality disorder visi.com as LUCY RICARDO!!