You are not logged in.
Pages: 1
How long should xorg take to start after the startx command has been given? The Fedora Project have apparently got their startup time down to around 1 second (OneSecondX). I takes a good 7 seconds on my machine, is this normal? (This is without installing any window manager apart from X.)
Thanks,
Leo Kent
Offline
What kind of machine do you have? If it's old, then it is normal.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
The machine must be extremely old to attribute such delay on the oldness only. Like say 486.
Try to run directly the X server (without startx)
if its still slow then the problem is in it.
if not, then startx does something
if its the startx, see what exactly does it do (its a shell script)
For example you can comment it line by line to find the offending part.
If its an binary executable (like the X server itself) that is causing the delay, its more complex.
You can try strace to see what system calls does it do and and does this suggest something to you.
Maybe it is waiting for some (network?) timeouts
Check the CPU usage during the delay.
If it is caused by some timeout(s) then the CPU usage should be low.
Try to isolate the problem
Hope that helps
Last edited by lucho (2009-02-22 17:53:23)
Offline
I have a 2.1Ghz Core2Duo with 3GB of RAM and nVidia 8400 so it's not really what you would call old.
@lucho: Thanks, I will investigate and report back.
Offline
Did you write your hostname in /etc/hosts? Should be a line like this:
127.0.0.1 localhost.localdomain localhost yourhostname
This is known to speed up the Xorg startup process.
Heeeeeey cat!!!
Offline
@Binky: I have already tried that, it did make a difference but I am still at 7 seconds when running "X".
How can I monitor what the CPU is doing when starting X, with top?
Offline
Yes, with top. And you can also install bootchart, it generates an image of the boot process, perhaps it is useful to you.
Btw, do you use a ~/.xinitrc file? Please post it.
Last edited by BinkyTheClown (2009-02-22 19:24:06)
Heeeeeey cat!!!
Offline
Pages: 1