Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Peter Humphrey
On Friday 23 January 2009 14:58:32 Grant Edwards wrote: 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. In the days when I ran Windows I used to have at least one

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Stroller
On 23 Jan 2009, at 21:10, Paul Hartman wrote: ... From memory it's just to delete it, which is perfect. It would take too long to zero it out - I don't think that's the purpose. ... After further googling, it appears it *does* fill the pagefile.sys with zeros, and adds a significant delay

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Friday 23 January 2009 14:58:32 Grant Edwards wrote: 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.

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Peter Humphrey
On Saturday 24 January 2009 15:35:32 Grant Edwards wrote: I didn't have a spare primary parition to put the swap file on. I had a bunch of spare extended partitions but all the docs say you can't put the XP swap file on en extended paritition... Ah, I didn't know that. In Win98, I think it

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Saturday 24 January 2009 15:35:32 Grant Edwards wrote: I didn't have a spare primary parition to put the swap file on. I had a bunch of spare extended partitions but all the docs say you can't put the XP swap file on en

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, ABCD en.a...@gmail.com wrote: There actually is a good reason (oddly enough) for Windows using a file on the filesystem for its swap space. Because it is a simple file on disk, if Windows realizes that the swap file is almost full, it can expand your swap without having to do

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Stroller
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.

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Stroller strol...@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

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grant Edwards wrote: 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

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Grant Edwards
On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk 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

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Stroller
On 23 Jan 2009, at 14:58, Grant Edwards wrote: On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk 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:

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Grant Edwards
On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk wrote: On 23 Jan 2009, at 14:58, Grant Edwards wrote: On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk 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

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Paul Hartman
On Fri, Jan 23, 2009 at 10:08 AM, Stroller strol...@stellar.eclipse.co.uk wrote: On 23 Jan 2009, at 14:58, Grant Edwards wrote: On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk wrote: On 23 Jan 2009, at 05:16, Grant Edwards wrote: ... I found a very slick solution that lets Windows

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Stroller
On 23 Jan 2009, at 17:09, Paul Hartman wrote: ... http://support.microsoft.com/kb/314834 There is a registry setting in Windows to clear the pagefile.sys at shutdown. What does clear mean? To overwrite with 0? To delete? I don't know. From memory it's just to delete it, which is perfect. It

Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Paul Hartman
On Fri, Jan 23, 2009 at 2:53 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 23 Jan 2009, at 17:09, Paul Hartman wrote: ... http://support.microsoft.com/kb/314834 There is a registry setting in Windows to clear the pagefile.sys at shutdown. What does clear mean? To overwrite with 0?

[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-23 Thread Grant Edwards
On 2009-01-23, Stroller strol...@stellar.eclipse.co.uk wrote: On 23 Jan 2009, at 17:09, Paul Hartman wrote: ... http://support.microsoft.com/kb/314834 There is a registry setting in Windows to clear the pagefile.sys at shutdown. What does clear mean? To overwrite with 0? To delete? I don't