Difference between revisions of "Benchmarking/Disk wipes"

From ArchWiki
Jump to: navigation, search
(Create the page, moved content from Securely wipe disk)
 
(/* Frequently asked Questions /* add benchmarking with hdparm)
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
{{Article summary end}}
 
{{Article summary end}}
  
== How to do that ==
+
== Frequently asked Questions ==
=== Wipe a disk ===
+
{{FAQ|question=How do I wipe a disk?|answer=[[Securely wipe disk]].}}
[[Securely wipe disk]]
+
{{FAQ|question=Are there other way's to benchmark a disk?|answer=Of course. Take a look at [[Hdparm]].}}
 
+
{{FAQ|question=How do I get the HDD model with hdparm?|answer={{ic|<nowiki># hdparm -i /dev/sdX | grep Model</nowiki>}}.}}
=== Get the HDD model with hdparm ===
+
{{FAQ|question=How do I check progress of dd while running?|answer=[[Securely_wipe_disk#Checking_progress_of_dd_while_running|Checking progress of dd while running]].}}
# hdparm -i /dev/sdX | grep Model
+
 
+
=== Checking progress of dd while running ===
+
[[Securely_wipe_disk#Checking_progress_of_dd_while_running|Checking progress of dd while running]]
+
  
 
=== Benchmarking with dcfldd ===
 
=== Benchmarking with dcfldd ===

Revision as of 11:26, 27 September 2012

Summary help replacing me
Benchmark different methods of disk wiping.
Related
Securely wipe disk
Frandom
Benchmarking

Frequently asked Questions

Template:FAQ Template:FAQ Template:FAQ Template:FAQ

Benchmarking with dcfldd

Dcfldd doesn't print the average speed in MB/s like good old dd does but with time you can work around that.

Time the run clearing the disk:

# time dcfldd if=/dev/zero of=/dev/sdX bs=4M
18944 blocks (75776Mb) written.dcfldd:: No space left of device
real     16m17.033s
user     0m0.377s
sys      0m51.160s

Calculate MB/s by dividing the output of the dcfldd command by the time in seconds. For this example: 75776Mb / (16.4 min * 60) = 77.0 MB/s.

Data

Note: The community is encouraged to populate the tables in this section.

/dev/frandom

Merge-arrows-2.pngThis article or section is a candidate for merging with Frandom.Merge-arrows-2.png

Notes: The "Benchmarks" on the frandom page should get incorporated here. The frandom page should stay intact of course. (Discuss in Talk:Benchmarking/Disk wipes#)

/dev/zero

Note: As there has been no evident clarification in the article this table was moved from it can only be assumed all wipes were done with /dev/zero.
Manufacture Model HDD Speed (RPM) Interface Capacity (GB) Time (Hrs) Throughput (MB/s)
Hitachi HTS725016A9A364 7200 SATA2 160 0.72 63
Intel SSDSA2M080G2GC SSD SATA2 80 0.27 77
Samsung HD322HJ 7200 SATA2 320 1.15 74
Seagate ST31000333AS 7200 SATA2 1000 2.92 90
Seagate ST31500341AS 7200 SATA2 1500 4.13 96
Western Digital WD20EARS 5900 SATA2 2000 5.91 94