Comment 0 for bug 313364

Revision history for this message
Max Bowsher (maxb) wrote :

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.