lkml.org 
[lkml]   [2003]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Invalidate_inodes can be very slow
Date
>  > 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?
I used cycles measuring patch. It showed that > 50% CPU during the test
was spent in invalidate_inodes().

Kirill

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.043 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site