-
Notifications
You must be signed in to change notification settings - Fork 0
Why provisionner is slow? #37
Description
I'm flashing the 2025-08 preppers premium image (453G) on a "standard" hotspot with PNY CS1030 500G disk installed inside the hotspot with Argon PCIe <=> NVMe board. Image is on external NVMe reader (Sabrent reader, noname 500G NVMe disk inside)
When I provisioned the device last Friday, it took about 1h10m, or an average 115MB/s. This was kinda unexpected / quite slow.
I ran some more tests today with same device / setup.
When I "copy" same things directly with dd (not saying it is a recommendable solution), average speed starts around 350MB/s for about 30s and then almost inevitably decreases. It is already at 150MB/s after 480s and 74GB copied. I stopped it at 132MB/s and 104GB copied after 780s. There is small increase of average speed of 1MB/s at times, but otherwise the average speed only keeps decreasing.
Restarting dd immediately after stopping it gives same "speed profile".
Looks like rpi-imager and dd have consistent results and we do have a kind of issue / unexpected behavior.
I have no idea what the "culprit" could be, but it looks like it might be interesting to try reproduce and perform more tests:
- what if the same source disk is installed on USB port with another NVMe reader? (could the Sabrent NVMe reader be part of the issue)
- what if we use another source disk on same USB port? (could the source disk be part of the issue)
- what if the same target disk is installed on USB port with an NVMe reader? (could the internal board be part of the issue)
- what if we run with same source and target disks on another desktop machine? (could the Pi be part of the issue)
- what if we use another PNY CS1030 of same capacity as target disk? (could current device be the issue)
- what if we use another PNY CS1030 of bigger capacity as target disk? (could disk capacity be part of the issue)
- what if we use another model (than PNY CS1030) of target disk? (could current disk model be the issue)
All these questions are going to be quite time consuming (probably 1 or 2 days effort), but I feel like solving this might make disk provisioning significantly faster ; I'm not sure which priority we should give to this issue, since about 1h30 for the whole premium provisioning is not that a big deal especially since process is anyway very scalable (we can quite easily provision multiple devices at once should the need arise)