Summary: | Network dropouts on em(4) due to jumbo cluster failures | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Mike Andrews <mandrews> | ||||
Component: | kern | Assignee: | freebsd-net (Nobody) <net> | ||||
Status: | New --- | ||||||
Severity: | Affects Many People | CC: | kaho, kbowling, sbruno, shurd | ||||
Priority: | --- | Keywords: | IntelNetworking | ||||
Version: | 11.0-RELEASE | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246003 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 255070 | ||||||
Attachments: |
|
Description
Mike Andrews
2017-04-26 16:50:04 UTC
Created attachment 183084 [details]
a patch for jumbo frame and others
I don't have a trouble denied some packets temporarily but a trouble dropped
many packets with jumbo frames. I use 12-current with a similar patch attached
this comment, and the patch does not make everything correct but makes
better condition.
I have three devices, 82574L, I217-V, I218-V. I don't have any trouble for I21[78] regardless with or without the patch when mtu is 1500.
With 9k jumbo, without the patch, scp speed is very slow and dev.em.0.rx_overruns increases.
On 82574L, dev.em.0.rx_overruns increases without the patch and
dev.em.0.mac_stats.recv_no_buff increases with the patch.
Above 6k jumbo, scp speed is almost 10kB/s without the patch
and the speed is about 10MB/s with the patch.
Dusting this old one off because it's still an issue. This recent commit looks like, from the description anyway (haven't tested), that it might fix the issue: https://reviews.freebsd.org/D16534 (In reply to Mike Andrews from comment #2) I don't know the patch resolves the problems originally reported in this PR. 82574L is very slow, but "netstat -m" shows "0/0/0 requests for jumbo clusters denied" with/without the patch. At least, PBA and high/low-water setting for I21[789] is broken because of receive buffer size is too small to save JUMBO frames. PBA should be calculated from MTU, and high/low-water should be calculated from PBA instead of loading immediate values, I think. |