Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 14:38
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Process priority hijinks
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
GJones

Joined: 18 Mar 2012
Posts: 12

PostPosted: Sun 25 Mar 2012, 20:09    Post subject:  Process priority hijinks
Subject description: What is going on here?
 

This is a screenshot of htop on an EeePC running Zenwalk 7.0:

http://i.imgur.com/1HCcF.png

And this is one of htop on an Aspire laptop running Lucid Puppy 5.2.8:

http://i.imgur.com/EZUEr.png

Note the PRI column. On Zenwalk, most tasks have a priority of 1, and it is usually not higher than 7. On Puppy, almost all tasks have a priority of 20, and it usually does not go below 16 (except for the slmodem driver, which has realtime priority). It looks like almost everything desktop-related has much *lower* priority than on a normal Linux distro.

Kind of weird... Anyone know what produces these conditions in Puppy?
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2462
Location: near here

PostPosted: Mon 26 Mar 2012, 02:55    Post subject:  

looks like different default priorities have been set

you can make a app have priority by running it with the nice command with negative value
for example

Code:
nice --10 proteus
Arrow
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
GJones

Joined: 18 Mar 2012
Posts: 12

PostPosted: Mon 26 Mar 2012, 10:26    Post subject:  

Thank you, but it looks like the nice command does not work that way?

Also, the niceness of the processes is normal in both cases, it's just the priority that's different. Not sure if/how that makes sense.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 26 Mar 2012, 20:52    Post subject:  

Quote:
Kind of weird... Anyone know what produces these conditions in Puppy?


Nothing produces this on Puppy , seems that zenwalk adds lines of code to adjust the priorities .

Otherwise have a look in " man ps " for more info :

Quote:
nice value. This ranges from 19 (nicest) to -20 (not nice
to others), see nice(1). (alias nice).
Back to top
View user's profile Send private message Visit poster's website 
GJones

Joined: 18 Mar 2012
Posts: 12

PostPosted: Mon 26 Mar 2012, 20:58    Post subject:  

D'oh! Thanks for correcting me on that. Embarassed
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0475s ][ Queries: 11 (0.0061s) ][ GZIP on ]