[pacman-boot] boot times #112

Closed
opened 2015-06-21 18:03:42 +00:00 by philm · 7 comments
philm commented 2015-06-21 18:03:42 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I think the boot takes way too long with a full mirrorlist.
Should we probably map the language selection to a mirror country?
Ie we would boot livecd with a "localized" mirrorlist.
Do we have enough mirrors to map this?

*Created by: udeved* I think the boot takes way too long with a full mirrorlist. Should we probably map the language selection to a mirror country? Ie we would boot livecd with a "localized" mirrorlist. Do we have enough mirrors to map this?
philm commented 2015-06-22 17:08:59 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

I've to check if pacman-boot get's called after all ...

*Created by: philmmanjaro* I've to check if pacman-boot get's called after all ...
philm commented 2015-06-22 17:12:48 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

It gets called.
I just saw you did snapshot.
Now the fix for pacman-boot script is in all branches.
To explain, 0.8.13 had a bug, and pacman-mirrors and sync was never run.
github.com/manjaro/manjaro-tools-livecd@146f7cb739

*Created by: udeved* It gets called. I just saw you did snapshot. Now the fix for pacman-boot script is in all branches. To explain, 0.8.13 had a bug, and pacman-mirrors and sync was never run. https://github.com/manjaro/manjaro-tools-livecd/commit/146f7cb73973c9132eea35824e11793744e83b27
philm commented 2015-06-25 00:51:23 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Kirek

pacman-boot is broken in systemd (it doesn't get called, no service named pacman-boot), and we are lucky it is because this little script can easily add a few minutes to the boot times (at least 1-2 minute checking the mirrors, an then a few more minutes downloading the databases, because sometimes lowest ping doesn't mean best speed).

tl;dr: pacman-boot should be completely removed.

After all when starting the desktop pamac or octopi will refresh the database again.

That being said building a localized mirrorlist depending on the selected language is not a bad idea, but should be done without pinging anything, and if no keyboard is selected (efi boot), we should randomize the mirrorlist so it doesn't always default to the africa mirror, which is pretty slow for the majority of people.
This way when the desktop boots, and pamac/octopi refresh the database it won't be as slow as it is right now.

*Created by: Kirek* pacman-boot is broken in systemd (it doesn't get called, no service named pacman-boot), and we are lucky it is because this little script can easily add a few minutes to the boot times (at least 1-2 minute checking the mirrors, an then a few more minutes downloading the databases, because sometimes lowest ping doesn't mean best speed). tl;dr: pacman-boot should be completely removed. After all when starting the desktop pamac or octopi will refresh the database again. That being said building a localized mirrorlist depending on the selected language is not a bad idea, but should be done **without pinging anything**, and if no keyboard is selected (efi boot), we should randomize the mirrorlist so it doesn't always default to the africa mirror, which is pretty slow for the majority of people. This way when the desktop boots, and pamac/octopi refresh the database it won't be as slow as it is right now.
philm commented 2015-06-25 08:11:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I guess the net profiles need the pacman-boot as the only editions.

So the pacman-boot service is not loaded or run on systemd at all?
The boot time about 2 minutes is what it takes with a working pacman-boot for me.
This must be reduced drastically. The iso boot nice and fast, but the pacman-boot is ugly with full mirrorlist.

*Created by: udeved* I guess the net profiles need the pacman-boot as the only editions. So the pacman-boot service is not loaded or run on systemd at all? The boot time about 2 minutes is what it takes with a working pacman-boot for me. This must be reduced drastically. The iso boot nice and fast, but the pacman-boot is ugly with full mirrorlist.
philm commented 2015-06-25 10:10:54 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Kirek

Simply removing pacman-boot its the best option. The fact that it wasn't working in all in the systemd editions and no one complained/noticed makes clear that it was useless to begin with.
We don't want people to think that Manjaro is slow because it takes ages to boot the livecd because we are doing something that is basically unnecessary.

I'm removing it.

Then if we can generate a better mirrorlist depending on language/keyboard selection will be better (but still not essential...).

*Created by: Kirek* Simply removing pacman-boot its the best option. The fact that it wasn't working in all in the systemd editions and no one complained/noticed makes clear that it was useless to begin with. We don't want people to think that Manjaro is slow because it takes ages to boot the livecd because we are doing something that is basically unnecessary. I'm removing it. Then if we can generate a better mirrorlist depending on language/keyboard selection will be better (but still not essential...).
philm commented 2015-06-25 19:17:42 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

I removed the service, I think couple of stable builds ago. Around 0.8.10 or so. Don't remember it. Removing it is the way to go here ...

*Created by: philmmanjaro* I removed the service, I think couple of stable builds ago. Around 0.8.10 or so. Don't remember it. Removing it is the way to go here ...
philm commented 2015-06-25 20:40:52 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Kirek

I suppose this can be closed then.

*Created by: Kirek* I suppose this can be closed then.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tools/manjaro-tools#112
No description provided.