LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-25-2015, 05:41 PM   #1
coltson
Member
 
Registered: Oct 2010
Posts: 149

Rep: Reputation: 3
Big gap between read and write speeds of a pen drive


Hello, I have a pen drive and after running a benchmark, it says my pen drive has a write speed of only 1.1 Mb/s on average, against 13.5Mb\s of average read speed. I found the write speed surprisingly low and started to inquire myself if there could be something wrong with my linux distro (an ubuntu 10.04).
My personal experience says that the results of the benchmark are consistent with what I see on daily use.
You think it's worth try with another linux distro or is just it's flash memory that it is crap?

Thanks for any advices.
 
Old 12-25-2015, 05:49 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Could'nt hurt, you can even try that on a live disc...
Let us know what you find
Melissa
 
Old 12-27-2015, 11:45 PM   #3
coltson
Member
 
Registered: Oct 2010
Posts: 149

Original Poster
Rep: Reputation: 3
I tested on live disc and the performance seemed similar to the one informed by the benchmark (it was a slax distro and the file manager doesn't tell the average transfer speed).
I checked this site: http://usbspeed.nirsoft.net/ with hundreds of results, and no one has a result anywhere near 1.1Mb/s of write speed. If i didn't skipped any result, the slowest I saw was 2.96Mb/s , which is approximately 2.7 faster than mine. Very strange.
Maybe it's a defect, sometimes other computer can't read it's contents.
 
Old 12-28-2015, 05:15 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,673

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
OK, here's my take on this. I've no idea how data is read or written to a USB pen drive but as a retired Computer hardware maintenance engineer I'll pass on a theory for consideration...

In the "bad old days" of magnetic media; disks, tapes, etc, reading data was just that, the data was read, moved to memory and manipulated, no state changes in media required. Writing data was different as, after the data had been written (with relevant "bit" state changes), it had to be read back and verified. This means that a write function also contained a read function hence it takes longer to carry out. Subsequently, the write function takes more processor cycles than a read one does.

Anyway, that's my thoughts. Non-static volatile memory is different as it requires refresh cycles to constantly read and write its cell states in order to maintain the data's integrity.

My

Play Bonny!

 
1 members found this post helpful.
Old 12-28-2015, 07:37 AM   #5
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
Oftentimes, even the manufacturers will report speeds of i.e. 20MB/sec write and 60MB/sec read. The flash memory chips are just a great deal faster on write. When you read, there's no change to the data. When you write, it has to check for errors, manipulate bad blocks, adjust the write location for the sake of wear leveling, and (if you're not using FAT or ext2) it must write a journal besides.
 
Old 12-31-2015, 07:53 AM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
In the "bad old days" of magnetic media; disks, tapes, etc, reading data was just that, the data was read, moved to memory and manipulated, no state changes in media required. Writing data was different as, after the data had been written (with relevant "bit" state changes), it had to be read back and verified. This means that a write function also contained a read function hence it takes longer to carry out. Subsequently, the write function takes more processor cycles than a read one does.

Anyway, that's my thoughts. Non-static volatile memory is different as it requires refresh cycles to constantly read and write its cell states in order to maintain the data's integrity.
Aaaah, takes me back to the days when you had to consider bits in order to complete a program...no much was done for you (no code completion, no backgroud safety nets, none of that) so it was the same cycle all the time idea -> paper -> writein (yes, more paper) out the code -> typing in -> saving (in case the code 'd lock up the system) -> crossing fingers -> running...
Aaahhhhh....where are the days....
Melissa
 
Old 01-02-2016, 08:52 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I've seen some flash drives that just won't work on a linux format.
 
Old 01-02-2016, 10:08 PM   #8
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Flash drives always have lower write speeds than read. Always. Yours is not that unusual.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA Drive very slow write speeds jhetu Linux - Server 8 11-14-2012 04:49 AM
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 01:28 PM
USB thumb drive write speeds too fast xaos5 Linux - Hardware 1 01-19-2007 03:04 AM
finding cd/dvdrw read/write speeds? slinky2004 Linux - General 4 01-08-2006 09:32 PM
read & write USB pen drive?? wrangler Linux - Newbie 5 03-08-2005 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration