Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2012, 03:19 AM
musshan musshan is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Is it possible to Booting and Shutdown faster?
Hello All,

I am a new user to PC-BSD. I had previously migrated from Windows XP to Ubuntu. Since not satisfied with Ubuntu (Oneric's) performance in my relatively old machines (5 year old Desktop and Presario F700 laptop), I landed at PC-BSD upon searching.

Currently I have installed PC-BSD only in my laptop. It takes about 2 mins n 30 secs to boot, where as (just for compaision sake, i dont want to go back to) Winxp (fresh install) on the same machine takes just 30sec.

It also takes about 30 secs to shutdown.

Is it possible to reduce these times like atleast in half?

I am a newbie so please help me with detailed how to.

Thank you all for this great OS.
Reply With Quote
  #2  
Old 02-28-2012, 08:20 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 364
Thanks: 3
Thanked 22 Times in 16 Posts
Default
The booting process, and on the other hand the shutdown, is tied to the services that need to be brought online. So reducing the set of services to the minimal is the way to get faster booting and shutdown. Services are controlled via file /etc/rc.conf. Each service has a <service>_enabled="YES" line. You can comment out such line to disable the service at boot. However you have to know which service is required and which not, and have to test it.
There was a good work done by Kris about a fast boot process, search here the forums.
Reply With Quote
  #3  
Old 02-28-2012, 11:32 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 364
Thanks: 3
Thanked 22 Times in 16 Posts
Default
I found it: in your /etc/rc.conf place
Code:
rcfastgui="YES"
Reply With Quote
  #4  
Old 05-05-2012, 07:53 AM
musshan musshan is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Where do I find /etc/rc ? Pls help. Thanks.
Reply With Quote
  #5  
Old 05-05-2012, 08:08 AM
musshan musshan is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I was able to find etc folder under filesystems.But there s only rc.d folder inside. instead of rc folder. what does this mean.

In the above link Kris has asked to place the 2 attachments inside the rc folder.

I am also not able to find the rc_delay.log file under var/log folders. pls help. thanks.
Reply With Quote
  #6  
Old 05-05-2012, 10:03 AM
Weixiong Weixiong is offline
Senior Member
 
Join Date: Jun 2005
Posts: 175
Thanks: 0
Thanked 1 Time in 1 Post
Default
Originally Posted by musshan View Post
Where do I find /etc/rc ? Pls help. Thanks.
.
/etc/rc.conf

The directory is /etc/

The file in that directory is rc.conf

You'll need to either log into a terminal and run an editor as root:

Code:
# ee /etc/rc.conf

##Then add this line:

rcfastgui="YES"
Once you've carefully edited the file press the Esc button, choose save changes, and press the Esc button again to leave the editor.
.
Or open an editor such as Leafpad through the "run command" by right-clicking on the desktop and run it as root to edit that file.

Last edited by Weixiong; 05-05-2012 at 10:49 AM.
Reply With Quote
  #7  
Old 05-05-2012, 08:35 PM
AnbuBlack AnbuBlack is offline
Member
 
Join Date: May 2011
Location: Bucharest, Romania
Posts: 82
Thanks: 8
Thanked 8 Times in 6 Posts
Default
After install a custom kernel on my machine (an celeron M560/4gb ram) and stopping a few services: BSDStats, BlueTooth (hcsecd,sdpd), port jail and using Openbox WM it takes 1:20 to boot in my WM.

Openbox - keep it simple, keep it fast!
__________________
FreeBSD 9.2-STABLE x86-64, Openbox 3.5.0_3 / Awesome wm 3.5.1
Arch Linux x86-64 , Xfce4.10 / Awesome wm 3.5.1
Reply With Quote
  #8  
Old 05-06-2012, 06:21 AM
musshan musshan is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by Weixiong View Post
.
/etc/rc.conf

The directory is /etc/

The file in that directory is rc.conf

You'll need to either log into a terminal and run an editor as root:

Code:
# ee /etc/rc.conf

##Then add this line:

rcfastgui="YES"
Once you've carefully edited the file press the Esc button, choose save changes, and press the Esc button again to leave the editor.
.
Or open an editor such as Leafpad through the "run command" by right-clicking on the desktop and run it as root to edit that file.
Thank you for the guidance. I added that line in he rc.conf file and save. When i shutdown the laptop and booted again. It just about saved me 3 seconds only. I use a compaq presario F700 laptop. It takes 2mins and 11seconds from the time selecting pc-bsd in the bootloader to the login screen.

On the same laptop it takes only about 30-40 secs for windows xp to load.

I like using pc-bsd but this long bootup time and shutdown time is my only fly in the oinment. hope the next version this will be addressed.
Reply With Quote
  #9  
Old 05-06-2012, 09:35 AM
Weixiong Weixiong is offline
Senior Member
 
Join Date: Jun 2005
Posts: 175
Thanks: 0
Thanked 1 Time in 1 Post
Default
Patience is a virtue, grasshopper.

Use that extra 90 seconds to read the FreeBSD Handbook. It will be time well spent.
Reply With Quote
  #10  
Old 05-06-2012, 05:42 PM
Cobalt Cobalt is offline
Senior Member
 
Join Date: Apr 2009
Location: USA
Posts: 447
Thanks: 0
Thanked 10 Times in 10 Posts
Default
I think that a good SSD would help your boot time considerably. My operating systems boot significantly faster with my SSD. If your laptop supports it, I'd buy one of these: http://www.newegg.com/Product/Produc...82E16820139601
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.