I've a directory on a NAS mount (from NetApp), that contains ~6300 image files, total size of this directory is ~ 300 MB. I get two different performances of
First time (or after waiting 5-7 minutes):
time ls real 0m4.505s user 0m0.061s sys 0m0.258s
time ls real 0m0.340s user 0m0.038s sys 0m0.075s
I'm fairly new to storage and disks, but my questions are:
- what causes
lsto be slow in some instances and 10+ times fast in others?
- how would I go about troubleshooting this issue?
Here is what I got back from the sysadmin on how NAS is mounted:
nashost:/vol/cmsprd/files /app/files nfs noquota,proto=tcp 0 0
and here is what I see running for "nfs" on the host:
ps -ef | grep nfs root 3234 2 0 Mar21 ? 00:00:02 [nfsiod]
I'm still looking for the connection speed.