You are not logged in.

#1 2012-03-19 14:21:59

Pacopag
Member
Registered: 2011-05-29
Posts: 287

[SOLVED]Chromium first launch slow, subsequent launches like lightning

Hi.  Been running arch on my main system for a while now and I'm totally hooked.  But a couple of weeks ago something very minor started bothering me (no big deal at all, but I can't help myself from posting).  I bought a piece-of-crap netbook that came pre-loaded with Winblows 7.  Naturally, it was so bogged down and unresponsive it was borderline un-usable.  Reluctant to spend the 1.5 days that I require to set up an arch install the way I like it, I just slapped on the latest Lubuntu to see how the netbook would perform with linux.  Of course it works pretty great.  But what I find crazy is that Lubuntu on my crappy netbook launches Chromium WAY faster than Arch on my kick-a$$ i7 desktop (upon first launch after reboot only.  Subsequent instances of Chromium in Arch load faster than my eyes can see).

I know its too small of a deal to even warrant using the server space needed to log this thread (sorry, had to do it), but I'm just wondering if someone can explain the difference to me.  My guess is that Lubuntu somehow pre-loads at start-up time whatever is needed to launch Chromium "right now".  Can I get Arch to do this too?

Last edited by Pacopag (2012-03-23 17:15:17)

Offline

#2 2012-03-19 14:30:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

* you can autostart some apps
* https://wiki.archlinux.org/index.php/Preload
* https://wiki.archlinux.org/index.php/E4rat

Ask on the Lubuntu forums how did they do their magic.

Offline

#3 2012-03-19 15:02:24

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

Wow, thanks. Very interesting.  Which do you recommend and why?  At first glance, I seem to prefer E4rat because the documentation is quite clear, and I like that it doesn't run as a daemon (or did I miss something).

Last edited by Pacopag (2012-03-19 15:05:34)

Offline

#4 2012-03-19 15:05:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

Pacopag wrote:

Which do you recommend and why?

I just autostart my apps. I haven't used any kind of preloading.

Last edited by karol (2012-03-19 15:06:49)

Offline

#5 2012-03-19 15:14:03

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

Thank you for your help.  I'll play around a bit and see what happens.  Cheers.

Offline

#6 2012-03-19 20:41:08

LoBo3268715
Member
From: WI, USA
Registered: 2012-02-23
Posts: 34

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

e4rat works great. I haven't got around to setting it up yet on arch. When I first tried it in linux mint it shaved a good 30 to 40 seconds off my boot time.


"Linux. A big, bad, scary computer operating system known only by people with neck beards."

Offline

#7 2012-03-19 20:45:27

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

Hey, that sounds pretty good.  I haven't tried it yet because I'm worried about the caveat in the docs saying that e4rat will break a partition that was converted to ext4.  I'm pretty sure I formated my partition as ext4, but I do have some files that I transferred to an ntfs partition.  Do you know if I'm safe to use e4rat?

Offline

#8 2012-03-19 23:32:39

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

I did what karol suggested and asked in the Ubuntu forums why lubuntu may launch chromium faster than arch.  Here is the thread http://ubuntuforums.org/showthread.php? … st11777679.  What do you think?

The post by idoitprone got me thinking, is there a disk defragment tool in linux?  I never even thought about it.

Offline

#9 2012-03-20 00:54:57

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

Pacopag wrote:

The post by idoitprone got me thinking, is there a disk defragment tool in linux?  I never even thought about it.

I know in ext2,3,4 the defragmentation is less than 1 or 2%  in the same time jfs and xfs have 10-20% fragmentation
for a ntfs the autodefrag mount option may help

I not know bout btrfs nilfs2 or reiserfs3, but btrfs have compression makin' less space for more info and (i think) less fragmentation


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#10 2012-03-20 10:21:46

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

I use e4rat to shave some boot time (and it is a lot) and also preload to start my applications a lot faster. It works like a charm and I dont want to miss it.

Best regards!

Offline

#11 2012-03-23 17:14:39

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED]Chromium first launch slow, subsequent launches like lightning

So I've been using e4rat and preload for a couple of days.  Just wanted to share my experience.

I found that the savings on boot time by e4rat are minimal (I'd say I saved about 2-3 seconds).
But preload is great!  Everything fires up in the blink of an eye now.  Thanks for you help.

Offline

Board footer

Powered by FluxBB