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 Fri 24 Oct 2014, 16:48
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 Posts_count  
Author Message
GJones

Joined: 18 Mar 2012
Posts: 12

PostPosted: Sun 25 Mar 2012, 20:09    Post_subject:  Process priority hijinks
Sub_title: 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_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_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0449s ][ Queries: 11 (0.0040s) ][ GZIP on ]