Boot from slow medium in Tails 3.3 is extremely slow
It's a 100%-300% increase compared to 3.2 for me and spriver. Note that it only affects (in an obvious way at least) bare-metal DVD boot, not virtualized DVD boot.
Attached you'll find the journal of such a slow DVD boot.
Don't include anything under /lib/live/mount/medium/ in the readahead list (refs: #14964)
#7 Updated by intrigeri almost 2 years ago
- Assignee changed from emmapeel to intrigeri
- QA Check deleted (
Alan sees the same problem on bare metal booting from a USB stick. At first glance, the service that waits for
/dev/loop0 times out after 180 seconds, and the
live-config service takes ages to start as well. The latter matches what I see in the Journal anonym shared, in which the blocking ("foreground") part of the readahead process takes not less than 4 minutes and reads about 1.2 GiB. I'll check what makes this set of files so big.
#12 Updated by intrigeri almost 2 years ago
- File readahead-list-Tails-3.2 added
Tails 3.3's source:config/binary_rootfs/squashfs.sort contains
lib/live/mount/medium/live/filesystem.squashfs, which easily explains why we're reading ahead this crazy amount of data. I think source:auto/config should filter out
^lib/live/mount/medium/ when it generates the readahead list from the SquashFS sort file.
#15 Updated by intrigeri almost 2 years ago
- Assignee changed from intrigeri to anonym
- % Done changed from 10 to 50
- QA Check set to Ready for QA
- Type of work changed from Research to Code
Looks better with an ISO built from the topic branch!
root@amnesia:~# head -n2 /var/log/live/config.log live-config: readahead 79.5MiB 0:00:03 [21.6MiB/s] [================================>] 100%
And on bare metal + USB, it takes 4-5 seconds and the boot feels soooo much faster that I did not bother measuring it nor testing on DVD. I certainly wouldn't mind if you did while reviewing though :)
#17 Updated by anonym almost 2 years ago
- Assignee deleted (
- QA Check changed from Ready for QA to Pass
[...] I did not bother measuring it nor testing on DVD. I certainly wouldn't mind if you did while reviewing though :)
Done, DVD boot is "fast" again! Code looks good => merged!