![]() |
Info.FlashDriveLifespanSurvey HistoryHide minor edits - Show changes to markup February 06, 2009, at 09:49 PM
by -- added request for unix command details, added my data line
Added lines 36-37:
((Request: I could not get dd to work despite changing the output file and many attempts [always "No Help available"]. Read several man pages and examples, looks like conv=fsync should be conv=sync. Anyone who can elucidate, please do so.)) Added line 85:
September 12, 2008, at 02:57 PM
by --
Changed line 82 from:
to:
September 12, 2008, at 02:55 PM
by --
Changed line 82 from:
to:
September 12, 2008, at 02:54 PM
by --
Changed line 82 from:
to:
September 12, 2008, at 02:51 PM
by --
Changed line 82 from:
to:
September 12, 2008, at 02:49 PM
by -- September 12, 2008, at 02:46 PM
by -- Updated Table
Changed line 82 from:
to:
September 12, 2008, at 02:45 PM
by -- Updated Table
Changed line 82 from:
to:
April 10, 2008, at 06:17 AM
by --
Changed line 82 from:
to:
April 10, 2008, at 06:17 AM
by -- added my card
Added line 82:
March 08, 2008, at 06:41 PM
by -- adjusted values for my usbkeys ! LOL
Changed line 81 from:
to:
February 08, 2008, at 01:18 AM
by --
Changed lines 78-80 from:
to:
February 04, 2008, at 08:29 PM
by -- removed false wikilink
Changed line 80 from:
to:
January 26, 2008, at 11:31 AM
by -- update total writes
Changed line 76 from:
to:
January 07, 2008, at 12:13 AM
by --
Changed lines 77-80 from:
to:
January 07, 2008, at 12:12 AM
by --
Changed lines 78-79 from:
to:
January 07, 2008, at 12:10 AM
by --
Added line 79:
January 06, 2008, at 09:12 PM
by --
Changed lines 76-77 from:
to:
January 06, 2008, at 09:12 PM
by --
Changed line 77 from:
to:
January 06, 2008, at 09:11 PM
by -- added user fantuz
Changed line 77 from:
to:
December 01, 2007, at 06:37 PM
by -- added my usb flash drive
Changed lines 76-77 from:
to:
October 20, 2007, at 10:01 PM
by -- add vm.swappiness to syscntl.conf
Added lines 59-61:
To make it permanent add the following line to /etc/sysctl.conf vm.swappiness=0 August 13, 2007, at 09:25 PM
by --
Changed line 73 from:
to:
August 13, 2007, at 09:24 PM
by -- new stick added
Changed lines 72-73 from:
to:
August 13, 2007, at 02:25 AM
by -- fixed false wikilinks
Changed lines 10-11 from:
All modern flash drives should include wear levelling, so you shouldn't need to worry about some parts of the drive wearing out before others. If a flash device supports, say, 10000 write/erase cycles, then a 1 GByte? flash drive should be able to do 10000 x 1 GByte? = 10 TBytes? of writes before failing. 10000 write cycles is at the bottom end of the expected range. At a write rate of 1 MByte?/second it would take 10 million seconds to write 10 TBytes?; that's about 100 days. So even if your NSLU2 is spending 10% of its time writing at that speed, you should still expect to get at least a few years life from your drive before any sectors fail. The iostat program can give you an idea of the write rate on your system. to:
All modern flash drives should include wear levelling, so you shouldn't need to worry about some parts of the drive wearing out before others. If a flash device supports, say, 10000 write/erase cycles, then a 1 GByte flash drive should be able to do 10000 x 1 GByte = 10 TBytes of writes before failing. 10000 write cycles is at the bottom end of the expected range. At a write rate of 1 MByte/second it would take 10 million seconds to write 10 TBytes; that's about 100 days. So even if your NSLU2 is spending 10% of its time writing at that speed, you should still expect to get at least a few years life from your drive before any sectors fail. The iostat program can give you an idea of the write rate on your system. Changed lines 65-72 from:
to:
August 12, 2007, at 03:13 PM
by -- formating fix
Changed line 52 from:
to:
[@ Changed lines 57-58 from:
to:
@] August 12, 2007, at 03:11 PM
by -- New tip to minimize writes.
Changed lines 51-58 from:
to:
$ cat /proc/sys/vm/swappiness 60 $ echo "0" > /proc/sys/vm/swappiness August 12, 2007, at 09:22 AM
by -- Minor fix in my row
Changed line 65 from:
to:
August 12, 2007, at 09:21 AM
by -- Added my flash drive-stats
Added line 65:
May 09, 2007, at 10:39 PM
by -- Link to article about flash disk write endurance
Changed lines 14-15 from:
to:
An interesting article on this subject can be found at http://www.storagesearch.com/ssdmyths-endurance.html. May 09, 2007, at 10:35 PM
by -- Update disk write stats
Changed lines 59-60 from:
to:
May 04, 2007, at 11:34 PM
by --
Changed line 63 from:
to:
May 04, 2007, at 11:33 PM
by --
Changed line 63 from:
to:
March 04, 2007, at 07:12 PM
by -- make link work
Changed lines 46-47 from:
to:
March 04, 2007, at 07:11 PM
by -- add link to up-to-date flash mounting procedure
Changed lines 46-47 from:
to:
March 04, 2007, at 05:58 PM
by -- typo corrections
Changed lines 5-7 from:
In order to guage the actual lifespan that NSLU2 users get from their flash drives, please take part in this survey. Please add details of all your flash drives: it's important that we have details of working drives, not just failed ones. to:
In order to gauge the actual lifespan that NSLU2 users get from their flash drives, please take part in this survey. Please add details of all your flash drives: it's important that we have details of working drives, not just failed ones. Changed lines 44-45 from:
Tips for minimising writesto:
Tips for minimizing writesDecember 15, 2006, at 08:38 PM
by -- Add my flash drive
Changed lines 62-63 from:
to:
December 13, 2006, at 08:48 PM
by -- tweak
Changed lines 17-19 from:
To accumulate the total writes over the life of the disk you need to log periodic measurements. Scripts to do this are described on LogDiskWriteStats?. to:
To accumulate the total writes over the life of the disk you need to log periodic measurements. Scripts to do this are described on LogFlashDiskWriteStats. December 13, 2006, at 08:47 PM
by -- tweak
Changed lines 17-19 from:
To accumulate the total writes over the life of the disk you need to log periodic measurements. Scripts to do this are described on Howto/LogDiskWriteStats?. to:
To accumulate the total writes over the life of the disk you need to log periodic measurements. Scripts to do this are described on LogDiskWriteStats?. Changed line 57 from:
to:
December 13, 2006, at 08:46 PM
by -- Link to Howto/LogDiskWriteStats
Changed lines 17-19 from:
/proc/diskstats reports the total number of blocks written to each device since the last boot. With suitable cron scripts this data could be accummulated over long periods, and we could accurately record the amount of data written to each flash device. Any volunteers to write the necessary scripts? to:
To accumulate the total writes over the life of the disk you need to log periodic measurements. Scripts to do this are described on Howto/LogDiskWriteStats?. Changed lines 57-63 from:
to:
December 10, 2006, at 02:21 PM
by -- Learn how to do WiKi tables (PREVIEW STILL BROKEN)
Deleted line 57:
Deleted line 58:
Deleted line 59:
Deleted line 60:
December 10, 2006, at 02:20 PM
by -- Learn how to do WiKi tables (PREVIEW STILL BROKEN)
Changed lines 56-57 from:
to:
December 10, 2006, at 02:18 PM
by -- Create this page
Added lines 1-66:
Flash Drive Lifespan SurveyFlash memory is known to support a finite number of write/erase cycles. This limited lifespan may make it less suitable than a hard disk for some storage applications. In order to guage the actual lifespan that NSLU2 users get from their flash drives, please take part in this survey. Please add details of all your flash drives: it's important that we have details of working drives, not just failed ones. Expected LifespanAll modern flash drives should include wear levelling, so you shouldn't need to worry about some parts of the drive wearing out before others. If a flash device supports, say, 10000 write/erase cycles, then a 1 GByte? flash drive should be able to do 10000 x 1 GByte? = 10 TBytes? of writes before failing. 10000 write cycles is at the bottom end of the expected range. At a write rate of 1 MByte?/second it would take 10 million seconds to write 10 TBytes?; that's about 100 days. So even if your NSLU2 is spending 10% of its time writing at that speed, you should still expect to get at least a few years life from your drive before any sectors fail. The iostat program can give you an idea of the write rate on your system. (One factor that this doesn't allow for is short writes; a whole sector will be erased if you write just a few bytes.) Measuring Total Writes/proc/diskstats reports the total number of blocks written to each device since the last boot. With suitable cron scripts this data could be accummulated over long periods, and we could accurately record the amount of data written to each flash device. Any volunteers to write the necessary scripts? Failure ModesOne would expect that a flash drive with bad sectors would fail gracefully, i.e. writes might become impossible but the drive would still be readable. Catastrophic failure, i.e. none of the disk can be read, have been known to occur. It is likely that this is the result of an effect other than the lifespan of the flash, and could be related to the quality of the manufacturing process. Read and write speedsSome flash drives are faster than others. Please also measure the speed of your drive as follows: $ dd if=/dev/zero of=/file/on/drive bs=8192 count=1024 conv=fsync 1024+0 records in 1024+0 records out 8388608 bytes (8.4 MB) copied, 6.66182 seconds, 1.3 MB/s $ hdparm -t /dev/drivedevicenode Timing buffered disk reads: 28 MB in 3.03 seconds = 9.23 MB/sec I am not convinced that conv=fsync really ensures that the data is flushed to the drive - any suggestions? These numbers are only a guide. I suggest running these commands at least 3 times and reporting the median value. They may be affected by other activity on your system. Tips for minimising writes
The SurveyPlease add your details below.
view ·
edit ·
print ·
history ·
Last edited by dbh.
Based on work by Rigas, Riga, Massimiliano Fantuzzi, fantuznet, fcarolo, socors, fareale, mhornsby, Steffen Kremsler, johlin, Phil Endecott, cyrxi, iwo, joshin, and Steve G. Originally by Phil Endecott. Page last modified on February 06, 2009, at 09:49 PM
|