Extremely long boot time

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

Re: Extremely long boot time

Postby feffer on Mon Apr 11, 2011 7:57 pm

Besides, dmesg another simple thing to try is disable the boot splash screen so that the boot text can be seen. On new machines, this normally scrolls by VERY quickly, so if it hangs somewhere that may be a problem area.

I think there are some simple ways to disable the splash screen, but I do it through a custom grub entry which is a bit more involved.

feffer
feffer
Level 3
Level 3
 
Posts: 148
Joined: Mon Jul 07, 2008 7:49 pm

Linux Mint is funded by ads and donations.
 

Re: Extremely long boot time

Postby blacksilva on Mon Apr 11, 2011 9:35 pm

thanks feffer. mine hung from a couple seconds in to around 15-17 seconds. Which turns out that when it hung was when it was searching for the floppy drive. O and i never had a splash.

O and just curious. Is your name F'er?
Image
LMDE 10 running on my Phenom II X4 955 Black @ 3.2GHz, Nvidia GeForce GTX 460, 2GBs of DDR2, and 250GB HDD.
blacksilva
Level 1
Level 1
 
Posts: 42
Joined: Mon Mar 28, 2011 10:39 pm

Re: Extremely long boot time

Postby lmintnewb on Mon Apr 11, 2011 9:52 pm

Thought to add summin,

But originally was like he's using lmde, not Mint 10 main ... like I am. So thought it wouldn't apply. Then realized lmde still has gnome with the Mint magic tools added to it. So perhaps the layout is basically the same. In the control center in gnome Mint 10. There's a menu item called startup applications ( I believe ). You might want to click on that and uncheck some of what's starting when you bootup too. On top of whatever you got rid of with bum.

Wondering if I could get some benefit out of getting rid of this powernowd package too ? Though this comp is a dinosaur ... Like 8 to 10yrs old or so. Could one of the experienced guys in the thread clarify for me ... advisable on this comp too ? Thanks for all the tips again RR & H, every lil bit helps at this stage of the game. Glad ya got it pepped up some blacksilva.
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Extremely long boot time

Postby blacksilva on Mon Apr 11, 2011 10:14 pm

Yeah i have already been in the startup applications. thanks though.
Image
LMDE 10 running on my Phenom II X4 955 Black @ 3.2GHz, Nvidia GeForce GTX 460, 2GBs of DDR2, and 250GB HDD.
blacksilva
Level 1
Level 1
 
Posts: 42
Joined: Mon Mar 28, 2011 10:39 pm

Re: Extremely long boot time

Postby lmintnewb on Thu Apr 14, 2011 1:51 am

Hey blacksilva found summin ya might like.

One obsessive software tweaker to another. :D Thought I'd letcha know about summin I came across today. Talking about the swappiness thing. Might not improve boottime so much. But is supposed to improve general performance and on a system with more than enough RAM ... like yours. Setting it to summin like 10 surely wouldn't hurt regardless.

Or even 0 ... but might just be me ... I prefer a safety net and scuttlebutt around the web seemed to advise that vm.swappiness=10 was about right for desktops. Without further ado ...

http://sites.google.com/site/easylinuxt ... o-high:-Ub

Actually did this myself of course. Before advising anyone else to and it works as described. Bunch of people in the forums mentioned adjusting swappiness from the default of 60. But their instructions are really vague as to where to add the code or how to. Also what they described didn't work. I tried adding what they said, where they said and nuttin. The procedure outlined in the linux article in that link works.

note though: In relation to editing your sysctl.config file. With this ... in mine there was already a hash mark (#) at the bottom. So I didn't have to add another.

# <This was already there at the bottom of the file.
# Decrease swap usage to a workable level
vm.swappiness=10
^ So I only had to add these two lines to the bottom of the file, hit save and reboot.

When I run the terminal command to check my swappiness value. ( below )

cat /proc/sys/vm/swappiness


It comes back as 10 now, like it's supposed to . I doubt adding an extra # ( hash tag ) would matter either way. Just making sure people know how to do this with their comps, if they come across the thread.
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Extremely long boot time

Postby blacksilva on Fri Apr 15, 2011 2:48 pm

alright thanks a lot mint newb. ill be sure to check that out.
Image
LMDE 10 running on my Phenom II X4 955 Black @ 3.2GHz, Nvidia GeForce GTX 460, 2GBs of DDR2, and 250GB HDD.
blacksilva
Level 1
Level 1
 
Posts: 42
Joined: Mon Mar 28, 2011 10:39 pm

Re: Extremely long boot time

Postby kwevej on Sat Apr 16, 2011 2:03 pm

This will speed up the booting for sure:
Code: Select all
apt install readahead-fedora
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: Extremely long boot time

Postby lmintnewb on Sat Apr 16, 2011 3:43 pm

Looked cool ... didn't install it as this box is not RAM rich. Also note this thread, though not sure if it's still valid. But it seemed to suggest that app has issues with ext4 formatting and works more with ext2 and ext3 type. Which many folks, includ the OP more than likely are using ext4 w their comps.

http://dailypackage.fedorabook.com/inde ... ahead.html


Could always remove it later or whenever they want though I guess. If it doesn't work out for any particular persons system. That info in the link I found could also be outdated. The software mightve been updated since or summin. Kwevej, are you using it yourself and if so is your system ext4 ? Also what kind of RAM have you found to be the cut off for this app being useful ?

My comp is RAM deprived, cause I'm too lazy to install another chip. :D

Anything that speeds up the OS sounds good within reason though. Gets this mental image of people sitting at their comps with a stop watch checking their boot times, lol. Screaming, ha !!! 40.4 secs !!! In your face all you slow loaders of this world !
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Extremely long boot time

Postby kwevej on Sun Apr 17, 2011 5:07 am

the box doesn't need to be rich in RAM - it doesn't eat any extra memory for system usage
The readahead affects only boot-up time - actually it starts after kernel init, and halts when boot-up is finished.
The trick is, that it loads data into memory while hardware is detected, so when needed later during the boot, they are already fetched into mem.

I personally use the readahead with ext4. No problems at all.
Just try it and you'll see.

It needs one extra reboot prior normal read-ahead operation (the first reboot after installation is used for statistics generation / i.e. making the readahead strategy)
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: Extremely long boot time

Postby lmintnewb on Sun Apr 17, 2011 5:22 am

That link I put up now notice was from 2007, shrugs.

I've already done the profiling thing in grub. Was supposed to speed things up. Everything went ok, but changed it back probably before getting any benefit, if any benefit were to be had. Don't need the readahead thing, I'm content to wait a whole 40 secs for the computer to boot-up, lol.

If I want it to be up and running any faster. Would just set it to suspend or leave it running all the time. Thanks for mentioning it though. Could help some folks out. This threads turned into a lil bit of a Mint tweaker guide. Would be nice if folks who try it post back with success or fail reports. :D
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Extremely long boot time

Postby blacksilva on Sun Apr 17, 2011 10:49 am

kwevej wrote:This will speed up the booting for sure:
Code: Select all
apt install readahead-fedora


thanks for that advice but i have switched over to opensuse and cant find it. but im pretty satisfied with the 28 seconds it takes opensuse with kde to boot anyways :D
Image
LMDE 10 running on my Phenom II X4 955 Black @ 3.2GHz, Nvidia GeForce GTX 460, 2GBs of DDR2, and 250GB HDD.
blacksilva
Level 1
Level 1
 
Posts: 42
Joined: Mon Mar 28, 2011 10:39 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 3 guests