You are not logged in.

#1 2009-10-01 15:20:22

bobland
Member
Registered: 2009-09-19
Posts: 51

[Solved] 85 Second Boot

I have a new, fresh install using xfce4.  Everything work well, as far as I know.  From grub to xfce4, 35 seconds.  The rest is xfce loading.  To my knowledge the only installed programs outside of defaults are Thunderbird, Shiretoko, Sunbird, SMPlayer, VLC, XSane, and GIMP.  I installed Nautilus when I didn't understand a few things about Thunar but wasn't able to uninstall it due to some bad fiddling so I don't know if it's hanging around or not.  Pacman -R didn't work.

I've read that most distros will boot within 30 seconds.  I don't know if that implies the DE as well so I might very well be in spec.  However, I wouldn't mind if xfce came up faster.

Thanks,
Burt

Last edited by bobland (2009-10-03 17:08:30)

Offline

#2 2009-10-01 15:26:38

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved] 85 Second Boot

I think the 30s boot that you referred usually isn't including loading desktop times, but I'd have to see specific examples. If you want  to get an idea of what things are doing while booting try using bootchart

Offline

#3 2009-10-01 15:33:56

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [Solved] 85 Second Boot

Does xfce give any warnings ?
How does your /etc/hosts file look ? You set that up correctly ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2009-10-01 17:11:59

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: [Solved] 85 Second Boot

bobland wrote:

I installed Nautilus when I didn't understand a few things about Thunar but wasn't able to uninstall it due to some bad fiddling so I don't know if it's hanging around or not.  Pacman -R didn't work.

what is the output of pacman -R nautilus?

Offline

#5 2009-10-01 19:53:03

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: [Solved] 85 Second Boot

xfce4 should be starting in less than 10 seconds on a four-year old PC so obviously something went wrong. Check the logs.

Offline

#6 2009-10-02 19:16:19

bobland
Member
Registered: 2009-09-19
Posts: 51

Re: [Solved] 85 Second Boot

If you want  to get an idea of what things are doing while booting try using bootchart

When I run bootchart-render I get this

/var/log/bootchart.tgz not found

As this is a login manager issue, I don't know how to fix it because AFAIK I'm not using one.  I log in directly to xfce.

How does your /etc/hosts file look

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1               localhost.localdomain   localhost bobland

# End of file

Check the logs

Couldn't find anything amiss.

Offline

#7 2009-10-02 19:49:29

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: [Solved] 85 Second Boot

bobland wrote:

If you want  to get an idea of what things are doing while booting try using bootchart

When I run bootchart-render I get this

/var/log/bootchart.tgz not found

This might be a silly question, but did you add init=/sbin/bootchartd to grub line when booting the system? Also, if you do not use a login manager of any sort you might have to stop bootchart by hand with /sbin/bootchartd stop.

Offline

#8 2009-10-02 22:00:14

bobland
Member
Registered: 2009-09-19
Posts: 51

Re: [Solved] 85 Second Boot

As suggested, I manually stopped bootchartd and then ran render.  Got a bootchart.png but not sure how to interpret it.  Looks like the xfce power manager is not waking up until late in the day.

Here's the png.
http://yfrog.com/03bootchartdp

Thanks,
Burt

Last edited by bobland (2009-10-02 22:22:15)

Offline

#9 2009-10-03 03:51:20

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [Solved] 85 Second Boot

Uh.... why is firefox starting up before/during xfce startup, of all things?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2009-10-03 03:54:18

hecate
Member
Registered: 2008-10-06
Posts: 6

Re: [Solved] 85 Second Boot

Hi the first thing i see in your bootchart is that u start your daemon one by one ..not to say that the dhcp daemon takes forever u must careful choose the daemon u start.... u can tweak that by activating shell concurencie (by preceding with a @ the daemon u want to start in parallel in /etc/rc.conf).
For example my conf are like this: DAEMONS=(@syslog-ng @network @crond @ntpd @sshd @alsa hal pulseaudio)
be careful with certain daemon like hal or pulse who can broke if they are launched with @
The other thing is if u are the only user of your computer perhaps you don't need a graphical login manager and u can directly start your X session.
There's some advandced tweak about your filesystem who can speed up your bootprocess like noatime,nodiratime parameters in fstab, choosing a ext4 filesystem, and u can even disable the fsck verify to improve the boot process but it's more dangerous for your system. Even if i never had a problem with that wink.

Well there's many things u can tweak to improve the boot process there was interesting guide for arch but i don't remember the address. I read an article recently for ubuntu but it's the same principe: http://www.linuxlinks.com/article/20090 … Part1.html

i boot my system in 19s with a small config (dual core E5200) and i got very old harddrives grrrr :
http://yfrog.com/5darch64rctweakp

good luck with tweaking!

Last edited by hecate (2009-10-03 03:56:40)

Offline

#11 2009-10-03 13:59:02

bobland
Member
Registered: 2009-09-19
Posts: 51

Re: [Solved] 85 Second Boot

I'm OK with the Arch boot process.  The problem is getting xfce to boot up within a reasonable time.  75 seconds is NOT reasonable.

How can I block firefox from the boot process?  I had similar problems when running Ubuntu. When loaded in the background, my disk would churn for minutes until I removed it from the autoloader.

Offline

#12 2009-10-03 15:08:23

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [Solved] 85 Second Boot

You should not make firefox start automatically because it will slow down all the other processes.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#13 2009-10-03 16:42:06

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: [Solved] 85 Second Boot

You might  have saved your xfce session when firefox is running.That causes firefox to start automatically  when you login. Just delete your xfce session and you could be fine.


Tamil is my mother tongue.

Offline

#14 2009-10-03 17:08:12

bobland
Member
Registered: 2009-09-19
Posts: 51

Re: [Solved] 85 Second Boot

bharani,
That did the trick!  The other times I tried it I had FF open so no change.  Finally got speed back!!!

Thanks,
Burt

Offline

Board footer

Powered by FluxBB