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 >

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 2.6.33

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, said: H> $ strace mkdir two H> execve("/bin/mkdir", ["mk

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

2011-05-19 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(

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

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 ?

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, cre