You are not logged in.

#201 2011-08-20 20:48:52

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Well, for one thing different kernel files and for example nvidia driver files are loaded for different kernels. Other files are the same so I might try just adding e4rat-preload and see what happens.

Offline

#202 2011-08-20 21:02:58

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: e4rat - reduce boot time (into X) by some 50% for ext4

swanson wrote:

Well, for one thing different kernel files and for example nvidia driver files are loaded for different kernels. Other files are the same so I might try just adding e4rat-preload and see what happens.

what should happen, is that e4rat will work, and you won't be able to see any real measurable difference between the kernel that you setup e4rat with vs. your other kernels. ~ this is the case for me anyway.

Offline

#203 2011-08-21 02:55:30

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Sounds great!

Offline

#204 2011-08-21 03:17:39

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: e4rat - reduce boot time (into X) by some 50% for ext4

swanson wrote:

Sounds great!

That's what i thought, when i tested out the theory wink

I think in the case of the kernel and/or nvidia driver ~ they aren't the files that e4rat is going to give a big reduction in boot time. I think it tends to be the other stuff (like DE/WM , applications, etc) that will benefit the most. At least that is my own observation, from using e4rat on a couple Archlinux installs now, amongst different kernels, and the like.

Offline

#205 2011-08-22 14:16:26

Saint0fCloud
Member
Registered: 2009-03-31
Posts: 137

Re: e4rat - reduce boot time (into X) by some 50% for ext4

corruptz0r wrote:

I am having trouble getting e4rat-collect to create startup.log.

I added init=/sbin/e4rat-collect to my grub bootup, and dmesg says (verbose 31):

<snip>

I am on kernel 3.0.1-ck with auditing and system-call auditing enabled.

Edit: anyone, please?  I still can't find a solution and have spent an entire day sifting through logs and documentation.  No joy.

Check your kernel config again cause it sounds like you don't have AUDITSYSCALL enabled.

Offline

#206 2011-08-29 10:17:11

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

https://wiki.archlinux.de/title/E4rat

I translated the wiki entry to german smile


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#207 2011-08-29 12:05:30

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Labello wrote:

https://wiki.archlinux.de/title/E4rat

I translated the wiki entry to german smile

Das sieht echt gut aus!

Looks really good. Thanks for your efforts.


To know or not to know ...
... the questions remain forever.

Offline

#208 2011-09-02 19:43:13

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: e4rat - reduce boot time (into X) by some 50% for ext4

On my laptop, I gained something like 8-9 seconds on bootup...but may be because I had already optimize it!
But now chromium, lxterminal, audacious, pidgin and mplayer starts just in 1 second or so...even together!very nice!
But I'm having a strange problem, just to boot ago: in gnome3 wallpaper it's black or ruined, I don't understand why...may be is something that will fix alone...I'll see!
Anyway...Great job!!!
Thanks

Offline

#209 2011-09-05 19:29:50

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Shaved about 60% off my boot time. I am amazed. I had to change all of my sleep timeouts in my startup scripts. Thanks for this toad.

Offline

#210 2011-09-15 00:54:49

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: e4rat - reduce boot time (into X) by some 50% for ext4

finally got around to trying this out. I didn't notice much difference in boottime from grub to lxdm. Where it really takes off though is from lxdm to all my regular apps up and running. The difference is very noticeable! All my regular apps are incredibly snappy, the GIMP actually loads instantly now. Great app, thanks for sharing. smile

Offline

#211 2011-09-15 12:05:06

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

suspending stopped working for me... which worked flawlessly on my ibm t23 until i started using e4rat. but well... since sound stopped working after resuming from suspend and it took almost as long as a cold reboot with e4rat I do not care that much.


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#212 2011-09-24 19:18:20

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Could it be that after a while you have to run e4rat-collect again? I think my boot-up is going slower again :\


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#213 2011-09-25 06:15:33

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

No, not really. But you do have to run it again after major changes to your boot procedure.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#214 2011-09-25 11:41:33

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Can/will it harm my system if I run it again? Also, do I have to run it for each kernel I use? Recently switched to linux-ck


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#215 2011-09-25 19:59:39

ying
Member
From: Austria
Registered: 2010-03-02
Posts: 110

Re: e4rat - reduce boot time (into X) by some 50% for ext4

You should try out readahead-fedora. wink

Offline

#216 2011-09-25 20:04:30

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

ying wrote:

You should try out readahead-fedora. wink

Looks good, but also much harder to set up. E4at is just simple and works too, although I think it feels its slowing down.. :\


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#217 2011-09-25 22:10:59

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Can/will it harm my system if I run it again? Also, do I have to run it for each kernel I use? Recently switched to linux-ck

I just ran it again on both my systems recently, and it seemed to speed things back up a bit…didn't harm anything from what I can tell.

…and AFAIK the only thing you'll have to do to use e4rat-preload with a different kernel is just change the init= in the kernel line in your GRUB config. smile

Last edited by MrCode (2011-09-25 22:11:59)

Offline

#218 2011-09-26 11:51:25

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

JimmySJ84 wrote:

Hi,

Can I use e4rat if I have the /boot partition on ext2? everything else is on ext4.

Salvo

Have you tried it yet? Although Weegee said that it works, it would be nice to hear more success stories before I try it on my netbook (similar to your setup: everything on ext4 except /boot on ext2).

Offline

#219 2011-09-27 08:55:37

ying
Member
From: Austria
Registered: 2010-03-02
Posts: 110

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Unia wrote:
ying wrote:

You should try out readahead-fedora. wink

Looks good, but also much harder to set up. E4at is just simple and works too, although I think it feels its slowing down.. :\

Haha you are joking! Just do a yaourt -S readahead-fedora and two reboots. That is it. And the good thing of readahead-fedora is, that it can be used on every kind of file system and it has ssd support.

Offline

#220 2011-10-12 01:21:07

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Mogger wrote:
JimmySJ84 wrote:

Hi,

Can I use e4rat if I have the /boot partition on ext2? everything else is on ext4.

Salvo

Have you tried it yet? Although Weegee said that it works, it would be nice to hear more success stories before I try it on my netbook (similar to your setup: everything on ext4 except /boot on ext2).

I can answer this now - yes, it works just fine. I gained ~8 s with e4rat, but my boot to the graphical desktop (KDE) is still too slow, around 1.30 minutes. It seems to have gotten even slower now than before - I have a record of 1.22 without anything and 1.17 with readahead-list.

Offline

#221 2011-10-12 05:09:06

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: e4rat - reduce boot time (into X) by some 50% for ext4

ying wrote:
Unia wrote:
ying wrote:

You should try out readahead-fedora. wink

Looks good, but also much harder to set up. E4at is just simple and works too, although I think it feels its slowing down.. :\

Haha you are joking! Just do a yaourt -S readahead-fedora and two reboots. That is it. And the good thing of readahead-fedora is, that it can be used on every kind of file system and it has ssd support.

This made me try readahead-fedora but it simply doesn't work for me. I gained absolutely no improvement in boot time on my desktop. Haven't tried e4rat on it yet either, mind.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#222 2012-02-05 04:22:16

claudecat
Member
Registered: 2012-02-01
Posts: 25

Re: e4rat - reduce boot time (into X) by some 50% for ext4

Just wanted to give a plug to e4rat, which can dramatically speed up your boot time. Shaved 12 seconds off mine... now at 21 seconds from grub to fully loaded KDE with Firefox open. Arch loads faster than my Macpup hd install! Easy to implement and available with a simple pacman -S e4rat.


Why not enjoy a delightful Royal Crown cola?

Offline

#223 2012-02-05 04:32:26

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: e4rat - reduce boot time (into X) by some 50% for ext4

mod action: Merged in claudecat's thread from Newbie Corner; title was "e4rat - get it! use it!". smile


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#224 2012-02-05 18:35:26

bwat47
Member
Registered: 2009-10-07
Posts: 638

Re: e4rat - reduce boot time (into X) by some 50% for ext4

I suggest anyone using this use e4rat-preload-lite from the aur. It massivley decreases the time it takes to preload the files during boot.

I'm getting about 17 seconds to usable kde desktop on a 5400rpm drive with this, just awesome smile

Offline

#225 2012-02-26 16:11:54

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: e4rat - reduce boot time (into X) by some 50% for ext4

bwat47 wrote:

I suggest anyone using this use e4rat-preload-lite from the aur. It massivley decreases the time it takes to preload the files during boot.

I'm getting about 17 seconds to usable kde desktop on a 5400rpm drive with this, just awesome smile

I tried the lite version. It saved some seconds indeed. With normal preload it takes awfully long to preload the files which nullifies any speed advantage
I get for the rest of the boot process. I'm timing from Syslinux to GDM login screen which makes it easy to get an accurate numbers.
Normally it takes 38 seconds on my laptop (5400 rpm harddrive 6 years old) now it takes 33. With the old preload it took 37 seconds.
Sysvinit was just as fast as systemd which I'm using now. Appending "quiet" to the kernel line for less output didn't give me any speed boosts.

Man I feel silly sitting infront of my laptop with a stopwatch lol.

Offline

Board footer

Powered by FluxBB