High CPU usage with some systats apps?

I have found alot of sysstat widgest have high cpu usage is there a reason for this?

Example is the vertical calendar? Horizonal uses no cpu at all, but vertical constantly uses 2-4% of cpu time?

Also any animated clocks do the same except alot higher.

http://sysstats.needlemen.com/details.php?id=53

Solution possible?

#327173

Ah yes. Well that one is the biggest CPU hog of them all. Nothing short of a taking a big axe to SysStats will fix that (it redraws every single element any time any one of them changes. A smarter thing to do would be to only redraw the parts that have changed but that would require that SysStats implements its own overlapping window mechanism).

However the vertical calendar shouldn't suck any CPU at all unless someone has set the update interval for the meters to something like 1 sec. Set them lower and it'll be fine.

Thanks, the update interval was set to 1sec, but thats how it came when I d/loaded it? I checked the horizontal one and that was set to 1 sec yet did not hog time. Anyway I set it to 300secs and all is fine.

A question however, Konfubulator and others use clock widgets that update on the fly, yet do not use cpu time?

#327209

they have to use cpu time.., no matter what...

depending on how often it is updated and how efficient the coding and the language it is coded in will differ on how much CPU time is used.., even if it shows up as 0.., it is just rounded down..

there are some task managers that can see CPU usage at least to the hundreths, but I can't seem to find the one that does.., I thought it was procexp, but its not..

#327386