NAND flash的寫入次數是如何測出來的? - 儲存設備
By Rae
at 2010-09-02T22:33
at 2010-09-02T22:33
Table of Contents
如題,我們常看到很多人問隨身碟或固態硬碟壽命如何如何,回答者常回答slc可以寫入
100000次,mlc可以寫入10000次,但這數字是怎麼出來的,難道是廠商真的請工讀生寫入
10000次嗎?還是用程式去跑的?如果是用程式跑的話,我曾寫過一個程式對隨身碟單一磁
區寫入10000000次(它沒有wear leaving,而且有用檔案回覆軟體證實沒有蓋到其他磁區
),結果隨身碟也沒壞,容量也沒變小,為什麼?
我寫的程式如下:
include<stdio.h>
int
main(void)
{
register long double i;
FILE *output;
i=1;
while(1)
{
output=fopen("w.txt","w");
fprintf(output,"%d", (int)i);
printf("%d", (int)i);//程式會在寫入的檔案內顯示次數,也會在螢幕顯示
fclose(output);
}
return(0);
}
程式概念大致上是如此,文句上可能略有打錯,請多包涵
--
100000次,mlc可以寫入10000次,但這數字是怎麼出來的,難道是廠商真的請工讀生寫入
10000次嗎?還是用程式去跑的?如果是用程式跑的話,我曾寫過一個程式對隨身碟單一磁
區寫入10000000次(它沒有wear leaving,而且有用檔案回覆軟體證實沒有蓋到其他磁區
),結果隨身碟也沒壞,容量也沒變小,為什麼?
我寫的程式如下:
include<stdio.h>
int
main(void)
{
register long double i;
FILE *output;
i=1;
while(1)
{
output=fopen("w.txt","w");
fprintf(output,"%d", (int)i);
printf("%d", (int)i);//程式會在寫入的檔案內顯示次數,也會在螢幕顯示
fclose(output);
}
return(0);
}
程式概念大致上是如此,文句上可能略有打錯,請多包涵
--
Tags:
儲存設備
All Comments
By Zora
at 2010-09-04T15:11
at 2010-09-04T15:11
By Ina
at 2010-09-04T22:01
at 2010-09-04T22:01
By Susan
at 2010-09-07T15:08
at 2010-09-07T15:08
By Ursula
at 2010-09-10T21:30
at 2010-09-10T21:30
By George
at 2010-09-12T19:25
at 2010-09-12T19:25
By Hedwig
at 2010-09-13T20:07
at 2010-09-13T20:07
By Connor
at 2010-09-15T14:08
at 2010-09-15T14:08
By Ursula
at 2010-09-20T08:37
at 2010-09-20T08:37
By Caroline
at 2010-09-25T03:42
at 2010-09-25T03:42
By Mason
at 2010-09-28T16:02
at 2010-09-28T16:02
By Aaliyah
at 2010-09-29T13:54
at 2010-09-29T13:54
Related Posts
Toshiba推出世界最速SDHC卡
By Lydia
at 2010-09-02T17:08
at 2010-09-02T17:08
硬碟空間少了400G
By Sandy
at 2010-09-02T16:58
at 2010-09-02T16:58
WD My Book Essential上的 Power Botton
By Zenobia
at 2010-09-02T15:25
at 2010-09-02T15:25
SATA 和SATA2的問題
By Joe
at 2010-09-02T14:19
at 2010-09-02T14:19
ApacerSDHC記憶卡無法讀取?
By Caitlin
at 2010-09-02T11:42
at 2010-09-02T11:42