Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

Advanced users • Re: Using dd during initramfs stage is slow, how to improve the speed?

$
0
0
"feels slower" is not definitive, especially for something that can be easily measured.

Can you run your test using the initramfs and then online and time them both to see whether what you're feeling is reality?

I would expect it to be a bit slower, on the order of 10-20%, perhaps, but my experience running dd in initramfs doesn't show it to be orders of magnitude slower.
I measured the time taken to run the script in different condition and methods. This is the result of backing up a 2GB partition.

Time taken under normal condition: 4 min 04 seconds
Time taken under initramfs (write whole disk): 5 min 39 seconds
Time taken under initramfs (write with slices): 5 min 46 seconds.

It is slower by roughly a minute or 39% if run the same script under initramfs.

Statistics: Posted by rasp14 — Mon May 26, 2025 6:56 am



Viewing all articles
Browse latest Browse all 7512

Trending Articles