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, 01:06 AM   #16
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940

[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 Aquarius_Girl; 08-10-2010 at 01:09 AM.
 
Old 08-10-2010, 01:08 AM   #17
ciao303
Member
 
Registered: Jul 2010
Posts: 69

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, 01: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: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Looks like our mods are still sleeping :-) Wake up call! Calling all mods! Spammer is taking over LQ Spy!
 
Old 08-10-2010, 01:12 AM   #19
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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, 01: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: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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, 01:19 AM   #21
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

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

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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, 04:03 PM   #23
ciao303
Member
 
Registered: Jul 2010
Posts: 69

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 10:28 AM
Gparted jus71n742 Linux - Hardware 6 11-19-2008 12:39 AM
gparted question radiodee1 Debian 3 05-26-2007 08:23 AM
gparted question toolkit Ubuntu 1 02-05-2007 12:47 AM
After using Gparted tombiz Ubuntu 5 07-13-2006 04:38 PM

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

All times are GMT -5. The time now is 08:01 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