cachefs nfs etc

From: vlad f halilow (mlist@ratel.ru)
Date: Sun Feb 26 2006 - 09:32:26 EST


Hi there. I have some strange things with using cachefs over nfs for
mountable users home directory, need help . I have two servers (sf250
sf880) with sol9 latest release. sf880 is a nis master and home storage.
All home dirs exported by nfs to second server (sf250) that service
users. Today i try to configure cachefs for improve users browser
(opera/mozilla) performance (many i/o for small files slowing browsing)
and found some strange while users environment testing. example, i am
logged in as user1 and make big file (about 1.5gb) by `cat /dev/zero >
filename`. File has been created, but control did not return to terminal
looks like long i/o. Ok, i look to nfs server, and see my created file
transfered to storage server from client machine. All looks like, that
after file close, cachefs system begin transfer it to backbone in
foreground. File transfered _very_ slowly, about 1mb/sec on file begin,
and about 400kb/sec at file end, but in normal nfs operations (without
cachefs) i have a full speed transfer by same `cat /dev/zero ..` about
10 mb/sec. But most big surprise, awaiting me when i try to logging
another user - user2. Session just hang like nfs server not available.
nfsstat show some nfstimeout counter increase, but nfs server not
overloaded. Everybody, who try to use any operation on mounted nfs
partition halting on lock (not only user1 home, any home mounted from
sf880). After bigfile transfered, all session unzfreeze and all works in
normal. i remove cachefs entires from auto_master, and test bigfile
transfer with direct nfs automount. In result - ant load, produced by
one users, cannot hang anybody other. Only in user home directory was a
problem with retreiveing file attributes (ls - work, ls -al freeze). Can
anyone explain, how to workaround this cachefs buf/crap(?).

vlad/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:07 EDT