https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235031
Rick Macklem <rmack...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmack...@freebsd.org --- Comment #27 from Rick Macklem <rmack...@freebsd.org> --- A little off topic, but rsize,wsize will be set to a power of 2 at or below the argument. As such, rsize=10240,wsize=10240 will result in a setting of 8K (or less if the server forces it) for both of them. You can use "nfsstat -m" on the client to see what is actually being used. I can't help much, but I would suggest trying increasing powers of 2 for rsize,wsize until performance tanks. A couple of reasons smaller rsize,wsize might perform better. - TSO is broken. This can be tested by using the sysctl to disable TSO. (I suggest the generic sysctl and not a driver specific ifconfig, in case the driver config flag is broken.) - Small send or receive rings that can't handle the burst of packets/mbufs that the larger I/O size causes. A write request/receive reply will typically be a chain of size/2K + 2 mbufs for the sender. (Sometimes +3 depending on how the driver handles the MAC header.) The receiver will typically see this as a burst of roughly size/1500 + 1 packets making up one TCP segment. If jumbo packets are in use, all bets are off for the receive side, since at least the >4K ones can fragment the mbuf cluster pool. - Interrupt throttling. Since most NFS RPCs are small messages requiring a small reply message in the opposite direction, anything that increases latency (such as delaying interrupts assuming more packets of a stream will arrive soon) can hit NFS performance. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"