Re: first mkdir takes a long time (on ext3)

2011-05-23 Thread Hartmut Niemann
Hello Karl, hello everybody, thank you Karl for this script. Am So Mai 22 2011 schrieb Karl Vogel: On 19/05/11 17:01, Hartmut Niemann wrote: H It often takes very long time (20s) to mkdir on an ext3 drive Try this version of mkdir earlier in your PATH until you find out what the

Re: first mkdir takes a long time (on ext3)

2011-05-22 Thread pengvado
On Thu, 19 May 2011, Hartmut Niemann wrote: I observe that it often takes very long time (20s) to mkdir on an ext3 drive, especially the first directory. What could the reason be? I used to have that problem. I never figured out the cause, but it disappeared when I upgraded from kernel

Re: first mkdir takes a long time (on ext3)

2011-05-21 Thread Karl Vogel
On 19/05/11 17:01, Hartmut Niemann wrote: H It often takes very long time (20s) to mkdir on an ext3 drive Am Fr Mai 20 2011 schrieb Karl Vogel: K What does strace mkdir /some/directory show? On Fri, 20 May 2011 08:38:41 +0200, hartmut.niem...@gmx.de said: H $ strace mkdir two H

Re: first mkdir takes a long time (on ext3)

2011-05-20 Thread Hartmut Niemann
Am Fr Mai 20 2011 schrieb Karl Vogel: On 19/05/11 17:01, Hartmut Niemann wrote: H It often takes very long time (20s) to mkdir on an ext3 drive What does strace mkdir /some/directory show? $ strace mkdir two execve(/bin/mkdir, [mkdir, two], [/* 18 vars */]) = 0 brk(0)

first mkdir takes a long time (on ext3)

2011-05-19 Thread Hartmut Niemann
Hi, I observe that it often takes very long time (20s) to mkdir on an ext3 drive, especially the first directory. What could the reason be? $ time mkdir hello real0m22.325s user0m0.000s sys 0m0.132s If system time is less than a second, what is eating the other 22 seconds? This

Re: first mkdir takes a long time (on ext3)

2011-05-19 Thread Tom Grace
On 19/05/11 17:01, Hartmut Niemann wrote: I observe that it often takes very long time (20s) to mkdir on an ext3 drive, especially the first directory. What could the reason be? If this is a data drive, has it been spun down to save power ? Do other operations like reading a non-cached file,

Re: first mkdir takes a long time (on ext3)

2011-05-19 Thread Hartmut Niemann
Am Do Mai 19 2011 schrieb Tom Grace: On 19/05/11 17:01, Hartmut Niemann wrote: I observe that it often takes very long time (20s) to mkdir on an ext3 drive, especially the first directory. What could the reason be? If this is a data drive, has it been spun down to save power ? No, I

Re: first mkdir takes a long time (on ext3)

2011-05-19 Thread Karl Vogel
On 19/05/11 17:01, Hartmut Niemann wrote: H It often takes very long time (20s) to mkdir on an ext3 drive What does strace mkdir /some/directory show? -- Karl Vogel I don't speak for the USAF or my company Q: What lies on the bottom of the ocean and twitches? A: A