MMM
Page 2 of 2 FirstFirst 12
Results 26 to 36 of 36

Thread: bit error = lost file, reduce BER how?

  1. #26
    Xtreme Addict
    Join Date
    Mar 2008
    Posts
    1,163
    Thanks.
    I read briefly Intel's Intelligent RAID 6 Theory Overview and Implementation and that's enough.

  2. #27
    Xtreme Infrastructure Eng
    Join Date
    Feb 2004
    Posts
    1,184
    Thank you for the code, stevecs. Testing now.
    Less is more.

  3. #28
    Xtreme Infrastructure Eng
    Join Date
    Feb 2004
    Posts
    1,184
    The script runs great, but I ran into a small problem. The creation of the md5 hash value completes and logs the value in a file within /var/log/md5sum. However, when the check is run it produces the error message you defined in the Md5CheckFileArray function...

    Code:
    ./md5check.sh: INFO: Md5CheckFileArray: reading in old md5sum output file...
    ./md5check.sh: ERROR: Md5CheckFileArray: old md5sum file does not exist
    ./md5check.sh: INFO: starting Md5Check...
    Any ideas? I tried running a check after editing the same file and creating a new md5 value but received the same error. I also verified the md5 values in the output file were different.

    Thanks for your help.
    Less is more.

  4. #29
    Xtreme Addict
    Join Date
    Jul 2006
    Posts
    1,124
    Yeah, the INFO's you can ignore they are just telling you what functions are being entered (it /IS/ only an after-dinner first pass. :P) The ERROR one basically is saying that there is no previous output to compare the file system to in the first draft it is set up (hard-coded) to write a file called md5sum.<yearmonth>01 (I must have forgotten to fix that) was going to just search the $HASHDIR for the newest output and use that. Anyway, I ran it against about 900,000 files here both unicode-16 and normal file names (multi-byte characters) so that's clean at least and it does multi-threading (which was the main thing I was going for).

    create the directory /var/log/md5sum then run it first in create mode:
    md5check.sh <directory> create
    then run it in check mode
    md5check.sh <directory> check


    I've been e-mailing Eric Gerbier (writer of afick http://afick.sourceforge.net/) to see if we can merge ideas. Mine above works well with large files (100MiB+) (was able to push 800MiB/s throughput on a 2.4Ghz quad core which fully saturated the areca 1280ML) but with small files the spawning of the md5sum is a killer. Eric uses perl which has md5/sha1 already built in (no spawning penalty) however he doesn't have any multi-threading (so limited to about 200-250MiB/sec max on a 2.4Ghz core2). He also is already using GDBM, which is what I was going to do next in mine.
    Last edited by stevecs; 12-31-2008 at 06:59 PM.

    |.Server/Storage System.............|.Gaming/Work System..............................|.Sundry...... ............|
    |.Supermico X8DTH-6f................|.Asus Z9PE-D8 WS.................................|.HP LP3065 30"LCD Monitor.|
    |.(2) Xeon X5690....................|.2xE5-2643 v2....................................|.Mino lta magicolor 7450..|
    |.(192GB) Samsung PC10600 ECC.......|.2xEVGA nVidia GTX670 4GB........................|.Nikon coolscan 9000......|
    |.800W Redundant PSU................|.(8x8GB) Kingston DDR3-1600 ECC..................|.Quantum LTO-4HH..........|
    |.NEC Slimline DVD RW DL............|.Corsair AX1200..................................|........ .................|
    |.(..6) LSI 9200-8e HBAs............|.Lite-On iHBS112.................................|.Dell D820 Laptop.........|
    |.(..8) ST9300653SS (300GB) (RAID0).|.PA120.3, Apogee, MCW N&S bridge.................|...2.33Ghz; 8GB Ram;......|
    |.(112) ST2000DL003 (2TB) (RAIDZ2)..|.(1) Areca ARC1880ix-8 512MiB Cache..............|...DVDRW; 128GB SSD.......|
    |.(..2) ST9146803SS (146GB) (RAID-1)|.(8) Intel SSD 520 240GB (RAID6).................|...Ubuntu 12.04 64bit.....|
    |.Ubuntu 12.04 64bit Server.........|.Windows 7 x64 Pro...............................|............... ..........|

  5. #30
    Xtreme Infrastructure Eng
    Join Date
    Feb 2004
    Posts
    1,184
    That same code would take me several days to hack together, and it definitely wouldn't have multi-threading support. As a grateful tester, I was just hoping you knew how to fix the output file discrepancy.

    I've subscribed to the afick project on sourceforge. It already has a nice feature set and implementation of multi-threading would make it a very nice program for detecting bit errors.

    Like enteon said, this thread has made me totally re-evaluate my storage infrastructure.
    Less is more.

  6. #31
    Xtreme Addict
    Join Date
    Jul 2006
    Posts
    1,124
    @gogeta, try it again, I fixed the directory creation stuff, also made the time stamps include hour/min/sec as well so you can do multiple runs in a day (not a problem here as it takes a long time to run against many files).

    |.Server/Storage System.............|.Gaming/Work System..............................|.Sundry...... ............|
    |.Supermico X8DTH-6f................|.Asus Z9PE-D8 WS.................................|.HP LP3065 30"LCD Monitor.|
    |.(2) Xeon X5690....................|.2xE5-2643 v2....................................|.Mino lta magicolor 7450..|
    |.(192GB) Samsung PC10600 ECC.......|.2xEVGA nVidia GTX670 4GB........................|.Nikon coolscan 9000......|
    |.800W Redundant PSU................|.(8x8GB) Kingston DDR3-1600 ECC..................|.Quantum LTO-4HH..........|
    |.NEC Slimline DVD RW DL............|.Corsair AX1200..................................|........ .................|
    |.(..6) LSI 9200-8e HBAs............|.Lite-On iHBS112.................................|.Dell D820 Laptop.........|
    |.(..8) ST9300653SS (300GB) (RAID0).|.PA120.3, Apogee, MCW N&S bridge.................|...2.33Ghz; 8GB Ram;......|
    |.(112) ST2000DL003 (2TB) (RAIDZ2)..|.(1) Areca ARC1880ix-8 512MiB Cache..............|...DVDRW; 128GB SSD.......|
    |.(..2) ST9146803SS (146GB) (RAID-1)|.(8) Intel SSD 520 240GB (RAID6).................|...Ubuntu 12.04 64bit.....|
    |.Ubuntu 12.04 64bit Server.........|.Windows 7 x64 Pro...............................|............... ..........|

  7. #32
    Xtreme Infrastructure Eng
    Join Date
    Feb 2004
    Posts
    1,184
    Quote Originally Posted by stevecs View Post
    @gogeta, try it again, I fixed the directory creation stuff, also made the time stamps include hour/min/sec as well so you can do multiple runs in a day (not a problem here as it takes a long time to run against many files).
    Thank you very much!

    After trying(unsuccessfully) to fix md5check along with the strip.c csh script from xdd...I think its about time I buy a book on shell scripting.
    Less is more.

  8. #33
    Xtreme Member
    Join Date
    Jun 2005
    Location
    Perth, Western Australia
    Posts
    114
    Quote Originally Posted by stevecs View Post
    Right now I would say ignore the 1.5TB drives as they (from a BER rating) suck.
    I haven't read the entire thread (it's heavy reading), but in laymans terms, why is this the case?



    Case: Coolermaster CM690 OS: Windows XP x64 edition / Windows Vista x64 Optical: Asus DRW-1814BLT, LG GDR8164B Motherboard: Gigabyte GA-P35-DS3 (rev 2.1) Monitors: Dual GDM-5410 21" RAM: Corsair XMS2 4GB (2 x 2GB) DDR2 800, 5-4-3-12 Processor: E2140 (M0) @ 3.2ghz/1.3825v (set in BIOS) PSU: Enermax EG565P-VE FMA (24P) 535W ATX2.01 PSU Videocard: Galaxy 512mb 8800GT @ 675/1674/1100 (Samsung 1.0ns) Cooling: Xigmatek HDT-S1283, Accelero S1 Rev. 2 + 2x 120mm Coolermaster fan Storage: Western Digital Raptor 74gb (WD740GD-00FLA2), Seagate 750gb (ST3750630AS)

  9. #34
    Xtreme Addict
    Join Date
    Jul 2006
    Posts
    1,124
    The 1.5TB dirves are desktop drives, they have a bit error rating of 10^14, a duty cycle of 8 hours/day (all desktop drives), and a mtbf of 750,000 hours which calculate out to a % change of not being able to read all sectors of ~11% for a single drive. Contrast that with nearline drives (NS series) 1TiB which have a bit error rate of 10^15 (order of magnitude better), 24 hour duty cycle, and mtbf of 1,500,000 hours which have a % chance of not reading all sectors on a drive to about 1%. With large drives like these they need to have much higher BER ratings (enterprise has 10^16) which should really be put on the larger drives (you don't need that high of a rating for a small drive, you DO need them on huge drives).

    Basically, you get what you pay for to some degree, best (lowest error rating) would be use enterprise drives (normally the high rpm 300GiB or less SAS ones these days) and bunches of them; next would be nearline drives; last would be desktop. And the absolute last would be the very large desktop ones (or I guess laptop drives should fall near the end as well but generally people don't use them for long term storage).

    |.Server/Storage System.............|.Gaming/Work System..............................|.Sundry...... ............|
    |.Supermico X8DTH-6f................|.Asus Z9PE-D8 WS.................................|.HP LP3065 30"LCD Monitor.|
    |.(2) Xeon X5690....................|.2xE5-2643 v2....................................|.Mino lta magicolor 7450..|
    |.(192GB) Samsung PC10600 ECC.......|.2xEVGA nVidia GTX670 4GB........................|.Nikon coolscan 9000......|
    |.800W Redundant PSU................|.(8x8GB) Kingston DDR3-1600 ECC..................|.Quantum LTO-4HH..........|
    |.NEC Slimline DVD RW DL............|.Corsair AX1200..................................|........ .................|
    |.(..6) LSI 9200-8e HBAs............|.Lite-On iHBS112.................................|.Dell D820 Laptop.........|
    |.(..8) ST9300653SS (300GB) (RAID0).|.PA120.3, Apogee, MCW N&S bridge.................|...2.33Ghz; 8GB Ram;......|
    |.(112) ST2000DL003 (2TB) (RAIDZ2)..|.(1) Areca ARC1880ix-8 512MiB Cache..............|...DVDRW; 128GB SSD.......|
    |.(..2) ST9146803SS (146GB) (RAID-1)|.(8) Intel SSD 520 240GB (RAID6).................|...Ubuntu 12.04 64bit.....|
    |.Ubuntu 12.04 64bit Server.........|.Windows 7 x64 Pro...............................|............... ..........|

  10. #35
    Xtreme Addict
    Join Date
    Mar 2008
    Posts
    1,163
    Quote Originally Posted by stevecs View Post
    The 1.5TB dirves are desktop drives, they have a bit error rating of 10^14, a duty cycle of 8 hours/day (all desktop drives), and a mtbf of 750,000 hours which calculate out to a % change of not being able to read all sectors of ~11% for a single drive. Contrast that with nearline drives (NS series) 1TiB which have a bit error rate of 10^15 (order of magnitude better), 24 hour duty cycle, and mtbf of 1,500,000 hours which have a % chance of not reading all sectors on a drive to about 1%. With large drives like these they need to have much higher BER ratings (enterprise has 10^16) which should really be put on the larger drives (you don't need that high of a rating for a small drive, you DO need them on huge drives).

    Basically, you get what you pay for to some degree, best (lowest error rating) would be use enterprise drives (normally the high rpm 300GiB or less SAS ones these days) and bunches of them; next would be nearline drives; last would be desktop. And the absolute last would be the very large desktop ones (or I guess laptop drives should fall near the end as well but generally people don't use them for long term storage).
    Nope. The last would be laptop drives.
    Actually I've seen a NAS using them.

  11. #36
    Xtreme Addict
    Join Date
    Jul 2006
    Posts
    1,124
    A NAS w/ laptop drives !?!? wow, talk about Russian roulette with an automatic.

    |.Server/Storage System.............|.Gaming/Work System..............................|.Sundry...... ............|
    |.Supermico X8DTH-6f................|.Asus Z9PE-D8 WS.................................|.HP LP3065 30"LCD Monitor.|
    |.(2) Xeon X5690....................|.2xE5-2643 v2....................................|.Mino lta magicolor 7450..|
    |.(192GB) Samsung PC10600 ECC.......|.2xEVGA nVidia GTX670 4GB........................|.Nikon coolscan 9000......|
    |.800W Redundant PSU................|.(8x8GB) Kingston DDR3-1600 ECC..................|.Quantum LTO-4HH..........|
    |.NEC Slimline DVD RW DL............|.Corsair AX1200..................................|........ .................|
    |.(..6) LSI 9200-8e HBAs............|.Lite-On iHBS112.................................|.Dell D820 Laptop.........|
    |.(..8) ST9300653SS (300GB) (RAID0).|.PA120.3, Apogee, MCW N&S bridge.................|...2.33Ghz; 8GB Ram;......|
    |.(112) ST2000DL003 (2TB) (RAIDZ2)..|.(1) Areca ARC1880ix-8 512MiB Cache..............|...DVDRW; 128GB SSD.......|
    |.(..2) ST9146803SS (146GB) (RAID-1)|.(8) Intel SSD 520 240GB (RAID6).................|...Ubuntu 12.04 64bit.....|
    |.Ubuntu 12.04 64bit Server.........|.Windows 7 x64 Pro...............................|............... ..........|

Page 2 of 2 FirstFirst 12

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •