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 1LQqE2-0000y0-Mz for garchives@archives.gentoo.org; Sat, 24 Jan 2009 21:39:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C568E034F; Sat, 24 Jan 2009 21:39:31 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 12185E034F for ; Sat, 24 Jan 2009 21:39:30 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.37,318,1231113600"; d="scan'208";a="65331580" Received: from unknown (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 24 Jan 2009 21:39:29 +0000 Received: from [192.168.1.71] (unknown [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id 142FA133378 for ; Sat, 24 Jan 2009 21:39:25 +0000 (GMT) Message-Id: <33CFF852-BD50-43C1-8F8C-C23489910881@stellar.eclipse.co.uk> From: Stroller To: gentoo-user@lists.gentoo.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 (Apple Message framework v929.2) Subject: Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP Date: Sat, 24 Jan 2009 21:39:23 +0000 References: <200901241044.09521.peter@humphrey.ukfsn.org> <200901241552.28443.peter@humphrey.ukfsn.org> X-Mailer: Apple Mail (2.929.2) X-Archives-Salt: 82500d56-53c3-4cdd-9714-4a921c309171 X-Archives-Hash: e5d6ed854c2b5e5ec1170279074fcfb5 On 24 Jan 2009, at 17:22, Grant Edwards wrote: > I still can't believe that Windows does it's swapping using a > normal filesystem -- and by default it's the same filesystem > used for system and application files. It seems like the > filesystem code would end up being a serious bottleneck. > 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. http://lkml.org/lkml/2005/7/7/326 Stroller.