Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760136AbZFIXUH (ORCPT ); Tue, 9 Jun 2009 19:20:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754438AbZFIXT5 (ORCPT ); Tue, 9 Jun 2009 19:19:57 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:38686 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754136AbZFIXT4 (ORCPT ); Tue, 9 Jun 2009 19:19:56 -0400 Date: Tue, 9 Jun 2009 16:19:45 -0700 From: Andrew Morton To: "H. Peter Anvin" Cc: renton@renton.name, linux-kernel@vger.kernel.org Subject: Re: devpts mounts too slowly Message-Id: <20090609161945.811cc01f.akpm@linux-foundation.org> In-Reply-To: <4A26EB18.6060907@zytor.com> References: <20090603142801.GC21646@beaver.vrungel.ru> <4A26EB18.6060907@zytor.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 31 On Wed, 03 Jun 2009 14:28:56 -0700 "H. Peter Anvin" 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 -- 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/