Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

X priority ?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
pelckyboy
n00b
n00b
Posts: 36
Joined: Sat May 10, 2003 7:53 pm

X priority ?

  • Quote

Post by pelckyboy » Sun Nov 21, 2004 4:30 pm

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
Top
Lucho[FLCL]
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Tue Dec 02, 2003 5:51 pm
Location: Buenos Aires - Argentina

  • Quote

Post by Lucho[FLCL] » Sun Nov 21, 2004 4:46 pm

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: Select all

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
Top
pelckyboy
n00b
n00b
Posts: 36
Joined: Sat May 10, 2003 7:53 pm

  • Quote

Post by pelckyboy » Sun Nov 21, 2004 5:52 pm

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.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic