Can't increase number of nfsd threads on Slack64 13.0
Hi !
I modified /etc/rc.d/rc.nfsd in order to get this line : echo " /usr/sbin/rpc.nfsd 24" Restarted service, even rebooted, but "cat /proc/net/rpc/nfsd" shows me only the standard 8 threads : th 8 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 Any solution ? |
You only modified the echo part. Echo is a command that echoes the text that comes after it.
To modify the number of servers - PHP Code:
man rpc.nfsd rpc.nfsd -h |
OMG i'm such a noob !!!
I hope no one will read this thread ;^) Thank you ! |
:doh:
24 seems like a lot of threads. You may have to tune some sysctl parameters. Mainly /proc/sys/vm/min_free_kbytes . You'll see is dmesg complaints about dirty pages. I'll assume you already tuned net.ipv4.tcp$ considering with 24threads you're looking for performance. p, li { white-space: pre-wrap; } <-- what the? |
I tuned approx. nothing !
I read that 4 to 8 thread by cpu is a good approach, so as i have a triple core... This server may have ~100 clients. It's a pxe/nfs server. I'm currently playing with rsize and wsize, tcp and udp settings. |
You might get better performance not using UDP, or at least I do.
TCP tuning tips - http://www.enterprisenetworkingplane...le.php/3485486 http://fasterdata.es.net/TCP-tuning/linux.html |
This is what i get with 16 hosts up, and dmesg shows no dirty pages (yet).
root@64-server:~# cat /proc/net/rpc/nfsd rc 0 0 8650190 fh 2 0 0 0 0 io 3733010276 0 th 24 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ra 48 7768667 0 0 0 0 0 0 0 0 0 107539 net 8650189 8457617 192566 25 rpc 8650190 0 0 0 0 proc2 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 proc3 22 48 408936 0 140028 125377 63481 7876260 0 0 0 0 0 0 0 0 0 5389 30071 281 100 24 0 proc4 2 0 0 proc4ops 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 If you have some nfs tips, i'm all eyes ;^) TY. |
All times are GMT -5. The time now is 08:08 PM. |