From: Eric Sandeen <sandeen@redhat.com>
To: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Slow filesystem.
Date: Fri, 13 May 2011 09:27:17 -0500 [thread overview]
Message-ID: <4DCD3FC5.3000006@redhat.com> (raw)
In-Reply-To: <20110513125958.GA22871@bitwizard.nl>
On 5/13/11 7:59 AM, Rogier Wolff wrote:
>
> Hi
>
> My work (as in what brings in money to buy things from) file-system is
> now "slow as hell". Last time this happened you guys told me that this
> was because I had millions of hardlinks and way too many files.
>
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/md0 815M 4.1M 811M 1% /recover2
>
> I have only 4.1M files. Only 1% inodes "in use".
>
>
> The filesystem was filling up lately, but i've managed to create some
> free space.
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/md0 6.3T 5.3T 720G 89% /recover2
>
> The question is: How do I get the filesystem to perform
> normally again?
>
>
> All mkdir calls are taking around 62 milliseconds:
>
> 14:57:02 mkdir("...ME_25c8e/", 0777) = 0 <0.062312>
> 14:57:02 mkdir("...ME_112ff/", 0777) = 0 <0.062658>
> 14:57:02 mkdir("...ME_183cf/", 0777) = 0 <0.062344>
I don't know what the workload is, and "slow" isn't very well characterized here, but from this can I assume that mkdir is the bottleneck?
Did you ever try that patch I sent you for this issue in March?
Using oprofile to see where the fs is spending its time might also be useful.
-Eric
> while on my workstation where i'm not supposed to be working
> with client-data I get:
>
> 14:58:18 mkdir("...ME_2a6c6/", 0777) = 0 <0.000033>
> 14:58:18 mkdir("...ME_2b3d9/", 0777) = 0 <0.000031>
> 14:58:18 mkdir("...ME_2c63f/", 0777) = 0 <0.000034>
>
> So, things on my big datastorage drive are about 2000 times slower
> than on my workstation.
>
> Roger.
>
next prev parent reply other threads:[~2011-05-13 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 12:59 Slow filesystem Rogier Wolff
2011-05-13 14:27 ` Eric Sandeen [this message]
2011-05-14 5:21 ` Andreas Dilger
2011-05-14 5:45 ` Rogier Wolff
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=4DCD3FC5.3000006@redhat.com \
--to=sandeen@redhat.com \
--cc=R.E.Wolff@BitWizard.nl \
--cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.