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: use the FAQ-Template)
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=How do I get the HDD model with hdparm?|answer={{ic|<nowiki># hdparm -i /dev/sdX | grep Model</nowiki>}}.}}
{{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]].}}
=== Get the HDD model with hdparm ===
# 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 00:49, 27 September 2012

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end

Frequently asked Questions

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.


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


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#)


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