allAboutDbmss
V2EX  ›  硬件

怎么用 fio 去测到 SSD 厂家声称的读带宽?

  •  
  •   allAboutDbmss · Oct 13, 2023 · 876 views
  •   You need to sign in to view this topic
    This topic created in 963 days ago, the information mentioned may be changed or developed.

    这里有一个我看到的 fio 测评 Samsung 980 PRO 1T. 他测评顺序读大概是不到 3G/s. 但是厂家说可能是 7G/s: https://www.phoronix.com/review/samsung-980-pro/3 因为我自己也有这个 ssd, 我用 fio 测了一下和这个测评类似速度:

    sudo fio --name=seq_read --filename=/dev/nvme0n1 --rw=read --ioengine=libaio --bs=1m --numjobs=16 --iodepth=16 --runtime=2m --time_based --direct=1 --group_reporting
    
    goodryb
        1
    goodryb  
       Oct 14, 2023
    首先你要搞清楚你是想测试吞吐量还是 iops , 对应的测试参数是不一样的,针对性的调整参数才能发挥最大性能
    allAboutDbmss
        2
    allAboutDbmss  
    OP
       Oct 15, 2023
    @goodryb #1 顺序读带宽。我其实对比的是这个博客和厂家的数据。你有想法吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1298 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
    ♥ Do have faith in what you're doing.