[Moonlight-list] very high cpu usage

Rolf Bjarne Kvinge rolflists at ya.com
Tue Oct 27 03:57:48 EDT 2009


Hi,

> 
> Hi
> Yes, I tested the media playback performance. I wanted to know if
> moonlight can play MPEG videos on Intel ATOM platform, so i did the
> test.
> 
> BUT i didn't use the microsoft's codecs, ffmpeg instead. And the video
> format is  mpegts, video file is on a http server. Moonlight is in
> windowless mode.

Windowed mode is better performance-wise.

> The result is very disappointing. Firefox(with moonlight) cost over 90%
> CPU. These functions use CPU frequently:
> 
> YUVConverter::Convert(unsigned char **, int *, int, int, unsigned char
> *, unsigned char **)
Our yuv converter has a ss2 optimized code path, so I find it strange that it ends up at the top (decoding the video generally requires more cpu than the yuv conversion, though this might depend on the codec used)

> IMediaDemuxer::FillBuffers(void)
This would be the top level method for video decoding, so this makes sense.

> IMediaStream::GetBufferedSize(void)
Though this makes no sense, this is just a getter method.

Do you have percentages/numbers for these methods?

Rolf
> 
> 
> 
> 
> 
> 
> 
> On Mon, 2009-10-26 at 09:51 +0100, Rolf Bjarne Kvinge wrote:
> > I assume you did test media playback performance? Could you share
> more
> > detailed info about exactly how you tested and what was slow?
> >
> > Rolf
> >
> 
> 




More information about the Moonlight-list mailing list