[隨身碟] 試下隻新嘅 stick style USB SSD

本帖最後由 fakeman 於 2023-2-12 02:09 編輯

係日森見到呢隻 USB SSD(但睇落同普通 USB stick 冇分別)平得來(250GB 唔使 4000 円)兼且極度好評,本住冒險精神試試....



體積非常之細小(望下左手邊係我隻手指),網站有 2 款,一隻寫話係 USB memory 一隻係 SSD,我揀 SSD 果個
官方聲稱 USB 3.2 Gen 2(10Gbps)下可以 600MB/s read + 260MB/s write,如果用 USB 3.2 Gen 1(5Gbps)就會係 400MB/s read + 250MB write

手頭最方便果部 Celeron J4125 mini PC 只有 USB 3.2 Gen 1,就試一試先,因為我行緊 Linux Mint,用 KDiskMark(類似 Crystal Disk Mark)去測試
  1.                         KDiskMark (3.1.2): https://github.com/JonMagon/KDiskMark
  2.                     Flexible I/O Tester (fio-3.16): https://github.com/axboe/fio
  3. --------------------------------------------------------------------------------
  4. * MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
  5. * KB = 1000 bytes, KiB = 1024 bytes

  6. [Read]
  7. Sequential   1 MiB (Q=  1, T= 1):   399.001 MB/s [    389.6 IOPS] <  2562.70 us>
  8.     Random   4 KiB (Q=  1, T= 1):     3.874 MB/s [    968.6 IOPS] <  1029.74 us>

  9. [Write]
  10. Sequential   1 MiB (Q=  1, T= 1):   355.088 MB/s [    346.8 IOPS] <  1230.95 us>
  11.     Random   4 KiB (Q=  1, T= 1):     4.164 MB/s [   1041.1 IOPS] <   928.61 us>

  12. Profile: Real World Performance
  13.    Test: 1 GiB (x5) [Measure: 5 sec / Interval: 5 sec]
  14.    Date: 2023-02-12 03:01:21
  15.      OS: linuxmint 20.3 [linux 5.15.0-58-generic]
複製代碼
1GiB x 5 test:
Read 399MB/s(同官方數字幾乎相同)Write 355MB/s(比官方寫嘅快,已經重複咗 2-3 次,數值幾乎不變),睇返森林 d 報告,大多數用家 Crystal Disk Mark 都試到 write speed 比表示嘅高

根據包裝,寫住 Design in Japan,不過 Made in Taiwan(竟然唔係祖國製造??),為咗一探究竟,係 Linux console 查牌先
  1. Bus 002 Device 004: ID 13fe:6500 Kingston Technology Company Inc. USB DISK 3.2
  2. Device Descriptor:
  3.   bLength                18
  4.   bDescriptorType         1
  5.   bcdUSB               3.20
  6.   bDeviceClass            0
  7.   bDeviceSubClass         0
  8.   bDeviceProtocol         0
  9.   bMaxPacketSize0         9
  10.   idVendor           0x13fe Kingston Technology Company Inc.
  11.   idProduct          0x6500
  12.   bcdDevice            1.10
  13.   iManufacturer           1        
  14.   iProduct                2 USB DISK 3.2
  15.   iSerial                 3 070026E985170B27
  16.   bNumConfigurations      1
  17.   Configuration Descriptor:
  18.     bLength                 9
  19.     bDescriptorType         2
  20.     wTotalLength       0x0079
  21.     bNumInterfaces          1
  22.     bConfigurationValue     1
  23.     iConfiguration          0
  24.     bmAttributes         0x80
  25.       (Bus Powered)
  26.     MaxPower              896mA
  27.     Interface Descriptor:
  28.       bLength                 9
  29.       bDescriptorType         4
  30.       bInterfaceNumber        0
  31.       bAlternateSetting       0
  32.       bNumEndpoints           2
  33.       bInterfaceClass         8 Mass Storage
  34.       bInterfaceSubClass      6 SCSI
  35.       bInterfaceProtocol     80 Bulk-Only
  36.       iInterface              0
  37.       Endpoint Descriptor:
  38.         bLength                 7
  39.         bDescriptorType         5
  40.         bEndpointAddress     0x81  EP 1 IN
  41.         bmAttributes            2
  42.           Transfer Type            Bulk
  43.           Synch Type               None
  44.           Usage Type               Data
  45.         wMaxPacketSize     0x0400  1x 1024 bytes
  46.         bInterval               0
  47.         bMaxBurst               7
  48.       Endpoint Descriptor:
  49.         bLength                 7
  50.         bDescriptorType         5
  51.         bEndpointAddress     0x02  EP 2 OUT
  52.         bmAttributes            2
  53.           Transfer Type            Bulk
  54.           Synch Type               None
  55.           Usage Type               Data
  56.         wMaxPacketSize     0x0400  1x 1024 bytes
  57.         bInterval               0
  58.         bMaxBurst               7
  59.     Interface Descriptor:
  60.       bLength                 9
  61.       bDescriptorType         4
  62.       bInterfaceNumber        0
  63.       bAlternateSetting       1
  64.       bNumEndpoints           4
  65.       bInterfaceClass         8 Mass Storage
  66.       bInterfaceSubClass      6 SCSI
  67.       bInterfaceProtocol     98
  68.       iInterface              0
  69.       Endpoint Descriptor:
  70.         bLength                 7
  71.         bDescriptorType         5
  72.         bEndpointAddress     0x81  EP 1 IN
  73.         bmAttributes            2
  74.           Transfer Type            Bulk
  75.           Synch Type               None
  76.           Usage Type               Data
  77.         wMaxPacketSize     0x0400  1x 1024 bytes
  78.         bInterval               0
  79.         bMaxBurst               7
  80.         MaxStreams             32
  81.         Data-in pipe (0x03)
  82.       Endpoint Descriptor:
  83.         bLength                 7
  84.         bDescriptorType         5
  85.         bEndpointAddress     0x02  EP 2 OUT
  86.         bmAttributes            2
  87.           Transfer Type            Bulk
  88.           Synch Type               None
  89.           Usage Type               Data
  90.         wMaxPacketSize     0x0400  1x 1024 bytes
  91.         bInterval               0
  92.         bMaxBurst               7
  93.         MaxStreams             32
  94.         Data-out pipe (0x04)
  95.       Endpoint Descriptor:
  96.         bLength                 7
  97.         bDescriptorType         5
  98.         bEndpointAddress     0x83  EP 3 IN
  99.         bmAttributes            2
  100.           Transfer Type            Bulk
  101.           Synch Type               None
  102.           Usage Type               Data
  103.         wMaxPacketSize     0x0400  1x 1024 bytes
  104.         bInterval               0
  105.         bMaxBurst               0
  106.         MaxStreams             32
  107.         Status pipe (0x02)
  108.       Endpoint Descriptor:
  109.         bLength                 7
  110.         bDescriptorType         5
  111.         bEndpointAddress     0x04  EP 4 OUT
  112.         bmAttributes            2
  113.           Transfer Type            Bulk
  114.           Synch Type               None
  115.           Usage Type               Data
  116.         wMaxPacketSize     0x0400  1x 1024 bytes
  117.         bInterval               0
  118.         bMaxBurst              15
  119.         Command pipe (0x01)
  120. Binary Object Store Descriptor:
  121.   bLength                 5
  122.   bDescriptorType        15
  123.   wTotalLength       0x002a
  124.   bNumDeviceCaps          3
  125.   USB 2.0 Extension Device Capability:
  126.     bLength                 7
  127.     bDescriptorType        16
  128.     bDevCapabilityType      2
  129.     bmAttributes   0x00000006
  130.       BESL Link Power Management (LPM) Supported
  131.   SuperSpeed USB Device Capability:
  132.     bLength                10
  133.     bDescriptorType        16
  134.     bDevCapabilityType      3
  135.     bmAttributes         0x00
  136.     wSpeedsSupported   0x000e
  137.       Device can operate at Full Speed (12Mbps)
  138.       Device can operate at High Speed (480Mbps)
  139.       Device can operate at SuperSpeed (5Gbps)
  140.     bFunctionalitySupport   2
  141.       Lowest fully-functional device speed is High Speed (480Mbps)
  142.     bU1DevExitLat          10 micro seconds
  143.     bU2DevExitLat        2047 micro seconds
  144.   SuperSpeedPlus USB Device Capability:
  145.     bLength                20
  146.     bDescriptorType        16
  147.     bDevCapabilityType     10
  148.     bmAttributes         0x00000001
  149.       Sublink Speed Attribute count 1
  150.       Sublink Speed ID count 0
  151.     wFunctionalitySupport   0x1100
  152.     bmSublinkSpeedAttr[0]   0x000a4030
  153.       Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
  154.     bmSublinkSpeedAttr[1]   0x000a40b0
  155.       Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
  156. can't get debug descriptor: Resource temporarily unavailable
  157. Device Status:     0x000c
  158.   (Bus Powered)
  159.   U1 Enabled
  160.   U2 Enabled
複製代碼
意想不到,竟然係 Kingston????
剛才用 dd command 去 fill zero,寫入 35000MB 試下,發現寫入速度去到 465MB/s????
摸上手,全程都感覺唔到咩熱力(有部分 USB 手指用耐咗行得快會好熱然後跌速)

睇下聽日有冇時間借用老婆部新電腦去試下 USB 3.2 Gen 2 時嘅真正速度