* Performance bttv versus sharedmem
@ 2007-01-02 19:44 Keith Chew
0 siblings, 0 replies; only message in thread
From: Keith Chew @ 2007-01-02 19:44 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-02 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-02 19:44 Performance bttv versus sharedmem Keith Chew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome