Performance bttv versus sharedmem

From: Keith Chew
Date: Tue Jan 02 2007 - 14:44:43 EST


Hi

This is just a general question to understand where the improvement
can be made.

In the first setup, I have these processes:
- mencoder recording from bttv chip at 8 fps (cpu 3.5 %)
- mplayer playing from bttv chip at 10 fps (cpu 2.1 %)

In the second setup, I have these processes:
- mencoder recording from bttv to shared mem at 25 fps (cpu 1.7%)
- mencoder recording from shared mem at 8 fps (cpu 6.1%)
- mplayer playing from shared mem at 10 fps (cpu 3.1 %)

For the shared mem setup, the access to the memory is efficient, only
a memcopy to a buffer. Are the CPU usages inline with what you'd
expect, that the shared mem being almost 2 times the CPU usage? How
can I reduce the CPU usage in the shared mem setup?

Regards
Keith
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/