瀏覽單個文章
Arucueid
Master Member
 
Arucueid的大頭照
 

加入日期: Feb 2004
您的住址: 加拿大
文章: 2,391
引用:
作者hareluya6510
這個討論串本來很歡樂的XD
剛開始我一直在想, 他到底是那搞混了
後來卻變成是我開始進入”自我腦殘模式”, 尋找他所謂的真理
就在昨晚, 我把腦殘範圍擴大到整個有關NAND的知識範圍
我終於尋得大濕的奧義…

假設我有2個4k的小檔(在這樣的腦殘模式下,在下最多僅能處理2個檔案, 無法像大濕可以處理非常大量的小檔)
128GB的SSD, 1個Block如果只有1個Page,
那128G SSD是寫入兩個Block, 只有寫入一次
256GB的SSD, 1個Block相對128GB SSD會有2個 Page,
所以2個4K的小檔, 要先寫入第一個4K檔案後, 再把這個Block erase掉
再同時把2個4K檔案寫入這個Block,
因此, 256GB要寫入2次, 壽命自然就減半了!
(趕羚羊咧, 我居然理解了)

我的最後結論是:
當你捨棄所有NAND flash的工作原理與基礎, 你就能理解大濕的真理
為了理解這個真理, 我昨晚大概弄死掉1%的腦細胞~_~


原來是這樣... 我還跳進他給的前提裡面了

問題在於: 就算是這樣好了, 正常運作下, 控制器也應該會糾第二個 4K 直接寫入第二個 block, 而不會erase 第一個 block 再寫進去, 頂多就是 mark 起來 要erase 等一下不忙的時候再說
     
      
__________________

Rule #12: Never date a co-worker.
Rule #13: Never involve lawyers.
Rule #23: Never mess with a Marine's coffee if you want to live!
Rule #51: Sometimes you are wrong

純白の吸血鬼は微笑む:私を殺した責任、とってもらうからわ - アルクエイド ブリュンスッド
貴方に出逢い STAR輝いて アタシが生まれて
Was aus Liebe gethan wird, geschieht immer Jenseits von Gut und Böse - Friedrick Wilhelm Nietzsche

Cain was the first man ever to strike down another... and when the Lord came to him and said ‘What have you done!?’, Cain could not hide his crime. For the voice of his brother’s blood cried out from the very ground

The world has been your battlefield, everywhere you go. The blood of brothers and sons screams out against you. Perhaps you cannot yet hear it, because the soil is not your own, but you will... you will
舊 2012-09-18, 10:59 AM #321
回應時引用此文章
Arucueid離線中