LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2005, 06:48 PM   #1
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Alpine Linux 3.18
Posts: 27

Rep: Reputation: 0
X Startup Performance


Hello,

I've had a lot of fun with Debian Sarge over the weekend, learning a whole ton of networking and other configuration stuff to compensate for its <BLEEP> installer. Someday soon I shall be ready for Slack.

But not today.

It's not really a "lack of understanding" issue either: I've managed to get XFCE going with xdm handing sessions, something which I've never done before (Although I like KDE, but it seems bloated. Does anyone have a reasonable estimate for disk space the default install takes up?), as well as getting ALSA cooking. The "S" and "U" keys on my keyboard are almost permanently pressed.

Nah, what's been bugging me of late is how long it takes to get into X. Typical scenario: I start the computer, it boots into Linux, runlevel is set to 5, X starts. I get a blank screen for between 5-8 seconds and then I'm presented with (the rather bland) XDM login screen.

What is happening during these 5-8 seconds of darkness? It only worries me as such because Windows 2000 is somewhat snappier at that point. For comparison purposes only, you understand...
 
Old 04-03-2005, 06:58 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
login to the CLI, then start X from there

Code:
startx
it should take the same amount of time, but you'll see whats going on.
 
Old 04-03-2005, 07:02 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: X Startup Performance

Quote:
Originally posted by SMurf7
What is happening during these 5-8 seconds of darkness? It only worries me as such because Windows 2000 is somewhat snappier at that point. For comparison purposes only, you understand...
From where on do you assess that "w2k being snappier"
bit, please? I've never had to manually start the g00ey
in winDOHs ...


Cheers,
Tink
 
Old 04-03-2005, 07:17 PM   #4
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Alpine Linux 3.18
Posts: 27

Original Poster
Rep: Reputation: 0
Re: Re: X Startup Performance

Quote:
Originally posted by Tinkster
From where on do you assess that "w2k being snappier"
bit, please? I've never had to manually start the g00ey
in winDOHs ...
Okay, not literally, but if you were to consider that most of the time spent at the W2K splash loading screen is for loading the kernel and drivers, then at the end it switches the display, the change is almost instantaneous. Admittedly it's a different beast, does things back-to-front from a nix perspective, but still...

And yes SciYro, I did originally start X from the CLI before XDM was in place, it does show some information (Mostly warnings about deprecated config statements, but that's Deb for you ) but it quickly changes the display mode and sits there as described before I can take it in. Is there a log file I can check?
 
Old 04-03-2005, 07:24 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Is there a log file I can check?
Two, actually ... there's the system global one:
/var/log/Xorg.0.log (or XFree86.0.log, respectively)
and the user one ~/.xsession-errors (which, despite
the name, doesn't contain errors alone ;-}) ...


Quote:
the kernel and drivers, then at the end it switches the display, the change is almost instantaneous.
You answered your own question :) ... in windblows
the drivers are loaded BEFORE the graphical env
comes up - X has to pull its own drivers up, plus
the overhead for extras like network transparency
and others ;0


Cheers,
Tink
 
Old 04-03-2005, 07:36 PM   #6
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Alpine Linux 3.18
Posts: 27

Original Poster
Rep: Reputation: 0
Yes, I find I do that a lot with Linux. It makes sense, in a "but doesn't it do it like this?" way.

I still think spending around 5 seconds with nothing to go on is a bit like being blind and standing in the middle of a road. You wouldn't know if it'd crashed until time's up (Or a car hits you, in the euphemism ). Is it possible to (easily) hack a little "Loading..." message into it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
performance exvor Programming 12 08-01-2005 04:41 PM
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 12:50 AM
why does eth01 fail on startup and delay startup? infantpenguin Linux - Newbie 3 01-28-2005 10:45 AM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 04:15 PM
Performance ajtaus Linux - General 2 12-14-2001 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration