]> git.baikalelectronics.ru Git - kernel.git/commit
ioat3: interrupt coalescing
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
commit5968579bb2aa48c0b720822c7991be9ea4d362d4
tree22bace58c86068483209b8b2d9a2b6238eb0c179
parent3d82ebae640a8592c8993cda93eddb73f742e373
ioat3: interrupt coalescing

The hardware automatically disables further interrupts after each event
until rearmed.  This allows a delay to be injected between the occurence
of the interrupt and the running of the cleanup routine.  The delay is
scaled by the descriptor backlog and then written to the INTRDELAY
register which specifies the number of microseconds to hold off
interrupt delivery after an interrupt event occurs.  According to
powertop this reduces the interrupt rate from ~5000 intr/s to ~150
intr/s per without affecting throughput (simple dd to a raid6 array).

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v3.c
drivers/dma/ioat/registers.h