Improve performance by changing the block size to 8M

Bug #1949652 reported by Yao Wei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

This issue is found in usb-creator 0.3.11 in impish.

I found that creating USB disks in GNOME Disks is 2x faster than Startup Disk Creator, and here's the comparison:

Startup Disk Creator: 1:52
GNOME Disks: 0:37
With a Sandisk Extreme Pro USB drive (CZ880) and a 4.0G image

After I changed the default block_size from 1000000 to 8388608 in USBCreator._builtin_dd function in the Python file /usr/share/usb-creator/usb-creator-helper, this can improve the writing speed and making it about 0:30 to write the same disk image.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package usb-creator - 0.3.13

---------------
usb-creator (0.3.13) jammy; urgency=medium

  * usbcreator/misc.py: fix compatibility with Python 3.10. (LP: #1962862)
  * bin/usb-creator-helper: increase block size to 8M to improve
    performance. (LP: #1949652)

 -- Marc Deslauriers <email address hidden> Fri, 04 Mar 2022 07:59:39 -0500

Changed in usb-creator (Ubuntu):
status: New → Fix Released
Changed in usb-creator (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.