Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

*Nix Boot Times


  • Please log in to reply
164 replies to this topic

#31 NickAu

NickAu

    Bleepin Grumpy Aussie


  •  Avatar image
  • Members
  • 26,114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:10:11 PM

Posted 20 September 2016 - 04:47 PM

nick@nick-MS-7817:~$ sudo systemd-analyze
[sudo] password for nick:
Startup finished in 13.560s (firmware) + 3.914s (loader) + 1.482s (kernel) + 8.604s (userspace) = 27.561s
 


"When God shuts a Window, he opens a Linux." —Linus 8:7

 

 

 

 


BC AdBot (Login to Remove)

 


#32 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...


  •  Avatar image
  • Moderator
  • 4,816 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:12:11 PM

Posted 20 September 2016 - 06:23 PM

nick@nick-MS-7817:~$ sudo systemd-analyze
[sudo] password for nick:
Startup finished in 13.560s (firmware) + 3.914s (loader) + 1.482s (kernel) + 8.604s (userspace) = 27.561s
 

 

I'd say that sounds about right for your hardware, etc. As Al pointed out a few posts back, though, after logging in the desktop still has to load, network has to establish a connection, etc, etc. When I say 40-50 seconds to 'ready-to-go' in my Pups, that's exactly what I mean; everything is loaded, set-up, and  ready to go...  :thumbup2:

 

Which I'm quite happy with..!

 

 

Mike.  :wink:


Edited by Mike_Walsh, 20 September 2016 - 06:25 PM.

Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

forum-siggy-small.png
 
 


#33 Viper_Security

Viper_Security
  • Topic Starter

  •  Avatar image
  • Banned
  • Member rank image
  • 907 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:11 AM

Posted 20 September 2016 - 06:41 PM

 

nick@nick-MS-7817:~$ sudo systemd-analyze
[sudo] password for nick:
Startup finished in 13.560s (firmware) + 3.914s (loader) + 1.482s (kernel) + 8.604s (userspace) = 27.561s
 

 

I'd say that sounds about right for your hardware, etc. As Al pointed out a few posts back, though, after logging in the desktop still has to load, network has to establish a connection, etc, etc. When I say 40-50 seconds to 'ready-to-go' in my Pups, that's exactly what I mean; everything is loaded, set-up, and  ready to go...  :thumbup2:

 

Which I'm quite happy with..!

 

 

Mike.  :wink:

 

im not sure why people keep doubting what i say, it seems like every post i make someone has to doubt and counter it in ANYWAY possible. even with proof, "i must be doing something wrong"

 

here it is AGAIN:

 

vip3r@vip3r-M1530 ~ $ sudo systemd-analyze
Startup finished in 3.894s (kernel) + 2.053s (userspace) = 5.948s

Edited by Viper_Security, 20 September 2016 - 06:57 PM.


#34 NickAu

NickAu

    Bleepin Grumpy Aussie


  •  Avatar image
  • Members
  • 26,114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:10:11 PM

Posted 21 September 2016 - 01:24 AM

It looks like Mint and Ubuntu handle boot time reporting differently,

 

This is my output.

nick@nick-MS-7817:~$ sudo systemd-analyze
[sudo] password for nick:
Startup finished in 13.560s (firmware) + 3.914s (loader) + 1.482s (kernel) + 8.604s (userspace) = 27.561s

And this is yours.


vip3r@vip3r-M1530 ~ $ sudo systemd-analyze
Startup finished in 3.894s (kernel) + 2.053s (userspace) = 5.948s

It looks like Mint is not reporting firmware and loader times like Ubuntu is.


"When God shuts a Window, he opens a Linux." —Linus 8:7

 

 

 

 


#35 cat1092

cat1092

    Bleeping Cat


  •  Avatar image
  • Helper Emeritus
  • 7,092 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:07:11 AM

Posted 21 September 2016 - 01:53 AM

Viper_Security, out of curiosity, are you using EasyBCD 2.2 or 2.3 to control the booting? :)

 

Because I'm getting not as fast, though similar report of the command. 

 

 

cat@cat-ASRockPro3 ~ $ sudo systemd-analyze

Startup finished in 3.466s (kernel) + 10.904s (userspace) = 14.370s

 

Note that this is on the slowest, and oldest, SSD I own, a 2011 model 128GiB Crucial m4. I don't have a standalone Linux PC, though can check that of my wife's, where the dual boot isn't setup that way (with EasyBCD), rather native Grub boot to make it simple for her. The only issue may be that it's a SATA-2 based notebook. :)

 

EDIT: The command doesn't run on hers, may be to do with the dual booting with W10 Pro (my side of the notebook). :thumbup2:

 

Still boots fast though, yet I've never seen any PC fully boot through the UEFI/BIOS though signing in, in under 5 seconds, this would be assuming no password, I'd be wasting another 4-5 seconds typing in mine (maybe why my 'userspace' shows 10.904s). :P

 

Cat


Edited by cat1092, 21 September 2016 - 02:09 AM.

Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 

#36 Viper_Security

Viper_Security
  • Topic Starter

  •  Avatar image
  • Banned
  • Member rank image
  • 907 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:11 AM

Posted 21 September 2016 - 12:43 PM

Not sure which version of EasyBCD im using, whatever linux mint 18 uses. and i just started up my lappy and ran systemd and here it is:

 

vip3r@vip3r-M1530 ~ $ sudo systemd-analyze
[sudo] password for vip3r: 
Startup finished in 3.837s (kernel) + 3.175s (userspace) = 7.012s
vip3r@vip3r-M1530 ~ $ 
 
 
im not sure why i do not see firmware in my list, but loader most likely didn't show up because mint 18 is the only OS on this machine so i don't need to pick one in GRUB.


#37 Al1000

Al1000

  •  Avatar image
  • Helper Emeritus
  • 8,519 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:11 PM

Posted 21 September 2016 - 03:35 PM

Whether or not systemd-analyze reports firmware and loader times, seems to depend on the hardware. Here are the outputs for Mint 18 Cinnamon and Ubuntu 16.04 on my desktop pc (which I saved to file earlier). Both Mint and Ubuntu are set to automatic log-in for the purpose of this test.
 
al@my-desktop-pc:~$ cat /media/al/Mint/home/al/mint_startup 
Startup finished in 9.719s (kernel) + 13.850s (userspace) = 23.569s
al@my-desktop-pc:~$ cat /media/al/Ubuntu/home/al/ubuntu_startup 
Startup finished in 7.122s (kernel) + 18.625s (userspace) = 25.748s
Re other points raised in the thread: The command "systemd-analyze" will only work on the newer operating systems that have systemd. If the command doesn't work, you won't have systemd.

Mint doesn't come with EasyBCD, so if you didn't install it separately you won't have it.

Edited by Al1000, 21 September 2016 - 03:36 PM.


#38 Al1000

Al1000

  •  Avatar image
  • Helper Emeritus
  • 8,519 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:11 PM

Posted 21 September 2016 - 03:54 PM

vip3r@vip3r-M1530 ~ $ sudo systemd-analyze
Startup finished in 3.894s (kernel) + 2.053s (userspace) = 5.948s

 
 

...and i just started up my lappy and ran systemd and here it is:

vip3r@vip3r-M1530 ~ $ sudo systemd-analyze
[sudo] password for vip3r: 
Startup finished in 3.837s (kernel) + 3.175s (userspace) = 7.012s
vip3r@vip3r-M1530 ~ $


Interesting that on everyone else's computers, who have run systemd-analyze in this thread and posted times, that userspace takes quite a bit longer than kernel to load. Whereas on both of your computers, userspace loads faster than kernel.

#39 Viper_Security

Viper_Security
  • Topic Starter

  •  Avatar image
  • Banned
  • Member rank image
  • 907 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:11 AM

Posted 21 September 2016 - 04:14 PM

Yeah i noticed that as well, not exactly sure why. 



#40 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:11:11 AM

Posted 21 September 2016 - 06:34 PM

Interesting that on everyone else's computers, who have run systemd-analyze in this thread and posted times, that userspace takes quite a bit longer than kernel to load. Whereas on both of your computers, userspace loads faster than kernel.

Hmm!

user@debian:~$ sudo systemd-analyze
Startup finished in 20.885s (kernel) + 5.557s (userspace) = 26.442s

HDD frugal install, BIOS, grub4dos (menu.lst) boots initrd, vmlinuz, which loads filesystem.squashfs (lzo level 1 compressed filesystem on the same ext3 partition as the save (persistence) area and grub4dos/menu.lst). With changes preserved in memory (script to flush them to disk if I want to make them persist across reboots).

I chose lzo level 1 as measurements indicated that to be the best trade off, around half as much IO (compressed), 4 cores decompressing that at 400MB/core = faster than disk IO of non compressed (twice as much IO).

Perhaps those differences in timings are down to IO and/or pre-processing (reading the inodes of the large (1.9GB) squashed filesystem).

Just guessing.

Edited by rufwoof, 21 September 2016 - 06:39 PM.


#41 Al1000

Al1000

  •  Avatar image
  • Helper Emeritus
  • 8,519 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:11 PM

Posted 21 September 2016 - 06:42 PM

If your userspace is loading faster than the kernel because of your set-up, that wouldn't explain why Viper_Security's timings are the same in that respect.

#42 Viper_Security

Viper_Security
  • Topic Starter

  •  Avatar image
  • Banned
  • Member rank image
  • 907 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:11 AM

Posted 21 September 2016 - 06:49 PM

If your userspace is loading faster than the kernel because of your set-up, that wouldn't explain why Viper_Security's timings are the same in that respect.

agreed, and i've ran systemd-analyze 3 times (one after each start up to test) and all 3 are +/-   1-2 seconds.

 

not EXACTLY sure why because this isn't the best nor the fastest comp in the world but theoretically the towers should boot faster (with many factors of course)



#43 NickAu

NickAu

    Bleepin Grumpy Aussie


  •  Avatar image
  • Members
  • 26,114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:10:11 PM

Posted 21 September 2016 - 07:35 PM

I wonder if all this has anything to do with the way Linux is installed,

My Ubuntu is installed in UEFI mode.


"When God shuts a Window, he opens a Linux." —Linus 8:7

 

 

 

 


#44 pcpunk

pcpunk

    High Tech Hippie


  •  Avatar image
  • Members
  • 16,981 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:07:11 AM

Posted 21 September 2016 - 08:43 PM

not EXACTLY sure why because this isn't the best nor the fastest comp in the world but theoretically the towers should boot faster (with many factors of course)

Are you still talking about the XPS M1530 because it;s not clear to me?  Mint18 on one and arch on another?  Both are laptops it seems?  If I'd started a technical Thread I would include all these things just for comparison, and probably at the start.

 

I don't think it's correct to not include all factors, wouldn't it be all system components that would be factored in?

 

The XPS should be quite fast with one of these modern linux OS's on it, after all...it is one of there best albeit a little old.  And it's a gaming laptop also, so I'd assume it to be quite fast even for a lappy. 

 

1. What about the BIOS, that might be a factor also right: suggestions very welcome!  I couldn't find much via google about this, except for changing some settings and Maybe a BIOS flash for some older models.  It seems to me that the BIOS would be a big part of the Boot Times.

 

2. What about the CPU?:  Even in my limited experience the CPU is always the weaker link, as opposed to RAM especially discussing Boot Times.  I'll bet the CPU is maxed out at Boot No?

 

3. Distro has got to be a factor also right?

 

4. As Nick suggested, perhaps Install Procedure is a part also?

 

5. Boot Order was also mentioned in one article.  Even if Booting to the HD, if it is set to boot from Disk or USB, it will take a little more time skipping over those choices.

 

This is not the best article because it is quite old -2010- but just did a quick search and found it a bit interesting.  This one thing I didn't know, and had been wondering for a while about HDD Speeds in rpm.  I think this will answer one of Viper's questions also, about 5400 and 7200 drive speeds.  The speeds I posted were from a 7200rpm HDD and maybe that is why it Boots so darn slow.  This seems to be from some good sources, from Phoenix and Intel:

 

"Doran: The faster your hard drive, the longer it takes to spin it up from a standing start. 7200 [rpm] takes longer than 5400. Changing that hardware can make a significant difference. It's around five seconds for a 7200-rpm drive to come up to speed. Obviously, an SSD can be a big contributor there. It takes virtually no time."

https://www.cnet.com/news/getting-a-windows-pc-to-boot-in-under-10-seconds/

 

Okay, just some ideas I had, hope to see what others think of them.


Edited by pcpunk, 21 September 2016 - 08:48 PM.

If I don't reply right away it's because I'm waiting for Windows 10 to Update.

:hysterical: 

eps1.0_hellofriend.mov_mr_robot

"I once spent two hours on the phone waiting to speak with HP Customer Service to complain about HP Customer Service" -Dr. Sheldon Cooper

#45 Viper_Security

Viper_Security
  • Topic Starter

  •  Avatar image
  • Banned
  • Member rank image
  • 907 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:11 AM

Posted 21 September 2016 - 08:57 PM

i did NOT exclude ANY factors haha. and yes its still the XPS i  cannot afford a new one atm. i said "With many factors of course"

 

and i AM using a solid state drive.

 

arch was installed on my ACER not the XPS (i wiped and did clean install of mint 18)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users