Bug#384105: /usr/X11R6/bin/X: X server slow
Dear Brice,
On my home Ubuntu machine I see:
psz@ASI:~$ dpkg -l xorg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================-=============================-==========================================================================
ii xorg 7.1.1ubuntu6.2 X.Org X Window System
(which I guess is recent enough), and:
psz@ASI:~$ p=`ps -fC Xorg`; time perl -e '$|=1; foreach $x (1..500) { print "x" foreach(1..$x); print " $x\n" }'; echo "$p"; ps -fC Xorg
...
real 0m12.885s
user 0m0.328s
sys 0m0.316s
UID PID PPID C STIME TTY TIME CMD
root 3935 3932 1 07:56 tty7 00:00:41 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
UID PID PPID C STIME TTY TIME CMD
root 3935 3932 1 07:56 tty7 00:00:50 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
whereas un-flushed I get:
psz@ASI:~$ p=`ps -fC Xorg`; time perl -e 'foreach $x (1..500) { print "x" foreach(1..$x); print " $x\n" }'; echo "$p"; ps -fC Xorg
...
real 0m1.987s
user 0m0.072s
sys 0m0.024s
UID PID PPID C STIME TTY TIME CMD
root 3935 3932 1 07:56 tty7 00:00:51 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
UID PID PPID C STIME TTY TIME CMD
root 3935 3932 1 07:56 tty7 00:00:52 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
so I guess Xorg is buggy also. (This is with the ATI driver. I now cannot
imagine how bad it would have been with VESA.)
Regardless of Xorg, please do not close this bug: Debian (stable) has
XFree86 only, not Xorg.
Thanks,
Paul Szabo psz@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia
Reply to: