[rkward-tracker] [ rkward-Bugs-3316955 ] FIXED IN SVN: high CPU usage while idle

SourceForge.net noreply at sourceforge.net
Mon Oct 24 08:13:23 UTC 2011


Bugs item #3316955, was opened at 2011-06-15 20:43
Message generated for change (Settings changed) made by tfry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3316955&group_id=50231

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: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Milan Bouchet-Valat (nalimilan)
Assigned to: Thomas Friedrichsmeier (tfry)
Summary: FIXED IN SVN: high CPU usage while idle

Initial Comment:
I very often keep my RKward workspace open for a long time while working on something else, because that way I don't need to save and load it all the time. But I've noticed RKward is constantly eating CPU: rkward.rbackend uses about 4%, and rkward.bin 2% of my i5. That's really a lot, and that makes the fan noisy.

As I don't see why RKward would be working while nothing happens, I suppose it's doing something it could avoid. Or is that a bug specific to my setup?

I'm using RKWard 0.5.5 with R 2.13.0 on Fedora 15 (x64). (And BTW RKward is really a great app!)

----------------------------------------------------------------------

Comment By: Thomas Friedrichsmeier (tfry)
Date: 2011-06-24 20:33

Message:
Thanks for your feedback. Keep the reports coming ,-)

----------------------------------------------------------------------

Comment By: Milan Bouchet-Valat (nalimilan)
Date: 2011-06-24 12:49

Message:
OK, I've tested the SVN version, and CPU usage is down to 0.3-0.7% for
rkward.rbackend, and rkward.bin doesn't appear at all. So that's much
better, I guess that's no longer a problem (most apps have the same CPU
usage pattern).

Thanks for the quick response and fix. Now, you're going to regret it,
I'll file any bugs I find! ;-)

----------------------------------------------------------------------

Comment By: Milan Bouchet-Valat (nalimilan)
Date: 2011-06-17 11:18

Message:
Nice, thanks! I'll try to test the development version (anyways, I'll like
to use a version more recent than Fedora's to benefit from the fixes), but
not immediately. For now, I have to use RKward to finish my Master thesis!
;-)

----------------------------------------------------------------------

Comment By: Thomas Friedrichsmeier (tfry)
Date: 2011-06-17 11:05

Message:
Hi!

Well, supporting all types of R events in a GUI is surprisingly difficult,
and cannot easily be done without some polling. So some idle CPU load is to
be expected.

That said, 4% and 2% really is a lot.  Here, I see about 1% each, on an
aging Centrino-CPU, and the fan stays off.

I have improved this, slightly, in the development version, and probably
this can be tweaked a bit more. It would really help, if you could give me
some feedback, though, since obviously the metrics are a bit different on
your system. Thus, could you take a look at our instructions for compiling
the development version at: http://p.sf.net/rkward/svn ?

Regards
Thomas

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3316955&group_id=50231




More information about the rkward-tracker mailing list