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 1LQrYZ-0003oy-3f for garchives@archives.gentoo.org; Sat, 24 Jan 2009 23:04:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67873E0582; Sat, 24 Jan 2009 23:04:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 36D30E0582 for ; Sat, 24 Jan 2009 23:04:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8685B644D2 for ; Sat, 24 Jan 2009 23:04:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.32 X-Spam-Level: X-Spam-Status: No, score=-3.32 required=5.5 tests=[AWL=0.123, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, 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 qKpZvqI7RpKe for ; Sat, 24 Jan 2009 23:04:40 +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 6DD5E646DE for ; Sat, 24 Jan 2009 23:04:38 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LQrYG-0005P1-5u for gentoo-user@gentoo.org; Sat, 24 Jan 2009 23:04:32 +0000 Received: from 67-220-10-117.usiwireless.com ([67.220.10.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Jan 2009 23:04:32 +0000 Received: from grante by 67-220-10-117.usiwireless.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Jan 2009 23:04:32 +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: Sat, 24 Jan 2009 23:04:21 +0000 (UTC) Message-ID: References: <200901241044.09521.peter@humphrey.ukfsn.org> <200901241552.28443.peter@humphrey.ukfsn.org> <33CFF852-BD50-43C1-8F8C-C23489910881@stellar.eclipse.co.uk> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 67-220-10-117.usiwireless.com User-Agent: slrn/0.9.8.1pl1 (Linux) Sender: news 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 X-Archives-Salt: cdd8a2cb-6a8a-40ff-999b-23fd238605e7 X-Archives-Hash: e9c0f2c185ada3d1deace74a9c2eb677 On 2009-01-24, Stroller wrote: > > 3. Does creating the swapfile on a journaled filesystem (e.g. > > ext3 or reiser) incur a significant performance hit? > > None at all. The kernel generates a map of swap offset -> disk > blocks at swapon time and from then on uses that map to perform > swap I/O directly against the underlying disk queue, bypassing all > caching, metadata and filesystem code. I supposed that the NT kernel does something similar. One implication of that is that the filesystem is then not allowed to move blocks around if they are part of an "active" swap file? Not that I'm aware of filesystems that shuffle blocks around while they're part of an open file, but one might imagine something like that happening as part of some sort of balancing algorithm. -- Grant