[ubuntu] Testing USB pen drive with poor write speeds
 

[ubuntu] Testing USB pen drive with poor write speeds

 
Hello all,

So i have this SanDisk Ultra Trek 64GB pen drive (USB 3.1) and I’m thinking of getting another but first I’m testing the write speed as many reviews I read before I bought it said that the write speed degrades massively over a relatively short period. I’ve already tested it once using the ‘dd’ utility, and the results were pretty poor, so I wanted to check the method I used was good. The method in question is basically what is found on linuxconfig.com

  1. First I used ‘fdisk’ to remove all partitions and created a single ‘Linux’ partition (not sure what Linux means in this context but it seemed the obvious choice)
  2. ran ‘sudo mkfs -t ext4 /dev/sda1’
  3. ran ‘sudo dd if=/dev/zero of=/dev/sda1 oflag=direct bs=128k count =32k

below is a copy of dd’s output…

Code:

32768+0 records in
32768+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 527.162 s, 8.1 MB/s


…I know there are many variables here and SanDisk probably didn’t specify the write speed in the context of Linux, but they claim read speeds up to 130MB/s with write speeds “lower”, significantly lower by the looks of my 8.1MB/s. It is in a blue USB type A port which I believe denotes the USB 3.1 standard?

For reference I have the most awful USB pen drive on earth that came as part of one of those promotional pens that companies hand out with their branding on, it doesn’t even look like an electronic device and is easily ten years old, and after undergoing the same procedure plugged into the same port it was getting write speeds of 11MB/s plus.

The only steps I omitted that the guide recommends were to run the ‘sync’ command and also to run ‘echo 3 > /proc/sys/vm/drop_caches’. I didn’t use the former because I believe the ‘dd’ option ‘oflag=direct’ means caching isn’t used, and the latter because I don’t know what it does (also I cant use ‘cat’ to view the contents of that pseudo file, even with sudo, so I left it be).

Any critique is welcome!

Edit: From SanDisks Website –

“Most of the SanDisk USB flash drives fall under the entry level category unless otherwise labeled as Ultra or Extreme. Entry level USB drives do NOT have any defined transfer speed. The Ultra and Extreme USB flash drives transfer speed MAY vary from 10MB/s to 260MB/s depending on the specific product.”

So, maybe it’s normal? I’m still unsure…

 

Previous Ubuntu 21.04 Hirsute H
Next I have a old laptop but cannot power it on
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

[ubuntu] No Ubuntu 20.04 on grub menu after rebooting on a triple boot system

I triple booted Ubuntu 20.04 on an existing Zorin 15 os and Ubuntu 16.04 os. When I boot there is no Ubuntu 20.04 on grub menu just Zorin and Ubuntu

Ubuntu Dsicussions 0 Comments

[ubuntu] Changing language input does practically nothing

My objective is to be able to switch between English and Japanese input at will from the same keyboard. I have tried every guide I can find and almost every

Ubuntu Dsicussions 0 Comments

Activation of network connection failed

Hello, Since two days I have this problem on my wired connection: Activation of network connection failed What have I check to fix this issue ? Thanks.   READ MORE

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply