You are not logged in.

#1 2012-09-08 19:58:28

saalty
Member
Registered: 2012-04-06
Posts: 90

Launching application first time too slow

Hi

I installed 32bit Arch on my Acer Travelmate 5744Z laptop few days ago. Before I used Arch Linux on my desktop PC for years. There everything works fine, but on laptop after the boot launching applications first time is really slow for example chromium needs more than 5 sec. Boot process is fast, I have no problem with it. I read this and hdparm gives more than 40 MB/s. After first launch they works fine. I tried to use preload but no changes. I have a problem with MOC player too... I really like this player but starting play is slow too and needs a few second. I use it with autonext and shuffle and after starting song change is without any problem. But if I stop it play starts very slow again....


Any idea what should I do?

Thanks in advance

Last edited by saalty (2012-09-08 20:00:58)

Offline

#2 2012-09-08 20:35:08

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: Launching application first time too slow

E4rat could help. On my system, it really speeds up both boot and application launch times.

Offline

#3 2012-09-08 22:23:28

saalty
Member
Registered: 2012-04-06
Posts: 90

Re: Launching application first time too slow

Should I replace INITRD ../initramfs-linux.img  with INITRD /sbin/e4rat-collect in syslinux.cfg in first step?

Offline

#4 2012-09-08 22:36:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Launching application first time too slow

No. I don't even know why you would think that.

https://wiki.archlinux.org/index.php/E4 … it_to_work


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-09-08 22:45:48

saalty
Member
Registered: 2012-04-06
Posts: 90

Re: Launching application first time too slow

In e4rat-collect part wrote: "To have e4rat collect a list of files you will need to append init=/sbin/e4rat-collect to your kernel parameters." I use syslinux as bootlader and I dont know should I replace it or append it in INITRD part...

Offline

#6 2012-09-08 22:47:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Launching application first time too slow

The initrd is separate to the kernel. In syslinux, you should add "init=..." to your APPEND line.

Last edited by WorMzy (2012-09-08 22:48:29)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2012-09-09 09:42:00

saalty
Member
Registered: 2012-04-06
Posts: 90

Re: Launching application first time too slow

Thanx for the help guys , e4rat looks like solved my problem

Offline

Board footer

Powered by FluxBB