* mkdir performance.
@ 2011-03-18 8:57 Rogier Wolff
2011-03-18 16:49 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: Rogier Wolff @ 2011-03-18 8:57 UTC (permalink / raw)
To: linux-ext4
Hi Guys,
I'm seeing more and more mkdir performance problems.
On the big partition where I most often NEED the performance an
strace -tttT mkdir asdlkfj results in:
1300437461.968657 mkdir("asdklfj", 0777) = 0 <0.065133>
On my homedir (older machine) the same mkdir is a lot faster:
1300437428.294018 mkdir("asdklfj", 0777) = 0 <0.003813>
Only 3 milliseconds. Ten times faster! That would be great!
On my local workstation I get:
1300437803.200227 mkdir("askldjf", 0777) = 0 <0.000092>
92 microseconds. even 30 times faster than that!
That 65 milliseconds. For just one it's not that bad. Not even
noticable. In my current (data-recovery) project I have (/ my client
has) about 30000 directories. This means that to do the recovery I
wait an additional 32 minutes just for all the mkdirs.
But I'm not waiting just once for "all the mkdirs". During the course
of a datarecovery I reconstruct the tree many times over, making
backups of the current state over and over again. In this project I've
been waiting that half hour over ten times, so it's cost me over 5
hours in productivity.
IIRC, a fix was available, right?
To "fix" this, all I need to do is to switch to the most recent
kernel, right? Or was the fix not yet integrated with Linus?
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mkdir performance.
2011-03-18 8:57 mkdir performance Rogier Wolff
@ 2011-03-18 16:49 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2011-03-18 16:49 UTC (permalink / raw)
To: Rogier Wolff; +Cc: linux-ext4
On 3/18/11 3:57 AM, Rogier Wolff wrote:
>
> Hi Guys,
>
> I'm seeing more and more mkdir performance problems.
>
> On the big partition where I most often NEED the performance an
> strace -tttT mkdir asdlkfj results in:
>
> 1300437461.968657 mkdir("asdklfj", 0777) = 0 <0.065133>
>
> On my homedir (older machine) the same mkdir is a lot faster:
>
> 1300437428.294018 mkdir("asdklfj", 0777) = 0 <0.003813>
>
> Only 3 milliseconds. Ten times faster! That would be great!
Did you have a chance to play with that patch I flung onto
the list? :)
-Eric
> On my local workstation I get:
>
> 1300437803.200227 mkdir("askldjf", 0777) = 0 <0.000092>
>
> 92 microseconds. even 30 times faster than that!
>
> That 65 milliseconds. For just one it's not that bad. Not even
> noticable. In my current (data-recovery) project I have (/ my client
> has) about 30000 directories. This means that to do the recovery I
> wait an additional 32 minutes just for all the mkdirs.
>
> But I'm not waiting just once for "all the mkdirs". During the course
> of a datarecovery I reconstruct the tree many times over, making
> backups of the current state over and over again. In this project I've
> been waiting that half hour over ten times, so it's cost me over 5
> hours in productivity.
>
> IIRC, a fix was available, right?
>
> To "fix" this, all I need to do is to switch to the most recent
> kernel, right? Or was the fix not yet integrated with Linus?
>
> Roger.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-18 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 8:57 mkdir performance Rogier Wolff
2011-03-18 16:49 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).