NFS async writes - HEADSUP

看板DFBSD_kernel作者時間16年前 (2009/07/19 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Heads up folks. DragonFly NFS clients in master can now do async writes and when the kernel flushes we're talking 64 16K packets at least. On a fast GigE ethernet this can blow out the NFS server's socket buffer (if the server isn't running the latest DragonFly master). If such a situation arises for you, either use a TCP NFS mount instead of UDP (-T option to mount_nfs, or "tcp" option in /etc/fstab), or reduce the maxasyncbio's with a newly available sysctl called vfs.nfs.maxasyncbio. The default is 64, which requires about 2MBytes of sockbuf space on the NFS server. Again, look forward to a bit of instability with NFS on the master branch for the next few days as the kinks get worked out. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1AOareC4 (DFBSD_kernel)