LinuxQuestions.org
Help answer threads with 0 replies.
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 08-10-2010, 02:06 AM   #16
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917

[off-topic]

Seeing his posting speed, it seems he'll soon become a "senior member" and you must see LQ Spy right now !!

[/off-topic]

Last edited by TheIndependentAquarius; 08-10-2010 at 02:09 AM.
 
Old 08-10-2010, 02:08 AM   #17
ciao303
Member
 
Registered: Jul 2010
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by crts View Post
Hi,

a while ago I have been experimenting with that number. From what I have observed, from 512 (Bytes) onwards there was no noticeable change in performance. But this might depend on the architecture. You can try to find that lower boundary for your system. 512 is a good starting point.
Some stats for my system:
Code:
copying from /dev/urandom:
bs     average speed
64     4.3 MB/s
128    4.9 MB/s
512    5.6 MB/s
4096   5.8 MB/s

copying from /dev/zero:
bs     average speed
64     29.1 MB/s
128    40.8 MB/s
512    37.0 MB/s
4096   37.4 MB/s
The commands ran for approx. 30 seconds. As a rule of thumb, you might want to choose a bigger number if you have more data to copy. E. g. abort the command with bs set to 128 after 2 seconds and you will get a speed somewhere near 60 MB/s. This drops drastically if you let the command run for a minute. Maybe you can post some of your stats when you run the command.
Hope this helps.

[EDIT]:
Since we are talking about erasing HDD of several GB I recommend using a value of at least 4096. I choose 1M to be on the safe side.
goddamn...didnt know commandline is THAT resource sensitive...
 
Old 08-10-2010, 02:10 AM   #18
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Looks like our mods are still sleeping :-) Wake up call! Calling all mods! Spammer is taking over LQ Spy!
 
Old 08-10-2010, 02:12 AM   #19
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by EricTRA View Post
Looks like our mods are still sleeping :-) Wake up call! Calling all mods! Spammer is taking over LQ Spy!
I hope they are not. That *** spam bot has posted over 100 posts in a day. Can we somehow automate postings here at LQ?
 
Old 08-10-2010, 02:16 AM   #20
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by linuxlover.chaitanya View Post
I hope they are not. That *** spam bot has posted over 100 posts in a day. Can we somehow automate postings here at LQ?
AFAIK there's no way to automate posting in LQ, but of course there are various ways to do so from the outside using bot like techniques, scripting and such, but itt's against the LQ Rules to explain further

Kind regards,

Eric
 
Old 08-10-2010, 02:19 AM   #21
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
The bot's tired right now, it seems, after a lot of hard work, must be gasping for breath
 
Old 08-10-2010, 07:16 AM   #22
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
Originally Posted by ciao303 View Post
goddamn...didnt know commandline is THAT resource sensitive...
Huh? What does the command line have to do with it? And what do you expect when you use dd, magic?
 
Old 08-10-2010, 05:03 PM   #23
ciao303
Member
 
Registered: Jul 2010
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
Huh? What does the command line have to do with it? And what do you expect when you use dd, magic?
I suppose you wont be saying the same thing that I've said had it been MS-DOS
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help using gparted (embarassing question) NeXuS_2006 Linux - General 6 03-10-2009 11:28 AM
Gparted jus71n742 Linux - Hardware 6 11-19-2008 01:39 AM
gparted question radiodee1 Debian 3 05-26-2007 09:23 AM
gparted question toolkit Ubuntu 1 02-05-2007 01:47 AM
After using Gparted tombiz Ubuntu 5 07-13-2006 05:38 PM


All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration