17.03.2016 22:22, Eric van Gyzen пишет:
Alan,
That does sound useful. As one complication, "vmstat -i" shows the
interrupt rate since boot. Either the test would need to reboot between
each iteration, or vmstat would need to be improved to show the "recent"
rate. The latter would be a much welcome improvement, in my humble opinion.
vmstat with "-i" option shows interrupts since reboot
and without "-i" shows interrupts per interval,
look for "in" column under "faults":
$ vmstat 1 3
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy
id
0 1 17 9221M 1525M 197 0 0 0 215 119 0 0 1107 106 813 4 3
94
0 1 17 9221M 1525M 0 0 0 0 0 47 0 0 1078 544 2505 0 2
98
0 1 17 9221M 1525M 0 0 0 0 0 47 0 0 1082 509 2468 0 2
97
In this example, there were 107, 87 and 82 interrupts per each of last 3 seconds
excluding 1000 clock ("HZ") interrupts.
_______________________________________________
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"