Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X priority ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pelckyboy
n00b
n00b


Joined: 10 May 2003
Posts: 36

PostPosted: Sun Nov 21, 2004 4:30 pm    Post subject: X priority ? Reply with quote

Hello,

I have some difficulties changing the priority of my X process because of stuttering audio. When I run top, I get :

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4471 root 25 10 184m 73m 15m S 10.0 14.7 468:42.59 X

As you can see, the priority (PR) is marked as 25. How does one change this priority ??? I reniced my X to 10, but it has no effect...

Best regards,

Kristof
Back to top
View user's profile Send private message
Lucho[FLCL]
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 245
Location: Buenos Aires - Argentina

PostPosted: Sun Nov 21, 2004 4:46 pm    Post subject: Reply with quote

Do you want X to hace more or less priority?

Also, post your machine specs, and the program you are using to listen to music.

AND you can try schedtool:
Code:
lucho-gentoo root # schedtool
get/set scheduling policies - v0.99, GPL'd
USAGE: schedtool PIDS                    - query PIDS
       schedtool [OPTIONS] PIDS          - set PIDS
       schedtool [OPTIONS] -e COMMAND    - exec COMMAND

set scheduling policies:
    -N                    for SCHED_NORMAL
    -F -p PRIO            for SCHED_FIFO       only as root
    -R -p PRIO            for SCHED_RR         only as root
    -B                    for SCHED_BATCH
    -I                    for SCHED_ISO

    -p STATIC_PRIORITY    usually 1-99; only for FIFO or RR
                          higher numbers means higher priority
    -a AFFINITY_MASK      set CPU-affinity to bitmask (hex)

    -e COMMAND [ARGS]     start COMMAND with specified policy/priority
    -v                    be verbose
Back to top
View user's profile Send private message
pelckyboy
n00b
n00b


Joined: 10 May 2003
Posts: 36

PostPosted: Sun Nov 21, 2004 5:52 pm    Post subject: Reply with quote

I want to lower the priority of the X-process.

The music player is the mythmusic plugin for MythTV.

uname -a :
Linux albert 2.6.3-gentoo-r2 #1 Wed Mar 3 23:22:10 CET 2004 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux

I'm using XFree 4.3.0-r3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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