boot time could be speeded up!

Chat about anything related to Linux Mint

boot time could be speeded up!

Postby xsog on Wed May 21, 2014 6:08 am

i find the boot time really slow wish it could be speeded up. :D
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Linux Mint is funded by ads and donations.
 

Re: boot time could be speeded up!

Postby karlchen on Wed May 21, 2014 7:29 am

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.
User avatar
karlchen
Level 11
Level 11
 
Posts: 3774
Joined: Sat Dec 31, 2011 7:21 am

Re: boot time could be speeded up!

Postby xsog on Wed May 21, 2014 8:15 am

thanks for agreeing. :D
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby kurotsugi on Wed May 21, 2014 8:30 am

when you said your boot up is slow I hope it's not the main version :3
kurotsugi
Level 5
Level 5
 
Posts: 938
Joined: Fri Jan 25, 2013 3:54 am

Postby Lingula on Wed May 21, 2014 10:08 am

Try profile in grub for a couple of reboots. Then try bootchart and eliminate anything unnecessarily slowing things down.
Lingula
Level 4
Level 4
 
Posts: 286
Joined: Tue Apr 23, 2013 12:47 pm

Re: boot time could be speeded up!

Postby recluce on Wed May 21, 2014 10:54 am

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)
recluce
Level 1
Level 1
 
Posts: 26
Joined: Sat Mar 13, 2010 9:57 pm

Re: boot time could be speeded up!

Postby xsog on Thu May 22, 2014 4:15 am

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
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby karlchen on Thu May 22, 2014 4:25 am

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
User avatar
karlchen
Level 11
Level 11
 
Posts: 3774
Joined: Sat Dec 31, 2011 7:21 am

Re: boot time could be speeded up!

Postby xsog on Thu May 22, 2014 4:28 am

thanks karl for the help. :D
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby recluce on Mon May 26, 2014 8:41 pm

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.
recluce
Level 1
Level 1
 
Posts: 26
Joined: Sat Mar 13, 2010 9:57 pm

Re: boot time could be speeded up!

Postby xsog on Sat May 31, 2014 3:08 am

it could be becuase my hdd is ide and running through a usb adapter into my sata pc
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby eanfrid on Sat May 31, 2014 3:39 am

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.
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: boot time could be speeded up!

Postby xsog on Mon Jun 09, 2014 5:57 am

my hdd is only 2 months old
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby eanfrid on Mon Jun 09, 2014 1:58 pm

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
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: boot time could be speeded up!

Postby DrHu on Mon Jun 09, 2014 4:44 pm

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
User avatar
DrHu
Level 16
Level 16
 
Posts: 6895
Joined: Wed Jun 17, 2009 8:20 pm

Re: boot time could be speeded up!

Postby js3915 on Tue Jun 10, 2014 3:54 pm



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.
js3915
Level 3
Level 3
 
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: boot time could be speeded up!

Postby xsog on Wed Jun 11, 2014 8:22 am

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.
User avatar
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby xsog on Wed Jun 11, 2014 8:22 am

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
xsog
Level 2
Level 2
 
Posts: 62
Joined: Wed May 07, 2014 8:38 am

Re: boot time could be speeded up!

Postby kmb42vt on Wed Jun 11, 2014 12:38 pm

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)
User avatar
kmb42vt
Level 5
Level 5
 
Posts: 929
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont

Re: boot time could be speeded up!

Postby eanfrid on Wed Jun 11, 2014 12:45 pm

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      -       
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Linux Mint is funded by ads and donations.
 
Next

Return to Chat about Linux Mint

Who is online

Users browsing this forum: No registered users and 6 guests