LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2005, 03:20 PM   #1
murrowman789
Member
 
Registered: Apr 2005
Location: California
Distribution: Slackware current
Posts: 36

Rep: Reputation: 15
Unhappy speed up boot time?


i join awhile ago but i never got around to posting...

the boot time on my slackware is a bloody time waster...

most of the time i am waiting for it to boot...

ive seen someone speed it up....problem is that i dont know how...

any help?
 
Old 06-27-2005, 03:33 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
which parts of the boot process are taking long?? ldconfig?? font-cache??
 
Old 06-27-2005, 03:36 PM   #3
murrowman789
Member
 
Registered: Apr 2005
Location: California
Distribution: Slackware current
Posts: 36

Original Poster
Rep: Reputation: 15
no clue mang...


from the time that i select linux to boot in lilo to the time that i login....it is really slow...and i have seen someone speed it up...
 
Old 06-27-2005, 04:01 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
can you tell how many seconds approx. from choosing linux
to the inlog prompt ?
and on what type of pc. ( cpu freq.) ?

egag
 
Old 06-27-2005, 04:54 PM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
When booting up you should see many messages, but on some your computer should wait some time. Look at it and post, which processes are so time-consuming.
 
Old 06-27-2005, 06:20 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
I am guessing his problem is most likely hotplug, like me, since that seems to take the longest, and for me, hotplug takes about 20-30 or so secs, to complete, everything else isn't that slow, and I have tried disabling hotplug, but then I lose sound, and functionality of my mouse and so I don't quite know how to disable hotplug and keeping all the hardware working. I know the purpose of hotplug is to detect any new hardware change, so if adding and removing hardware is not an issue, than hotplug can be disabled, the question is, how to disable hotplug while keeping the hardware you already have working..
 
Old 06-27-2005, 06:26 PM   #7
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Here are two things I've picked up on this forum that will decrease your boot time:

(1) [from Tinkster] Set ldconfig to run 5 minutes after boot rather than during boot:

Edit /etc/rc.d/rc.local, append line

/usr/bin/echo "ldconfig" | /usr/bin/at now +5minutes

(2) [from Shade] Add the command "compact" to the global options section of your /etc/lilo.conf. List it on a line by itself (I put it just below "prompt"). Note that there is apparently sometimes a conflict with LBA on some systems.

There are other tweaks, I'm sure.
 
Old 06-27-2005, 06:47 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by Jeebizz
I am guessing his problem is most likely hotplug, like me, since that seems to take the longest, and for me, hotplug takes about 20-30 or so secs, to complete, everything else isn't that slow, and I have tried disabling hotplug, but then I lose sound, and functionality of my mouse and so I don't quite know how to disable hotplug and keeping all the hardware working. I know the purpose of hotplug is to detect any new hardware change, so if adding and removing hardware is not an issue, than hotplug can be disabled, the question is, how to disable hotplug while keeping the hardware you already have working..
for the soundcard you'd just need to run "alsaconf" and it would auto-detect the card and configure your system accordingly... for the mouse, well, what exactly is the functionality you loose??
 
Old 06-27-2005, 06:55 PM   #9
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
I can't get into KDE, cause the XServer complains that there is no mouse at all
 
Old 06-27-2005, 07:04 PM   #10
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Jeebizz, what mouse are you using (brand/model)?? interface (PS/2, USB, etc.)?? what does the xorg.conf file's mouse section look like when you boot with hotplug and what does it look like when you boot without it??

EDIT: if it's USB i would check if the USB modules are what needs loading... perhaps hotplug is loading the USB modules for you, so when you don't run hotplug your USB modules aren't loaded and your mouse doesn't work?? it's just a thought...


Last edited by win32sux; 06-27-2005 at 07:09 PM.
 
Old 06-27-2005, 07:09 PM   #11
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "6 7"
    Option "Buttons" "7"
I am afraid that I no longer have that kind of information when I disabled hotplug , sorry , and my mouse is a microsoft explorer intellimouse USB, obviously using the PS/2 protocol
 
Old 06-27-2005, 07:15 PM   #12
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by Jeebizz
I am afraid that I no longer have that kind of information when I disabled hotplug , sorry
i'm not sure what you mean... if this part of the xorg.conf is different when you boot without hotplug then all you gotta do is edit it to make it look like it does when hotplug is run...

did ya check the usb drivers??
Code:
lsmod | grep usb
 
Old 06-27-2005, 07:23 PM   #13
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
I am really sorry for not being as clear as I can , ok.. after disabling hotplug, i would still have that information about my mouse in xorg.conf , X would just complain that there is no mouse, and I'm afraid I no longer have the exact error output...

Code:
usb-storage            66176   0 (unused)
usbmouse                2040   0 (unused)
input                   3200   0 [keybdev mousedev hid usbmouse]
usbcore                59308   1 [usb-storage hid usbmouse printer uhci ehci-hcd]
BTW, this is all with hotplug still enabled, I haven't gone back and retried disabling it, but I will very soon now, only because I saw this thread, last time I played with hotplug was about a month or so back, or it may have been longer, thats why I don't even have the exact error outputs..
 
Old 06-27-2005, 07:30 PM   #14
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
cool... let's see if the problem is those modules are missing when you disable hotplug...
 
Old 06-27-2005, 07:34 PM   #15
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
ok to clarify one more thing, the way I disabled hotplug before was through lilo.conf , I think it was something like
Code:
append=nohotplug
but not sure, or should I just chmod -x /etc/rc.d/rc.hotplug ?
 
  


Reply



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
FC4 - 64 ... Time is running at roughly double speed rickh Fedora 9 08-29-2005 11:56 PM
Boost Speed at Boot time Carroarmato0 Linux - General 2 02-27-2005 02:23 AM
File opening/reading speed differs first time and after that Not now, John! Linux - General 2 08-05-2004 09:37 AM
how to speed up the boot time? taoweijia Fedora 4 07-07-2004 08:01 AM
calculating download time/speed juanb Linux - Networking 4 03-19-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:44 AM.

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