From: Guy <fsos_guy@earthlink.net>
To: Nick Piggin <piggin@cyberone.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6 scheduler and "fast user switching"
Date: Thu, 13 Nov 2003 19:58:36 -0500 [thread overview]
Message-ID: <200311131958.40404.fsos_guy@earthlink.net> (raw)
In-Reply-To: <200311131611.51951.fsos_guy@earthlink.net>
On Thursday 13 November 2003 16:11, Guy wrote:
> On Thursday 13 November 2003 06:11, Nick Piggin wrote:
> > Guy wrote:
> > >A} My default security is that only 'root' can perform nice
> > > with negative values. I am reluctant to play with security
> > > for such a crticial command.
> >
> > Debian does this for you. I guess X runs as suid root anyway
> > so its not a big security problem.
>
> See comment above. PBSAK
>From http://members.optusnet.com.au/ckolivas/kernel
Renicing X? Many distributions (eg Mandrake) start X by default at
a nice of -10 to make it more responsive. This is a workaround
for the old scheduler limitations and the new scheduler makes
this unecessary, and may actually promote audio skipping with
this kernel. Each distribution may do this at different places
but commonly in the file /usr/lib/X11/xdm/Xservers there will be
a line that looks like this:
:0 local /bin/nice -n -10 /usr/X11R6/bin/X -deferglyphs 16
change it to:
:0 local /usr/X11R6/bin/X -deferglyphs 16
Gustavo Franco gave me this on how to do it on Debian:
# dpkg-reconfigure xserver-common
Manage X server wrapper configuration file with debconf? yes
Select what type of user has permission to start the X server. 2
Enter the desired nice value for the X server to use. 0
To check "cat /etc/X11/Xwrapper.config".
--
Recyle computers. Install Gentoo GNU/Linux.
prev parent reply other threads:[~2003-11-14 2:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-13 9:30 2.6 scheduler and "fast user switching" Guy
2003-11-13 11:11 ` Nick Piggin
2003-11-13 21:11 ` Guy
2003-11-14 0:58 ` Guy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200311131958.40404.fsos_guy@earthlink.net \
--to=fsos_guy@earthlink.net \
--cc=linux-kernel@vger.kernel.org \
--cc=piggin@cyberone.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox