ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux Storage Benchmark (IOPS)

    IT Discussion
    linux bench storage iops
    5
    14
    3.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Emad RE
      Emad R
      last edited by

      SSD vs HDD (IOPS).png

      Hi

      I need something simple to test Linux storage and extra points if I can bench NFS shares

      I tried iostat, but this command
      iostat -d <your disk name> | grep <your disk name> | awk '{ print $2; }'

      from
      https://unix.stackexchange.com/questions/225095/how-to-get-total-read-and-total-write-iops-in-linux

      gives you very different variated results, I ran it got
      80
      kept running it and those are results
      79
      78
      77
      76
      continuous decrease till 70
      reboot
      then run and results starts from 448
      then continuous decrease

      I want something stable and works like GeekBench for CPU

      1 Reply Last reply Reply Quote 1
      • black3dynamiteB
        black3dynamite
        last edited by

        I was thinking Dell Performance Analysis Collection kit would work but you want to also benchmark nfs shares and want something simple.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          iostat reports on disk usage, not disk capability. Very different things. You want to know the top speed of your disks, not how much they are being used. Like the difference between knowing your car can go 180 k/h, versus knowing it is currently going 60 k/h.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Start with hdparm. Something like this...

            sudo hdparm -Tt yourdevice
            
            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Or...

              sudo hdparm -v yourdevice
              
              Emad RE 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Is this a server or a desktop? If you have a GUI, check out gnome-disks

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  You can use dd, too. Mount the disk in question and do something like this...

                  dd if=/dev/zero of=/mydrivemount/output bs=8k count=10k
                  

                  Just delete that file when you are done.

                  1 Reply Last reply Reply Quote 1
                  • 1
                    1337
                    last edited by

                    FIO

                    1 Reply Last reply Reply Quote 1
                    • Emad RE
                      Emad R @scottalanmiller
                      last edited by

                      @scottalanmiller

                      II used hdparm, and this server or gui less, but I am not getting what I want, I want IOPS

                      like any windows utility notice the screenshot above SSD IOPS is ~55,000 R and 46000 Write

                      I want something that will allow me to get the IOPS in linux, those give me speed of file transfer but not IOPS

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        You'll need FIO as Pete says.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dyasny
                          last edited by

                          https://github.com/vladzcloudius/diskplorer

                          This is a cool wrapper for FIO, written by a colleague of mine. FIO provides you with the maximums, while this tool will allow you to measure the optimal settings and actual disk capabilities.

                          Emad RE 1 Reply Last reply Reply Quote 2
                          • Emad RE
                            Emad R @dyasny
                            last edited by Emad R

                            @dyasny

                            It is very good tool, but if you can tell him to also support write speeds not just read

                            Emad RE 1 Reply Last reply Reply Quote 0
                            • Emad RE
                              Emad R @Emad R
                              last edited by Emad R

                              @Emad-R said in Linux Storage Benchmark (IOPS):

                              @dyasny

                              It is very good tool, but if you can tell him to also support write speeds not just read

                              NVM I saw this -t option but

                              diskplorer.py: error: option -t: invalid choice: 'test' (choose from 'read', 'write', 'randwrite', 'randread')

                              2019-01-05 10_53_24-Fedora (Virt-Manager) - VMware Workstation.png

                              However I dont get what IOPS in Windows tests and Linux tests, I am used to see IOPS like 100-200 for HDD and 40,000+ for SATA SSDs
                              ~100,000 for NVME

                              https://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo/

                              However it seems that maybe i dont know what I am looking for
                              RANDOM WRITE (4KB, QD1)
                              RANDOM WRITE (4KB, QD32)

                              I just want one base metric to give me good indicator

                              FYi this is VM on HDD

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Emad R
                                last edited by

                                @Emad-R IOPS varies wildly by how it is tested. The question for your Windows tests would be... how was it tested? We know how the Linux was tested, it tells us. Knowing how the Windows was tested is the real need at this point.

                                1 Reply Last reply Reply Quote 1
                                • 1 / 1
                                • First post
                                  Last post