public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Howto share Linux swap partition with Windows XP
Date: Sat, 24 Jan 2009 23:04:21 +0000 (UTC)	[thread overview]
Message-ID: <glg6pl$jfm$1@ger.gmane.org> (raw)
In-Reply-To: 33CFF852-BD50-43C1-8F8C-C23489910881@stellar.eclipse.co.uk

On 2009-01-24, Stroller <stroller@stellar.eclipse.co.uk> 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




  reply	other threads:[~2009-01-24 23:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23  5:16 [gentoo-user] Howto share Linux swap partition with Windows XP Grant Edwards
2009-01-23 12:44 ` Stroller
2009-01-23 14:58   ` [gentoo-user] " Grant Edwards
2009-01-23 16:08     ` Stroller
2009-01-23 17:02       ` Grant Edwards
2009-01-23 17:09       ` Paul Hartman
2009-01-23 20:53         ` Stroller
2009-01-23 21:10           ` Paul Hartman
2009-01-24 14:20             ` Stroller
2009-01-23 21:11           ` Grant Edwards
2009-01-24 10:44     ` Peter Humphrey
2009-01-24 15:35       ` Grant Edwards
2009-01-24 15:52         ` Peter Humphrey
2009-01-24 17:22           ` Grant Edwards
2009-01-24 19:02             ` ABCD
2009-01-24 20:42               ` Grant Edwards
2009-01-24 21:39             ` Stroller
2009-01-24 23:04               ` Grant Edwards [this message]
2009-01-25  2:48                 ` ABCD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='glg6pl$jfm$1@ger.gmane.org' \
    --to=grante@visi.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox