diff options
author | phk <phk@FreeBSD.org> | 2003-12-25 22:14:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-12-25 22:14:25 +0000 |
commit | 373c3cc2673a9f0b5b1736e5d3659488232b7794 (patch) | |
tree | 8869b71a698b8793086e480969cd6c830023c502 /sys/kern/subr_clock.c | |
parent | 0c849a91f98fd719022adbdb4618575ccb9fcfbe (diff) | |
download | FreeBSD-src-373c3cc2673a9f0b5b1736e5d3659488232b7794.zip FreeBSD-src-373c3cc2673a9f0b5b1736e5d3659488232b7794.tar.gz |
Vastly improve performance of IRQ handling on stopped interfaces with
this driver by introducing a flag saying we already stopped the device.
On my Soekris net4801, this took a ping -i 0.001 from spending 80% of
time in interrupt handling to 10% (approx numbers).
This was a particular problem for the net4801 because the tree
interfaces share the same interrupt, but it would be a problem for
any configuration where an unused if_sis interface shares an interrupt
with a busy device.
Other drivers may have similar problems.
Thanks to: Luigi
Diffstat (limited to 'sys/kern/subr_clock.c')
0 files changed, 0 insertions, 0 deletions