Skip to contentSkip to conversation

Configuration recommendations for Linux Terminal Server Usage?

DISCUSSION Erik Forsberg 1 participant 1 message Aug 29, 2006

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

Hi!

We have a customer running about 10 "client servers" (SuSE Linux 9.3, 2.6.11.4-21.13-bigsmp) with the homedirectories being served by an NFS server running SuSE 10.1 (2.6.16.13-4-bigsmp).

Each "client server" typically hosts about 40 concurrent users with their own session (terminal session via ThinLinc). The home directories are automounted, so there's one mount per active user. The load from each user varies, being rather low when they only run firefox/Openoffice etc, sometimes going up when they start applications that have the mishabit to copy hundreds of files into the home directory.

We've experienced slow NFS performance in this cluster, but the problem disappeared when we raised the number of nfsd instances on the server to 100. 40 was to low. To me, 100 seems like a rather high number, reading the NFS FAQ which seems to recommend 4-8 threads per processor (this machine has 2 HT processors, so /proc/cpuinfo lists 4 processors).

What's the recommended configuration of Linux NFS client and server in this kind of situation (moderate amount of NFS clients, all of them generating a lot of traffic)?

* UDP or TCP?
* Recommended number of nfsd instances on server?
* Automount or not (not strictly neccesary, there's only one /export/home with a flat structure, so we could remove the automounter)
* Something else?

The th line in /proc/net/rpc/nfds looks like this:

th 100 1089236 2344.512 4635.584 497.360 587.508 327.080 35.468 189.708 10.484 7.248 368.336

I don't know how accurate that line is - the server has not been restarted since we raised the number of nfsd daemons to 100, so it could contain measurements from the time when there were too few.

Thanks,
\EF

Signature · 14 lines
Erik Forsberg                OpenSource-based Thin Client Technology
Systems Analyst/Developer    Phone: +46-13-21 46 00    
Cendio AB    	             Web: http://www.cendio.com
		             


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs