[Moonlight-list] very high cpu usage
phenix
dalinhuang at gmail.com
Tue Oct 27 04:37:41 EDT 2009
I didn't list FFMPEG decode functions, they take about 40% cpu usage.
I have sent the test result to this mail list, Hope that is useful for
you.
On Tue, 2009-10-27 at 08:57 +0100, Rolf Bjarne Kvinge wrote:
> 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