boot time could be speeded up!

Chat about anything related to Linux Mint
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
arunarmstrong

boot time could be speeded up!

Post by arunarmstrong »

i find the boot time really slow wish it could be speeded up. :D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18183
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: boot time could be speeded up!

Post by karlchen »

xsog wrote:i find the boot time really slow wish it could be speeded up. :D
What a revolutionary idea! :lol:
Last edited by karlchen on Wed May 21, 2014 7:40 am, edited 2 times in total.
Reason: Moved the thread from "Suggestions & New Ideas" to "Chat about Linux Mint". No new idea in it.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

thanks for agreeing. :D
kurotsugi

Re: boot time could be speeded up!

Post by kurotsugi »

when you said your boot up is slow I hope it's not the main version :3
Lingula

Post by Lingula »

Try profile in grub for a couple of reboots. Then try bootchart and eliminate anything unnecessarily slowing things down.
recluce

Re: boot time could be speeded up!

Post by recluce »

xsog wrote:i find the boot time really slow wish it could be speeded up. :D
Mint 16 boots in less than 5 seconds here*, what exactly would you like to improve? Granted, with old hardware it takes longer, but that can hardly be improved by OS design.

*boot time from Grub Menu to Login Screen (Core i7, UEFI boot, SSD)
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

recluce wrote:
xsog wrote:i find the boot time really slow wish it could be speeded up. :D
Mint 16 boots in less than 5 seconds here*, what exactly would you like to improve? Granted, with old hardware it takes longer, but that can hardly be improved by OS design.

*boot time from Grub Menu to Login Screen (Core i7, UEFI boot, SSD)
takes 5 mins for me and hardware is only 2 years old.
User avatar
karlchen
Level 23
Level 23
Posts: 18183
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: boot time could be speeded up!

Post by karlchen »

Hello, xsog.

5 seconds as well as 5 min. seem to be really extreme values.
Personally I have never seen a machine that managed to make the way from the Grub boot menu to the MDM greeter logon screen in 5 seconds. But none of the machines here has got an SSD. They all boot from good old SATA II disks.
The average time here will be up to 60 seconds from Grub boot menu to the MDM greeter screen. And anything between 15 sec. and 45 sec. once the logon credentials have been confirmed by pressing the return key till the fully functional desktop will be displayed.

5 min. seem to be an unreasonably long timespan. This suggests that there must be one or more processes which cause substantial delays. It is not too likely that this points to a design flaw, rather to some kind of configuration issue on your system.

The logfile /var/log/syslog where the whole startup steps get logged and which also logs pretty precise timestamps might give hints where long delays occur.

Kind regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

thanks karl for the help. :D
recluce

Re: boot time could be speeded up!

Post by recluce »

karlchen wrote:Hello, xsog.

5 seconds as well as 5 min. seem to be really extreme values.
Personally I have never seen a machine that managed to make the way from the Grub boot menu to the MDM greeter logon screen in 5 seconds. But none of the machines here has got an SSD. They all boot from good old SATA II disks.
The average time here will be up to 60 seconds from Grub boot menu to the MDM greeter screen. And anything between 15 sec. and 45 sec. once the logon credentials have been confirmed by pressing the return key till the fully functional desktop will be displayed.

5 min. seem to be an unreasonably long timespan. This suggests that there must be one or more processes which cause substantial delays. It is not too likely that this points to a design flaw, rather to some kind of configuration issue on your system.

The logfile /var/log/syslog where the whole startup steps get logged and which also logs pretty precise timestamps might give hints where long delays occur.

Kind regards,
Karl
I agree that the 5 seconds is extreme - this is a powerful high-end desktop with a really fast SSD on a SATA III channel. But it shows what is possible. For comparison: older core i7 laptop with SSD on SATAII channel: about 10 to 15 seconds, Intel NUC (core i3 with mSATA SSD) about 15 seconds, Intel Atom with old notebook hard disk about 90 sec.

The 5 minutes show that something is wrong.
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

it could be becuase my hdd is ide and running through a usb adapter into my sata pc
eanfrid

Re: boot time could be speeded up!

Post by eanfrid »

Ahem... this could be even slower if you were running Mint from 3.5" floppies :mrgreen:

Seriously: maybe your hard drive is not in a very good health, taking ages to read data, too.
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

my hdd is only 2 months old
eanfrid

Re: boot time could be speeded up!

Post by eanfrid »

2 out of the 3 HDD I bought recently were defective from the start or at least in less than 1 month :) Check SMART data with:

Code: Select all

sudo smartctl -a /dev/sda
DrHu

Re: boot time could be speeded up!

Post by DrHu »

You can play around with boot loading
https://wiki.ubuntu.com/BootCharting
https://wiki.archlinux.org/index.php/Bootchart
--if it really important to get the fastest boot available on your specific machine..

Other issues are the number and types of service started by the OS..
http://ubuntuforums.org/showthread.php?t=89491
--you shouldn't select everything shown, just items you research and decide can work for you.
In terminal

Code: Select all

service --status-all
http://www.cyberciti.biz/tips/how-to-co ... vices.html
http://superuser.com/questions/490291/c ... -in-ubuntu
  • Don't know if they keep it available on their repository, but you likely could still obtain it elsewise
--another option, like chkconfig
http://askubuntu.com/questions/19320/ho ... e-services
--Ubuntu concepts on this..

http://askubuntu.com/questions/10290/ho ... boot-speed
http://www.howtogeek.com/115797/6-ways- ... up-ubuntu/
http://www.upubuntu.com/2012/06/11-tips ... nning.html
js3915

Re: boot time could be speeded up!

Post by js3915 »

A ton depends on packages installed as well... It will be interesting to see how boot is effected once Ubuntu goes to systemD

Though i can get my arch to boot under 15 seconds with gui even.. Non graphical arch around 8 seconds...Both from cold power on button to login prompt exact timing unknown... Windows 8 same system is 15-20 seconds actual timed from power on to login screen.
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

eanfrid wrote:2 out of the 3 HDD I bought recently were defective from the start or at least in less than 1 month :) Check SMART data with:

Code: Select all

sudo smartctl -a /dev/sda
ok thanks hdd is western digital.
arunarmstrong

Re: boot time could be speeded up!

Post by arunarmstrong »

DrHu wrote:You can play around with boot loading
https://wiki.ubuntu.com/BootCharting
https://wiki.archlinux.org/index.php/Bootchart
--if it really important to get the fastest boot available on your specific machine..

Other issues are the number and types of service started by the OS..
http://ubuntuforums.org/showthread.php?t=89491
--you shouldn't select everything shown, just items you research and decide can work for you.
In terminal

Code: Select all

service --status-all
http://www.cyberciti.biz/tips/how-to-co ... vices.html
http://superuser.com/questions/490291/c ... -in-ubuntu
  • Don't know if they keep it available on their repository, but you likely could still obtain it elsewise
--another option, like chkconfig
http://askubuntu.com/questions/19320/ho ... e-services
--Ubuntu concepts on this..

http://askubuntu.com/questions/10290/ho ... boot-speed
http://www.howtogeek.com/115797/6-ways- ... up-ubuntu/
http://www.upubuntu.com/2012/06/11-tips ... nning.html
thanks for the help :)
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: boot time could be speeded up!

Post by kmb42vt »

xsog wrote:it could be becuase my hdd is ide and running through a usb adapter into my sata pc
Okay, sounds like you're running an external IDE HDD via a USB 2 connection into your PC, yes? That's the problem right there. It doesn't matter how old your PC or your HDD is. Compared to an internal HDD hooked into either either an IDE or Sata connection, a USB 2 connection's throughput is dead slow in comparison.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
eanfrid

Re: boot time could be speeded up!

Post by eanfrid »

Like I said earlier, using a PATA HDD through an USB interface is slow, especially if USB throughput is weak...
eanfrid wrote:Ahem... this could be even slower if you were running Mint from 3.5" floppies :mrgreen:

Seriously: maybe your hard drive is not in a very good health, taking ages to read data, too.
xsog wrote:
eanfrid wrote:2 out of the 3 HDD I bought recently were defective from the start or at least in less than 1 month :) Check SMART data with:

Code: Select all

sudo smartctl -a /dev/sda
ok thanks hdd is western digital.
It is not the answer that I expected :) What does the command ouputs for these lines:

Code: Select all

Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       
  3 Spin_Up_Time            0x0027   100   253   021    Pre-fail  Always       -       
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -      
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       
194 Temperature_Celsius     0x0022   101   101   000    Old_age   Always       -       
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       
Locked

Return to “Chat about Linux Mint”