GFS file system performance is very slow

My code

Hi All,

I am having redhat linux 5.3 (Tikanga) with GFS file system and its very very slow for executing ls -ls command also.Please see the below for 2minits 12 second takes.

Please help me to fix the issue.

$ sudo time ls -la BadFiles |wc -l
0.01user 0.26system 2:12.68elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+374minor)pagefaults 0swaps
445

$ mount -v

/dev/mapper/vg_etl-ETLGFS01 on /etl type gfs (rw,noatime,nodiratime,hostdata=jid=0:id=196610:first=0)
/dev/mapper/vg_etlmob-ETLMOBGFS01 on /etl_mbl type gfs (rw,noatime,nodiratime,hostdata=jid=0:id=327682:first=0)
$


$ more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
$

Thanks,
Susi.S:(

GFSv1 is VERY slow, mostly due to locking issues on inodes. If you use a top level single directory as your shared storage, anything inside can lock the directory inode, which causes VERY poor performance.

Shared filesystems tend to have overhead that already cost you about 12-20% performance penalties.

my code 

Hi Mark,

I have tuned to glock_purge=50,demote_secs=100,scand_secs=3 but still performance is low.If we are going under sub-directory ls -la is not fetching any date and its getting time out.Please advice how to resolve this issue.

Thanks,
susi.s

Hi Friends,

Any idea you have about above issue??

Thanks,
Susi.S