gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Re: performance: 1000 wakeups/sec when idle!


From: strk
Subject: Re: [Gnash-dev] Re: performance: 1000 wakeups/sec when idle!
Date: Fri, 5 Jun 2009 14:02:57 +0200

On Fri, Jun 05, 2009 at 03:32:54PM +0400, Yuriy Kaminskiy wrote:

> Fragment of strace paused gtk-gnash/agg 0.8.5 with "set delay 50":
> ioctl(3, FIONREAD, [0])                 = 0
> gettimeofday({1244200744, 140595}, NULL) = 0
> poll([{fd=3, events=POLLIN}], 1, 49)    = 0
> gettimeofday({1244200744, 196519}, NULL) = 0
> ioctl(3, FIONREAD, [0])                 = 0
>
> Fragment of strace paused gtk-gnash/agg 0.8.5 with commented "set delay":
> gettimeofday({1244200978, 360721}, NULL) = 0
> poll([{fd=3, events=POLLIN}], 1, 9)     = 0
> gettimeofday({1244200978, 376522}, NULL) = 0
> ioctl(3, FIONREAD, [0])                 = 0
>
> This is not right at all. Unless you have running timer (and no timer
> run in paused mode), you should not set timeout in poll() at all
> (something like poll(nfd, fds, -1)); or, at least, set it way higher.

Any chance to also find the spot in gnash calling poll() ?
Also, which movie was gnash running during your strace calls ?

> See also http://www.lesswatts.org/projects/applications-power-management/

Thanks, worth adding to the wiki. Anyone ?

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]