View previous topic :: View next topic |
Author |
Message |
pelckyboy n00b

Joined: 10 May 2003 Posts: 36
|
Posted: Sun Nov 21, 2004 4:30 pm Post subject: X priority ? |
|
|
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 |
|
 |
Lucho[FLCL] Apprentice


Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Nov 21, 2004 4:46 pm Post subject: |
|
|
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 |
|
 |
pelckyboy n00b

Joined: 10 May 2003 Posts: 36
|
Posted: Sun Nov 21, 2004 5:52 pm Post subject: |
|
|
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 |
|
 |
|