Max NFSD processes
Steve Shorter
steve at nomad.lets.net
Fri May 21 09:50:48 PDT 2004
On Thu, May 20, 2004 at 10:44:14AM -0500, Eric Anderson wrote:
> >
>
> That's good to hear. Did you do any other tweaks? sysctl settings?
> mbufs?
net.inet.udp.recvspace=524288
kern.ipc.maxsockbuf=1048576
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=1
Telus-nfs1:# w
12:41PM up 212 days, 15 hrs, 3 users, load averages: 0.49, 0.62, 0.71
USER TTY FROM LOGIN@ IDLE WHAT
nfs1:# netstat -m
441/1488/65536 mbufs in use (current/peak/max):
406 mbufs allocated to data
35 mbufs allocated to packet headers
242/1040/16384 mbuf clusters in use (current/peak/max)
2452 Kbytes allocated to network (4% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
> >
> >>Thanks - any help/hints is appreciated.
> >>
> >>
Disk design issues matter cause it is the ultimate
bottleneck. RAID is you friend.
Lots of RAM helps. I use 4G. and compile a custom
kernel with maxusers at 256 and KVA_PAGES at 512. You can
check/verify kvm usage with sysclt's vm.kvm_size and vm.kvm_free
> >>
> >
> > You probably also want good nics (fxp0) and to
> >increase UDP buffer space. I have found that nfs over udp
> >offers supperior performance than tcp on a good LAN
> >
> >
> I'm currently using 3com's (xl0,xl1) and Intel Gigabit cards (em0,em1).
> Most of my clients are using udp.
>
> What did you set your buffer space to? Which sysctl did you change?
>
udp recvspace. see above.
-steve
More information about the freebsd-questions
mailing list