summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_disk.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-04-15 13:00:42 +0000
committerglebius <glebius@FreeBSD.org>2013-04-15 13:00:42 +0000
commitd9c22bdbc9c9f5cdee2a672851e8f18a8e41fad8 (patch)
tree9b44da6be5b85a3d8ccb22144f6e38b5d3f10a56 /sys/geom/geom_disk.h
parent11d1f4dcaa64bf053ea2c812e40e2d01976ed07c (diff)
downloadFreeBSD-src-d9c22bdbc9c9f5cdee2a672851e8f18a8e41fad8.zip
FreeBSD-src-d9c22bdbc9c9f5cdee2a672851e8f18a8e41fad8.tar.gz
Switch lagg(4) statistics to counter(9).
The lagg(4) is often used to bond high speed links, so basic per-packet += on statistics cause cache misses and statistics loss. Perfect solution would be to convert ifnet(9) to counters(9), but this requires much more work, and unfortunately ABI change, so temporarily patch lagg(4) manually. We store counters in the softc, and once per second push their values to legacy ifnet counters. Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/geom/geom_disk.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud