Page 1 of 2

boot time could be speeded up!

Posted: Wed May 21, 2014 6:08 am
by arunarmstrong
i find the boot time really slow wish it could be speeded up. :D

Re: boot time could be speeded up!

Posted: Wed May 21, 2014 7:29 am
by karlchen
xsog wrote:i find the boot time really slow wish it could be speeded up. :D
What a revolutionary idea! :lol:

Re: boot time could be speeded up!

Posted: Wed May 21, 2014 8:15 am
by arunarmstrong
thanks for agreeing. :D

Re: boot time could be speeded up!

Posted: Wed May 21, 2014 8:30 am
by kurotsugi
when you said your boot up is slow I hope it's not the main version :3

Posted: Wed May 21, 2014 10:08 am
by Lingula
Try profile in grub for a couple of reboots. Then try bootchart and eliminate anything unnecessarily slowing things down.

Re: boot time could be speeded up!

Posted: Wed May 21, 2014 10:54 am
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)

Re: boot time could be speeded up!

Posted: Thu May 22, 2014 4:15 am
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.

Re: boot time could be speeded up!

Posted: Thu May 22, 2014 4:25 am
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

Re: boot time could be speeded up!

Posted: Thu May 22, 2014 4:28 am
by arunarmstrong
thanks karl for the help. :D

Re: boot time could be speeded up!

Posted: Mon May 26, 2014 8:41 pm
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.

Re: boot time could be speeded up!

Posted: Sat May 31, 2014 3:08 am
by arunarmstrong
it could be becuase my hdd is ide and running through a usb adapter into my sata pc

Re: boot time could be speeded up!

Posted: Sat May 31, 2014 3:39 am
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.

Re: boot time could be speeded up!

Posted: Mon Jun 09, 2014 5:57 am
by arunarmstrong
my hdd is only 2 months old

Re: boot time could be speeded up!

Posted: Mon Jun 09, 2014 1:58 pm
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

Re: boot time could be speeded up!

Posted: Mon Jun 09, 2014 4:44 pm
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

Re: boot time could be speeded up!

Posted: Tue Jun 10, 2014 3:54 pm
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.

Re: boot time could be speeded up!

Posted: Wed Jun 11, 2014 8:22 am
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.

Re: boot time could be speeded up!

Posted: Wed Jun 11, 2014 8:22 am
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 :)

Re: boot time could be speeded up!

Posted: Wed Jun 11, 2014 12:38 pm
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.

Re: boot time could be speeded up!

Posted: Wed Jun 11, 2014 12:45 pm
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      -