kernel-ark/drivers/media/video/em28xx
Mauro Carvalho Chehab ad0ebb96c2 V4L/DVB (7540): em28xx: convert to use videobuf-vmalloc
The usage of videobuf-vmalloc allows to cleanup em28xx logic.

Also, it reduced its size by about 5.42% on i386 arch (and about 7.5% on x86_64):

  39113    4876      40   44029    abfd old/em28xx.ko
  36731    4868      40   41639    a2a7 /home/v4l/master/v4l/em28xx.ko

Also, the preliminary tests, made on a single core 1.5 MHz Centrino showed
that CPU usage reduced from 42%-75% to 28%-33% (reports from "top") command.

A test with time command presented an even better result:

This is the performance tests I did, running code_example to get 1,000 frames
@29.995 Hz (about 35 seconds of stream), tested on a i386 machine, running at
1,5GHz:

	The old driver:

$ time -f "%E: %Us User time, %Ss Kernel time, %P CPU used" ./capture_example
0:34.21: 8.22s User time, 25.16s Kernel time, 97% CPU used

	The videobuf-based driver:

$ time -f "%E: %Us User time, %Ss Kernel time, %P CPU used" ./capture_example
0:35.36: 0.01s User time, 0.05s Kernel time, 0% CPU used

	Conclusion:

The time consumption to receive the stream where reduced from about 33.38
seconds to 0.05 seconds.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-24 14:08:00 -03:00
..
em28xx-audio.c V4L/DVB (7522): media/video/em28xx replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:59 -03:00
em28xx-cards.c V4L/DVB (7381): tuner: rename TUNER_PHILIPS_ATSC to TUNER_PHILIPS_FCV1236D 2008-04-24 14:07:52 -03:00
em28xx-core.c V4L/DVB (7540): em28xx: convert to use videobuf-vmalloc 2008-04-24 14:08:00 -03:00
em28xx-i2c.c V4L/DVB (7522): media/video/em28xx replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:59 -03:00
em28xx-input.c V4L/DVB (7021): Move all board specific configuration to em28xx-cards.c 2008-01-25 19:04:55 -02:00
em28xx-video.c V4L/DVB (7540): em28xx: convert to use videobuf-vmalloc 2008-04-24 14:08:00 -03:00
em28xx.h V4L/DVB (7540): em28xx: convert to use videobuf-vmalloc 2008-04-24 14:08:00 -03:00
Kconfig drivers/media/video/em28xx/: Fix undefined symbol error with CONFIG_SND=N 2008-02-09 23:27:01 -08:00
Makefile V4L/DVB (6951): Integrates em28xx-audio.c into em28xx kernel module 2008-01-25 19:04:32 -02:00