LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 01-19-2007, 02:56 AM   #1
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Rep: Reputation: 31
USB thumb drive write speeds too fast [SOLVED]


Just recently bought a USB2.0 gfm 2.0GB flash drive and wanted to test out the read/write speeds. Hdparm detects read speeds around 10.7MB/sec so that isn't an issue. My issue is with writing using dd (and cp):

Code:
~$ time dd bs=1M count=100 if=/dev/zero of=/media/disk/hugefile
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.973686 seconds, 108 MB/s

real 0m0.979s
user 0m0.000s
sys  0m0.628s
I'm watching the activity LED after this command finishes and its still blinking for a couple minutes before it stops. How can I change or workaround this caching effect? (I really wish the above was true BTW )

Last edited by xaos5; 01-19-2007 at 03:05 AM.
 
Old 01-19-2007, 03:04 AM   #2
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Original Poster
Rep: Reputation: 31
I solved my own problem by changing /dev/zero to /dev/urandom. Write speed is 2.6 MB/s (105MB in 40.7524sec)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
write permission to thumb drive Geminias Linux - Newbie 4 01-11-2006 05:19 PM
USB thumb drive detected by usb but not by scsi ashlock Linux - Hardware 6 06-02-2005 02:58 PM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 01:52 AM


All times are GMT -5. The time now is 12:12 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration