[Ocfs2-users] slow ocfs

Jan Kara jack at ucw.cz
Mon Apr 21 08:42:12 PDT 2008


  Hello,

> I have one cluster with drbd primary/primary and OCFS2.
> If I do:
> from server 1:
> -cd /mnt/ocfs2 (this is a directory shared with ocfs2)
> -cp file1 test (file1 it's 50Gb)
> 
> from server2:
> -cd /mnt/ocfs2
> -ls -l
> At this point it take 30-50second and display ls result (cp don't are
> already terminated)
> 
> It's normal this "delay"? thank you
> ps:I have two NIC Gigabit dedicated for this service
  Those two files are the only ones in /mnt/ocfs2? I guess what takes
time is to take the read lock for directory /mnt/ocfs2 or the file
/mnt/ocfs2/test. This can take quite some while. Does the delay vanish
if you do 'sync' on server 1, wait for it to finish and then do 'ls -l'
on server 2?

								Honza



More information about the Ocfs2-users mailing list