thafaker.crabdance.com

Welcome to my vintage Webserver with ftp; Files and Stuff for ms-dos, c64, amiga, howtos, classic mac

Measure drive performance

Date: [6th Sep 2024]
Categories: [howto], [linux]

The other day I got a new usb pendrive and want to check the performance, also compared to my other disks. A simple first step is to use dd and write a 1 or 4 or 8 or 128 GB file to that drive. With the following command, you get the MB/s rate of that process.

dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync

My new USB Pendrive is able to copy with 20 MB/s, it is USB 2.0