freebsd-skq/usr.bin/ctlstat
Alexander Motin bb8f9017b3 Rewrite CTL statistics in more simple and scalable way.
Instead of collecting statistics for each combination of ports and logical
units, that consumed ~45KB per LU with present number of ports, collect
separate statistics for every port and every logical unit separately, that
consume only 176 bytes per each single LU/port.  This reduces struct
ctl_lun size down to just 6KB.

Also new IOCTL API/ABI does not hardcode number of LUs/ports, and should
allow handling of very large quantities.

MFC after:	2 weeks (probably keeping old API enabled for some time)
2017-01-09 18:18:15 +00:00
..
ctlstat.8 Rewrite CTL statistics in more simple and scalable way. 2017-01-09 18:18:15 +00:00
ctlstat.c Rewrite CTL statistics in more simple and scalable way. 2017-01-09 18:18:15 +00:00
Makefile
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00