LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2008, 02:23 AM   #1
3ttt
LQ Newbie
 
Registered: May 2007
Posts: 18

Rep: Reputation: 0
Question How to customize and define "i/o block size" for copy test?


Hi everybody,

Are there any methodologies to define "i/o block size" as 1KB, 2KB, 4KB, 16KB, ... for copying any file between internal hard drive and a USB flash for performance test?

Thanks a lot!
 
Old 11-01-2008, 02:53 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You can try 'dd' and specify the block size. But really, independent of the block size you specify in dd, the filesystem drivers will do their own thing (usually based on the native block size of the device being used). To complicate matters, you also have your buffer sizes (which you *can* change), and this also affects read/write performance.

Now since you mention USB flash, write cycles to flash memory take comparatively HUGE amounts of time. You need a pretty slow processor before your buffer sizes start to affect your write performance to the USB device.
 
Old 11-01-2008, 04:55 AM   #3
3ttt
LQ Newbie
 
Registered: May 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks a lot, Pinniped, for the hints. I already varied ibs and obs to xK, as the results, througputs are not much different.
Then it would be another point, buffer size, as you mentioned. How and where can I setup this buffer size? Currently I use SuSe Linux 10.0 and 10.3 for the testbeds. Are there any tools for monitoring number of write cycles of flash drive?

Thank you for any further information

Last edited by 3ttt; 11-01-2008 at 11:07 AM.
 
  


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
How do i "copy" one bios and "paste" it onto another identical machine Yerp Linux - Hardware 2 01-10-2007 08:31 PM
ff issues: "customize" won't work & tab sidebar?? paddy Linux - Software 2 11-19-2006 04:09 PM
Ntfs-Fuse copy error Debian "Sid" / Ubuntu "6.06" animefriik Linux - General 0 10-06-2006 09:28 AM
"File size limit exceeded" during copy h3xis Linux - Networking 2 06-17-2006 01:24 PM
How to set the size of icons for "Starterbar" in "Gdekslets" Blue Jacket Linux - Software 4 11-23-2005 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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