Skip to contentSkip to conversation

many files in exported directory

DISCUSSION Stefan Palme 1 participant 1 message Dec 21, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

in one NFS-exported directory I have a lot of small files:

[s15223736 binary]# ls | wc -l
57072
[s15223736 binary]# du -h
276M .
[s15223736 binary]#

Doing a "ls" on the NFS-client takes very very long before the first output appears. Because some applications working on this NFS-imported directory very often use a kind of "ls" in this directory, this applications seem to hang often.

What can I change in my configuration to improve performance?

Current NFS-server configuration:
* linux-2.6.17 with NFSv3-support compiled in
* nfs-utils-1.0.6
* /etc/exports:

       /.../binary IP/32(rw,async,all_squash,anonuid=64,anongid=261)

Current NFS-client configuration:
* linux-2.6.18 with NFSv3 and NFSv4 support compiled in
* nfs-utils-1.0.6
* /etc/fstab:
IP:/.../binary /.../binary nfs soft,intr

Any hints?
Thanks and best regards
-stefan-

Signature · 22 lines
-------------------------------------------------------------------
Dipl. Inf. (FH) Stefan Palme
 
email: [email protected]
www:   http://hbci4java.kapott.org
icq:   36376278
phon:  +49 341 3910484
fax:   +49 1212 517956219
mobil: +49 178 3227887
 
key fingerprint: 1BA7 D217 36A1 534C A5AD  F18A E2D1 488A E904 F9EC
-------------------------------------------------------------------


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs