The time now is Wed 22 May 2013, 18:41
All times are UTC - 4 |
| Author |
Message |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Sat 14 Jan 2012, 18:57 Post subject:
CPU usage very high when disk icons reduced to one (Solved) Subject description: in Desktop Drive Icon Manager |
|
Hi!
I did solve a problem -- and maybe discovered a bug in probedisk.
When the disk icons are reduced to one in the bottom left corner, cpu usage jumps to between 50 and 100 %.
When the icons are displayed by default as one icon per drive, cpu usage varies between 10 and 49 % -- which is normal. I'm currently at 43 % -- according to conky -- writing this in opera, which is a bit of a cpu and memory hog.
Puppy system on which this bug was encountered : Puppy Ludid 5.2.5 retro, the one with the 2.6.30.5 kernel.
Compy: Intel 1.8 MgHz
Video card: Nvidia MX 4400
Has anybody noticed the same behaviour when reducing the number of disk icons to one? In other words, is it just me and my workhorse, or is this a widespread Puppy bug?
(You don't need to answer, since I perchance solved the problem. I'm only posting this for reference.)
BFN.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Last edited by musher0 on Sat 03 Mar 2012, 06:19; edited 1 time in total
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Sat 14 Jan 2012, 19:01 Post subject:
|
|
Still, from the point of view of desktop design, it would be nice not to have to display the whole slew of disk icons...
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Sat 14 Jan 2012, 20:23 Post subject:
|
|
The program that manages the drive icons is /sbin/pup_event_frontend_d .
It includes many internal functions and external scripts .
Rox-Filer displays the icons . I had always all partitions on the desk , and while experimenting with `which eventmanager` i think i had these minimized to one icon and can not remember any problems that time .
/sbin/pup_event_frontend_d has changed at least from puppy version 4.3 to 4.3.1 .
Also checkout if `which mut` is running as daemon in the background .
I am using xosview to display the CPU usage .
And on a one-core CPU it was always visible the polling of /sin/pup_event_frontend_d every 4 seconds witch a peak in the cpu line of xosview .
| Description |
|
| Filesize |
62.33 KB |
| Viewed |
439 Time(s) |

|
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Sat 14 Jan 2012, 22:37 Post subject:
|
|
Nice app, this xosview...
But looking at your image, I can see a disk. Therefore, you are not using the reduced function of pup_event_front_end_d. Thus, your results are for "normal" display/activity.
Do you think you can retry your test with the "front_end" display reduced to the one icon at the bottom left?
The results would then be more conclusive, no?
I should add that my machine has 1.25 Gb of RAM, 192 Mg's of which are used as a ramdrive.
Someone with less ram would have "stangled" his machine, I think, with this problem.
TWYL.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Sun 15 Jan 2012, 00:28 Post subject:
|
|
NO problem here ...
I must say that i have made many adjustments to /sbin/pup_event_frontend_d and /usr/sbin/eventmanager mainly to add start|restart|stop parameter AND to check for /tmp/pup_event_icon_change_flag to redraw the icons without need to restart X AND to check for the position of the taskbar ...
I also adjusted /sbin/probepart AND /sbin/probedisk2 to cope with different kernel configurations like the ones mavrothal posted at Barry's blog shortly AND EXTENDED_BLOCK_MAJORS ...
In the beginning many ways lead somewhere AND all adjustments i made are at least slightly different every partition ...
Soooo ...
I am also running 95%+ full installed ...
One idea i could think of is if the USB is loose attached the two files /root/.usb* seems to get updated every 2 or 4 seconds ... perhaps check the hidden files in your /root directory AND if rox shows a scanning in the window frame ... someone some time ago posted that problem in the USERS or BEGINNERS section , maybe search for my name AND probedisk OR probepart ...
 |
| Description |
|
| Filesize |
137.92 KB |
| Viewed |
404 Time(s) |

|
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Sun 15 Jan 2012, 12:07 Post subject:
|
|
NEXT Partition : no PROBLEMS
| Description |
|
| Filesize |
210.09 KB |
| Viewed |
370 Time(s) |

|
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Mon 16 Jan 2012, 01:06 Post subject:
|
|
Hello, Karl.
I discovered there was a way to disable the eventmanager altogether. It is actually a luxury, since Puppy doesn't need it to run properly.
It's in the FULL Puppy Event Manager, first pane ("Activate"). I unticked the "hotplug module/firmware loading" item, and my cpu is running sometimes as low as 6 %. Happy as a deer, now!
TWYL.
| Description |
|
| Filesize |
17.51 KB |
| Viewed |
213 Time(s) |

|
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|