mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Antonio Vargas" <windenntw@gmail.com>
To: "Andrew Morton" <akpm@osdl.org>
Cc: "Grzegorz Kulewski" <kangur@polcom.net>, linux-kernel@vger.kernel.org
Subject: Re: Slow swapon for big (12GB) swap
Date: Mon, 10 Apr 2006 11:44:18 +0200	[thread overview]
Message-ID: <69304d110604100244l691e0100o21007e4b852b7c42@mail.gmail.com> (raw)
In-Reply-To: <20060410004030.5e48be79.akpm@osdl.org>

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.

  reply	other threads:[~2006-04-10  9:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-09 11:45 Grzegorz Kulewski
2006-04-10  7:34 ` Helge Hafting
2006-04-10 10:17   ` Grzegorz Kulewski
2006-04-11 11:30     ` Jan Engelhardt
2006-04-11 11:46       ` linux-os (Dick Johnson)
2006-04-10  7:40 ` Andrew Morton
2006-04-10  9:44   ` Antonio Vargas [this message]
2006-04-10 10:25   ` Grzegorz Kulewski
2006-04-10  9:54     ` Andrew Morton
2006-04-10 11:45       ` Grzegorz Kulewski
2006-04-10 10:27     ` Con Kolivas

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=69304d110604100244l691e0100o21007e4b852b7c42@mail.gmail.com \
    --to=windenntw@gmail.com \
    --cc=akpm@osdl.org \
    --cc=kangur@polcom.net \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®