On Thursday 15 May 2008, Abraham Gyorgy wrote: > I know X runs always as root. But setting the X server process' > priority to for example -10 makes graphical software response faster. > It works for me!! (no matter the system hangs sometimes :). > I think you have a fast machine, try it with a very slow computer > (sempron processor and radeon xpress200m+fglrx).
Please don't top post in this forum. Look, you are talking about running the X session as root. That doesn't make sense as an "X session" is e.g. gnome or kde which runs as the user. I fail to see how the X client programs have any effect on the the responsiveness of the server, yet this is exactly what you are saying. Then you talk about vulnerabilities in the client apps with an implication that this can somehow affect the server which runs as root. But that is just not true, except if a client can exploit a vulnerability in the server (which is to my mind not what you are saying). Finally, there is very little point in debating this topic. If Linus says that niceness has never had a whole lot of effect in Linux, and that perceived differences are entirely due to reducing the latency a specific app experiences, then I am going to go with the one guy that knows the subject and consider your experiences to be anecdotal. You'll probably get better results with X by selecting a suitable process scheduler and configuring your HZ to 1000 > 2008/5/14 Alan McKinnon <[EMAIL PROTECTED]>: > > On Wednesday 14 May 2008, Josh Cepek wrote: > > > > lapitopi gyuszk # snice -15 X > > > > > > As already pointed out, running process with a nice value less > > > than 0 can only be done by root, and it's usually a really bad > > > idea to run your entire X session as root. X (and applications > > > running under X) involve a lot of code, and vulnerabilities can > > > exist in this code. > > > > I think you don't know how X runs. > > > > X *always* runs as root on Linux so whether you nice it to 19 or > > -19 is not relevant. It was only very very recently that someone > > got X to run as a user. Do you disagree or should I elaborate? > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > > > -- > > gentoo-user@lists.gentoo.org mailing list -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list