On Mon, Jan 21, 2008 at 11:53:49PM +0800, Astrodog wrote:The player stutters when I assign a realtime or idle priority to it, or when I decrease its niceness, e.g., to -10 or less. As for the priority question: AFAIK, there are 3 run queue groups in the kernel, for realtime, normal, and idle priority processes willing to run. Normal priority processes can run only if the real time queue group is empty, and idle priority processes run only if both the real time and normal queue groups are empty. My problem manifests itself if the process is not on the normal queue group. At the same time, the numeric value of its idle or realtime priority doesn't seem to matter. (Note that realtime priority of 16 and idle priority of 16 are totally different.) Therefore I cannot tell whether I increase or decrease its priority. I just move it to a different queue group. Of course, it can be said roughly that idprio(1) decreases process' priority and rtprio(1) increases it, but it isn't technically correct because the term `priority' already refers to the preference of a process within its current queue group. -- Yar _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Kamalesh Babulal | [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Steven Rostedt | Re: -rt scheduling: wakeup bug? |
| David Miller | Re: [GIT]: Networking |
