Date: Tue, 10 Jun 2003 12:56:32 -0700 From: Sean Chittenden <sean@chittenden.org> To: Eric Anderson <anderson@centtech.com> Cc: Terry Lambert <tlambert2@mindspring.com> Subject: Re: Slow disk write speeds over network Message-ID: <20030610195632.GQ65470@perrin.int.nxad.com> In-Reply-To: <3EE5F8DE.30001@centtech.com> References: <20030609211526.58641.qmail@web14908.mail.yahoo.com> <3EE4FAED.6090603@centtech.com> <3EE595D2.B223CA19@mindspring.com> <3EE5F8DE.30001@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >...and yet more sysctl's for this: > > > > kern.polling.enable=1 > > kern.polling.user_frac=50 # 0..100; whatever works best > > > >If you've got a really terrible Gigabit Ethernet card, then > >you may be copying all your packets over again (e.g. m_pullup()), > >and that could be eating your bus, too. > > Ok, so the end result is that after playing around with sysctl's, > I've found that the tcp transfers are doing 20MB/s over FTP, but my > NFS is around 1-2MB/s - still slow.. So we've cleared up some tcp > issues, but 2yet still NFS is stinky.. > > Any more ideas? I'm using UDP NFS over a 100Mbit/FD link with the following settings and get about 12-14Mbps: net.inet.tcp.recvspace=65536 net.inet.tcp.sendspace=65536 kern.maxfiles=65536 kern.ipc.maxsockbuf=2097152 kern.ipc.somaxconn=8192 net.inet.tcp.delayed_ack=0 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=57344 net.local.stream.sendspace=65536 net.local.stream.recvspace=65536 vfs.nfs.async=1 net.inet.udp.log_in_vain=1 net.inet.icmp.icmplim=20000 I'm not taking into account jumbo frames or anything like that, so you may want to increase the size of some of these values where appropriate, but some of these may be a start. -sc -- Sean Chittenden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610195632.GQ65470>