usb-creator 0.1.11 regression: creates persistence file with incredibly slow single-byte writes
Bug #313364 reported by
Max Bowsher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: usb-creator
usb-creator 0.1.10 switched from creating the persistence file using "dd bs=1M" to "dd bs=1" - presumably relating to this changelog entry:
+ * Internally represent the persistent file size in bytes for greater
+ accuracy.
The problem with this is that writing out a file using a separate I/O operation for every byte, which is what bs=1 tells dd to do, is excruciatingly slow, and quite CPU-intensive. As a result, usb-creator now takes far longer than it needs to creating the persistence file, and eats a prodigious amount of CPU cycles whilst doing so.
Related branches
Changed in usb-creator (Ubuntu): | |
status: | Fix Released → Incomplete |
status: | Incomplete → Fix Released |
description: | updated |
Changed in usb-creator (Ubuntu): | |
status: | Fix Released → New |
To post a comment you must log in.
I can confirm this, last version from ppa is very slow, it took me around 1 hour to create 4G usb stick with persistence file.
But the good news is, it created boot sector correctly (I had problems, that it was installed grub on that usb stick before,
and the usb-creator from standard ubuntu repository didn't overwrite the boot sector).