[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <op.vrsuzhju6426ze@millennium>
Date: Fri, 04 Mar 2011 04:36:43 +0100
From: Uwaysi Bin Kareem <uwaysi.bin.kareem@...adoxuncreated.com>
To: linux-kernel@...r.kernel.org
Subject: Renicing for OpenGL smoothness.
Hiya. I'm sitting here playing some OpenGL games, and thinking, isn't it
rude of processes demanding the same amount of cpu, when I am here,
wanting the smoothest possible OpenGL experience.
So I am renicing. But my knowledge of the kernel is limited. So I was
thinking, maybe some of you could inform me, which processes are involved
in getting the graphics on-screen.
I have already started making a renicing script.
---
highpri=-20;
lowpri=19;
for pid in `pgrep ""`; do renice -n $lowpri -p $pid; done #ubuntu runs a
lot of processes that can be put in the background.
for pid in `pgrep "init"`; do renice -n $highpri -p $pid; done #probably
good to have high priority?
for pid in `pgrep "kthreadd"`; do renice -n $highpri -p $pid; done #does
drivers or anything else create kernel threads that are involved in the
graphics on-screen?
for pid in `pgrep "ksoftirq"`; do renice -n $highpri -p $pid; done #surely
these are?
for pid in `pgrep "X"`; do renice -n $highpri -p $pid; done
for pid in `pgrep "metacity"`; do renice -n $highpri -p $pid; done
for pid in `pgrep "hd-audio0"`; do renice -n $highpri -p $pid; done
--
Comments and information appreciated.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists