Messages in this thread | | | Date | Mon, 10 Apr 2006 11:44:18 +0200 | From | "Antonio Vargas" <> | Subject | Re: Slow swapon for big (12GB) swap |
| |
On 4/10/06, Andrew Morton <akpm@osdl.org> wrote: > Grzegorz Kulewski <kangur@polcom.net> wrote: > > > > I am using big swap here (as a backing for potentially huge tmpfs). And I > > wonder why swapon on such big (like 12GB) swap takes about 7 minutes > > (continuous disk IO). > > It's a bit quicker here: > > vmm:/usr/src/25# mkswap /dev/hda6 > Setting up swapspace version 1, size = 54031826 kB > vmm:/usr/src/25# time swapon /dev/hda6 > swapon /dev/hda6 0.00s user 0.04s system 74% cpu 0.054 total > > > > Is this expected? > > Nope. >
I'm running swap on a 8G LVM logical volume and /tmp on tmpfs and it works great (used for compilation & DVD-burning stagning area from other hosts on the network), with no delays on swapon nor mount.
-- Greetz, Antonio Vargas aka winden of network
http://wind.codepixel.com/ windNOenSPAMntw@gmail.com thesameasabove@amigascne.org
Every day, every year you have to work you have to study you have to scene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |