linux/drivers/media/dvb/firewire
Clemens Ladisch 13882a82ee firewire: optimize iso queueing by setting wake only after the last packet
When queueing iso packets, the run time is dominated by the two
MMIO accesses that set the DMA context's wake bit.  Because most
drivers submit packets in batches, we can save much time by
removing all but the last wakeup.

The internal kernel API is changed to require a call to
fw_iso_context_queue_flush() after a batch of queued packets.
The user space API does not change, so one call to
FW_CDEV_IOC_QUEUE_ISO must specify multiple packets to take
advantage of this optimization.

In my measurements, this patch reduces the time needed to queue
fifty skip packets from userspace to one sixth on a 2.5 GHz CPU,
or to one third at 800 MHz.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2011-05-10 22:53:45 +02:00
..
Kconfig [media] firedtv: remove obsolete ieee1394 backend code 2011-03-21 20:32:12 -03:00
Makefile [media] firedtv: remove obsolete ieee1394 backend code 2011-03-21 20:32:12 -03:00
firedtv-avc.c firewire: octlet AT payloads can be stack-allocated 2011-05-10 22:53:44 +02:00
firedtv-ci.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
firedtv-dvb.c [media] firedtv: drop obsolete backend abstraction 2011-03-21 20:32:21 -03:00
firedtv-fe.c [media] firedtv: drop obsolete backend abstraction 2011-03-21 20:32:21 -03:00
firedtv-fw.c firewire: optimize iso queueing by setting wake only after the last packet 2011-05-10 22:53:45 +02:00
firedtv-rc.c [media] firedtv: fix remote control with newer Xorg evdev 2011-01-19 11:45:59 -02:00
firedtv.h [media] firedtv: drop obsolete backend abstraction 2011-03-21 20:32:21 -03:00