金勝SSD分區-從63區開始分區還是從64區開始分區?

金勝SSD分區-從63區開始分區還是從64區開始分區?

我最近購買了一台 KSD-PA25.6-064MS,它已預先格式化,分割區從第 63 區開始。

我知道這對 SSD 來說並不常見,並且可能會導致過度的寫入放大。不過,既然廠商就是​​這麼做的,可能是專門為這個特定的佈局而設計的。

製造商網站上的規格不要告訴任何有關擦除區塊或類似內容的資訊。同樣,我還無法直接聯繫製造商 - 他們網站上指定的管道似乎不起作用。

有沒有人做過性能測試或其他東西來找出內部參數,特別是上述問題?

我不感興趣有關 SSD 結構的一般信息。我對 KingSpec 驅動器特別感興趣(越接近我的型號越好)——無論它們是否特殊。

答案1

我最終沒能得到任何製造商的答复,即使我抄送了他們的海外銷售經理(他們網站上唯一被證明有效的聯繫渠道),他將我的消息轉發給適當的部門,並要求他們做出回應。

根據確定 SSD 的內部扇區大小以實現可能的分區對齊 - PC Review 新聞組,KingSpec 硬碟使用庫存第 3 方快閃記憶體晶片(如對較低價格段產品的預期) - 因此出現任何異常內部結構的可能性非常小。

根據 flashbench輸出:

$ flashbench -a /dev/sda -b 1024
align 536870912 pre 547Вµs  on 702Вµs   post 528Вµs diff 164Вµs
align 268435456 pre 540Вµs  on 700Вµs   post 544Вµs diff 158Вµs
align 134217728 pre 565Вµs  on 717Вµs   post 531Вµs diff 168Вµs
align 67108864  pre 571Вµs  on 727Вµs   post 547Вµs diff 168Вµs
align 33554432  pre 554Вµs  on 732Вµs   post 554Вµs diff 178Вµs
align 16777216  pre 568Вµs  on 664Вµs   post 551Вµs diff 104Вµs
align 8388608   pre 575Вµs  on 644Вµs   post 590Вµs diff 61.2Вµs
align 4194304   pre 576Вµs  on 644Вµs   post 590Вµs diff 60.9Вµs
align 2097152   pre 576Вµs  on 645Вµs   post 591Вµs diff 61.5Вµs
align 1048576   pre 577Вµs  on 646Вµs   post 591Вµs diff 61.8Вµs
align 524288    pre 576Вµs  on 646Вµs   post 593Вµs diff 61.5Вµs
align 262144    pre 575Вµs  on 646Вµs   post 590Вµs diff 62.8Вµs
align 131072    pre 583Вµs  on 649Вµs   post 574Вµs diff 70.3Вµs
align 65536 pre 585Вµs  on 653Вµs   post 582Вµs diff 70Вµs
align 32768 pre 586Вµs  on 652Вµs   post 580Вµs diff 68.7Вµs
align 16384 pre 584Вµs  on 624Вµs   post 586Вµs diff 39.4Вµs
align 8192  pre 586Вµs  on 605Вµs   post 587Вµs diff 19Вµs
align 4096  pre 585Вµs  on 605Вµs   post 586Вµs diff 19.4Вµs
align 2048  pre 584Вµs  on 584Вµs   post 585Вµs diff 379ns 

我的驅動器使用 16K 扇區和 16M 擦除區塊。

現在,讓我們看看分區的時間:

$ flashbench -a /dev/sda1 -b 1024
align 536870912 pre 690Вµs  on 671Вµs   post 722Вµs diff -35600n
align 268435456 pre 707Вµs  on 683Вµs   post 734Вµs diff -37774n
align 134217728 pre 691Вµs  on 672Вµs   post 724Вµs diff -36217n
align 67108864  pre 711Вµs  on 688Вµs   post 741Вµs diff -37954n
align 33554432  pre 717Вµs  on 694Вµs   post 746Вµs diff -37195n
align 16777216  pre 714Вµs  on 692Вµs   post 744Вµs diff -36476n
align 8388608   pre 759Вµs  on 736Вµs   post 786Вµs diff -36996n
align 4194304   pre 757Вµs  on 732Вµs   post 782Вµs diff -37075n
align 2097152   pre 758Вµs  on 733Вµs   post 783Вµs diff -38152n
align 1048576   pre 757Вµs  on 735Вµs   post 788Вµs diff -37275n
align 524288    pre 759Вµs  on 736Вµs   post 786Вµs diff -36078n
align 262144    pre 754Вµs  on 733Вµs   post 789Вµs diff -38073n
align 131072    pre 738Вµs  on 718Вµs   post 766Вµs diff -33265n
align 65536 pre 747Вµs  on 728Вµs   post 773Вµs diff -32086n
align 32768 pre 745Вµs  on 725Вµs   post 776Вµs diff -35799n

搞什麼?沒有圖案和消極的差異?事實上,這表示讀取未與 SSD 區塊對齊。

事實上,如果我將分割區起始位置變更為磁區 64,輸出將變更為更預期的結果:

$ flashbench -a /dev/sda1 -b 1024
align 536870912 pre 531Вµs  on 600Вµs   post 530Вµs diff 69.3Вµs
align 268435456 pre 543Вµs  on 611Вµs   post 542Вµs diff 68.4Вµs
align 134217728 pre 531Вµs  on 600Вµs   post 531Вµs diff 68.9Вµs
align 67108864  pre 548Вµs  on 618Вµs   post 548Вµs diff 69.8Вµs
align 33554432  pre 555Вµs  on 624Вµs   post 553Вµs diff 70.4Вµs
align 16777216  pre 552Вµs  on 622Вµs   post 552Вµs diff 69.9Вµs
align 8388608   pre 594Вµs  on 664Вµs   post 592Вµs diff 71.1Вµs
align 4194304   pre 593Вµs  on 660Вµs   post 590Вµs diff 68.7Вµs
align 2097152   pre 590Вµs  on 660Вµs   post 593Вµs diff 69.1Вµs
align 1048576   pre 593Вµs  on 665Вµs   post 595Вµs diff 71.6Вµs
align 524288    pre 594Вµs  on 663Вµs   post 591Вµs diff 70.1Вµs
align 262144    pre 593Вµs  on 664Вµs   post 594Вµs diff 70.5Вµs
align 131072    pre 578Вµs  on 643Вµs   post 577Вµs diff 65.4Вµs
align 65536 pre 583Вµs  on 650Вµs   post 577Вµs diff 70Вµs
align 32768 pre 583Вµs  on 654Вµs   post 587Вµs diff 68.8Вµs
align 16384 pre 581Вµs  on 623Вµs   post 584Вµs diff 40.4Вµs
align 8192  pre 583Вµs  on 601Вµs   post 582Вµs diff 17.9Вµs
align 4096  pre 582Вµs  on 601Вµs   post 583Вµs diff 19Вµs
align 2048  pre 581Вµs  on 581Вµs   post 581Вµs diff -479ns

相關內容