public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: renton@renton.name, linux-kernel@vger.kernel.org
Subject: Re: devpts mounts too slowly
Date: Tue, 9 Jun 2009 16:19:45 -0700	[thread overview]
Message-ID: <20090609161945.811cc01f.akpm@linux-foundation.org> (raw)
In-Reply-To: <4A26EB18.6060907@zytor.com>

On Wed, 03 Jun 2009 14:28:56 -0700
"H. Peter Anvin" <hpa@zytor.com> wrote:

> Alexey Vlasov wrote:
> > Hi.
> > 
> > In comparison with bind/proc mounting it takes a lot more time mounting
> > devpts. Is it possible to somehow accelerate the process? Now there are
> > about 5k devpts mounting, it already took 20 minutes, further will take
> > even more time.
> > 
> > # time mount -n -i -t devpts none /home/staff/.server-1/dev/pts
> > real    0m0.295s
> > user    0m0.000s
> > sys     0m0.288s
> > 
> 
> A profile would be handy here.  There is no sensible reason for this to
> that 0.3 seconds.  This might be RCU-epoch related?
> 

It seems OK here.

akpm2:/home/akpm/xx# time mount -n -i -t devpts none /tmp/pts
mount -n -i -t devpts none /tmp/pts  0.00s user 0.00s system 0% cpu 0.002 total


  reply	other threads:[~2009-06-09 23:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03 14:28 devpts mounts too slowly Alexey Vlasov
2009-06-03 21:28 ` H. Peter Anvin
2009-06-09 23:19   ` Andrew Morton [this message]
2009-06-09 23:30     ` Ray Lee
2009-06-09 23:53       ` Andrew Morton
2009-06-10  0:07         ` H. Peter Anvin
2009-06-10 20:51         ` H. Peter Anvin
2009-06-24 20:01           ` Al Viro
2009-06-24 21:58             ` Andrew Morton
2009-06-24 23:02               ` H. Peter Anvin
2009-06-10  0:02       ` H. Peter Anvin
2009-07-06 19:52         ` Alexey Vlasov
2009-07-06 20:03           ` Alexey Vlasov
2009-07-06 21:21           ` H. Peter Anvin
2009-07-07  8:38             ` Alexey Vlasov
2009-07-07 15:37               ` H. Peter Anvin

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=20090609161945.811cc01f.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=renton@renton.name \
    /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