Quantcast
Viewing all articles
Browse latest Browse all 4945

Linux client : find/tree command extremly slow

Hi  folks,

 

After migrating local file systems to NFS share on NetApp we found out the runnig for example "find /<directory> -type f | wc -l" for just counting number of files in a directory is extremly slow compared to "normal" local filesystem

 

Example from local filesystem:

 

tchsl037:~ # time find /alt -type f | wc -l
619084

real 0m3.033s
user 0m1.365s
sys 0m1.768s

 

and from NFS (copied from the above):

tchsl037:~ # time find /usr/sap/BPT -type f | wc -l
619084

real 1m7.174s
user 0m2.078s
sys 0m7.430s

 

Is there a way how to speed this up?

 

Thanks and regards

 

Joerg


Viewing all articles
Browse latest Browse all 4945

Trending Articles