Time to move this discussion to the devel list

> Bugs item #1637715, was opened at 2007-01-17 14:34
> Message generated for change (Comment added) made by duncanwebb
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1637715&group_id=46652
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: music
> Group: 1.x svn (rel-1)
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Frank Naude (naudefj)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Detached player uses more CPU the longer it runs
> 
> Initial Comment:
> If you detach the audio player, you will notice an inclease in CPU 
> utilization every time a new track start playing. After about 10-15 songs, 
> the system will run at 100% utilization. 
> 
> When the detached player is stopped, CPU utilization will drop to below 1% 
> immediately.
> 
> ----------------------------------------------------------------------
> 
>> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-18 21:47
> 
> Message:
> Logged In: YES 
> user_id=104395
> Originator: NO
> 
> It does doesn't it, now we need to find out why.
> 
> I've added some debugging code and the only thing that I see is items and
> eventhandler are called every time. eventhandler does nothing, if
> nothing has been controlled.
> items does an audio.player.get() which could be the cause.
> 
> I'll commit these changes for debug level 2

A little more investigation and items is not being called between each
song. My guess is that the real problem is elsewhere and this is just a
symptom of a core problem. May be a thread this has not been exited or a
lock that is not being released.

AFAIK it is rc.py that controls the detached audio so this is the next
place to check. There is a problem with slide shows that contain audio
and the audio finishes before the slides, this causes a crash in freevo.

Duncan

> 
> ----------------------------------------------------------------------
> 
> Comment By: Frank Naude (naudefj)
> Date: 2007-01-18 20:47
> 
> Message:
> Logged In: YES 
> user_id=143611
> Originator: YES
> 
> CPU utilization remains constant when paused. 
> 
> When not paused, CPU utilization increments clearly every time a new track
> starts. One can clearly see the increased CPU using the
> idlebar.system.procstats plugin.
> 
> Play song (not detached) - +- 1% CPU
> Detach - +-7% CPU
> Next song - 10%
> Next song - 14%
> Etc...
> 
> ----------------------------------------------------------------------
> 
> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-18 20:23
> 
> Message:
> Logged In: YES 
> user_id=104395
> Originator: NO
> 
> Does it remain high when paused?
> 
> We need to look at how this is redrawing the screen, and reduce the
> frequency of polling.
> 
> ----------------------------------------------------------------------
> 
> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-17 23:18
> 
> Message:
> Logged In: YES 
> user_id=104395
> Originator: NO
> 
> I think that the reason is that the audio player sets the polling interval
> to zero so it runs the system very hard. But I haven't noticed quite such a
> high load except when using goom.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to