mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nikita Danilov <Nikita@Namesys.COM>
To: kk@sw.ru
Cc: William Lee Irwin III <wli@holomorphy.com>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Invalidate_inodes can be very slow
Date: Mon, 13 Oct 2003 16:29:04 +0400	[thread overview]
Message-ID: <16266.39568.286607.206395@laputa.namesys.com> (raw)
In-Reply-To: <200310131621.33079.kk@sw.ru>

Kirill Korotaev writes:
 > > At some point in the past, I wrote:
 > > >> Sorry if I was unclear, I had in mind SMP performance testing of mount
 > > >> and unmount -heavy workloads, like uni setups with many automounted
 > > >> fs's, not stability testing per se.
 > >
 > > On Mon, Oct 13, 2003 at 04:02:20PM +0400, Kirill Korotaev wrote:
 > > > Oh, sorry for misunderstanding.
 > > > In our internal testcase on 8-CPU 8Gb RAM machine with 4gb split kernel
 > > > w/o this patch mount/umount test longs in many-many (>10) times longer.
 > > > Moreover, during the test machine is very slow (due to lock_kernel)
 > > > and typing simple commands takes up to 30 seconds or so.
 > > > I think such a long hangs are due to number of umounts executed
 > > > subsequently. But ofcourse it's not numbers, just for you to know where
 > > > the patch comes from :)
 > >
 > > Is this testcase available and/or trivial? Actually, even if it's trivial
 > > it might just save us the pain of writing the scripts ourselves.
 > no, testcase is not available :( And it uses functionality
 > not available in mainstream kernel. But the problem can be hit with
 > very simple script instead:
 > 
 > 1. mount N filesystems.
 > 2. work on them, so that inode cache grows to its maximum
 > possible size (it was 1,000,000 of inodes in our case).
 > 3. umount these filesystems.
 > 
 > During operation #3 node is very slow and it is quite noticable
 > on ssh console when typing commands.

This can be due to a number of reasons (worst case behavior of
shrink_dcache_parent() for example). What /proc/profile shows?

 > 
 > Kirill

Nikita.

 > 

  reply	other threads:[~2003-10-13 12:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-13  9:18 Kirill Korotaev
2003-10-13  9:53 ` William Lee Irwin III
2003-10-13 10:46   ` Kirill Korotaev
2003-10-13 11:06     ` William Lee Irwin III
2003-10-13 11:08   ` Andrew Morton
2003-10-13 11:19     ` William Lee Irwin III
2003-10-13 11:45       ` Kirill Korotaev
2003-10-13 11:54         ` William Lee Irwin III
2003-10-13 12:02           ` Kirill Korotaev
2003-10-13 12:11             ` William Lee Irwin III
2003-10-13 12:21               ` Kirill Korotaev
2003-10-13 12:29                 ` Nikita Danilov [this message]
2003-10-13 13:08                   ` Kirill Korotaev

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=16266.39568.286607.206395@laputa.namesys.com \
    --to=nikita@namesys.com \
    --cc=akpm@osdl.org \
    --cc=kk@sw.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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®