Re: Re: Bootstrapping a rootfs in an emulated arm64 chroot is extremely slow from amd64 host
On Fri, 12 Sep 2025, Bagg Tobias (ETAS-ICA/XPC-Fe3) wrote:
I'm not 100% clear what you're asking about but I'm assuming your host system is the same for the two tests?
Sorry if that wasn't clear: yes, the host system is the same.
I added more logging but the difference has gone away
apt-mirror@aptmirror19:/mnt/mirror/clean/log/log.last (none)$ grep ' at Mon' tarfiles.log | egrep '(bookworm|trixie)' | grep minimal | grep arm64
Check rebuild bookworm.arm64.minimal.sqfs at Mon Sep 15 01:40:22 UTC 2025
Rebuilding /mnt/mirror/ftp/mirror/clean/tarfiles/bookworm.arm64.minimal.sqfs at Mon Sep 15 01:40:31 UTC 2025 - newest dependency is -rw-r--r-- 1 root root 984 Aug 31 18:48 /mnt/mirror/ftp/mirror/tmp/apt.atXpfKEDLu/bookworm/arm64/archives/bootstrap-required_1757895078.0+bootstrap_arm64.deb
phase2 installplan bootstrap bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:40:31 UTC 2025
phase2 installplan bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:40:35 UTC 2025
phase2 unpack bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:40:41 UTC 2025
phase2 unpack chroot bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:40:45 UTC 2025
phase2 unpack apt bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:42:40 UTC 2025
phase2 update chroot bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:45:14 UTC 2025
phase2 required chroot bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:45:17 UTC 2025
phase2 autoremove chroot bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:47:15 UTC 2025
phase2 chroot bookworm.arm64.minimal.sqfs done at Mon Sep 15 01:47:28 UTC 2025
gensquashfs bookworm.arm64.minimal.sqfs start at Mon Sep 15 01:47:28 UTC 2025
gensquashfs bookworm.arm64.minimal.sqfs done at Mon Sep 15 01:48:39 UTC 2025
Check rebuild trixie.arm64.minimal.sqfs at Mon Sep 15 12:14:52 UTC 2025
Rebuilding /mnt/mirror/ftp/mirror/clean/tarfiles/trixie.arm64.minimal.sqfs at Mon Sep 15 12:15:02 UTC 2025 - newest dependency is -rw-r--r-- 1 root root 984 Sep 1 04:32 /mnt/mirror/ftp/mirror/tmp/apt.zjk5vQQH8r/trixie/arm64/archives/bootstrap-required_1757896034.0+bootstrap_arm64.deb
phase2 installplan bootstrap trixie.arm64.minimal.sqfs start at Mon Sep 15 12:15:02 UTC 2025
phase2 installplan trixie.arm64.minimal.sqfs start at Mon Sep 15 12:15:07 UTC 2025
phase2 unpack trixie.arm64.minimal.sqfs start at Mon Sep 15 12:15:14 UTC 2025
phase2 unpack chroot trixie.arm64.minimal.sqfs start at Mon Sep 15 12:15:19 UTC 2025
phase2 unpack apt trixie.arm64.minimal.sqfs start at Mon Sep 15 12:20:47 UTC 2025
phase2 update chroot trixie.arm64.minimal.sqfs start at Mon Sep 15 12:22:41 UTC 2025
phase2 required chroot trixie.arm64.minimal.sqfs start at Mon Sep 15 12:22:47 UTC 2025
phase2 autoremove chroot trixie.arm64.minimal.sqfs start at Mon Sep 15 12:24:40 UTC 2025
phase2 chroot trixie.arm64.minimal.sqfs done at Mon Sep 15 12:25:14 UTC 2025
gensquashfs trixie.arm64.minimal.sqfs start at Mon Sep 15 12:25:14 UTC 2025
gensquashfs trixie.arm64.minimal.sqfs done at Mon Sep 15 12:26:28 UTC 2025
What difference is left is in a step where there's no network access.
Tim.
Reply to: