Quickly & Easily Running Benchmarks On Docker With "phoronix/pts"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67061

    Quickly & Easily Running Benchmarks On Docker With "phoronix/pts"

    Phoronix: Quickly & Easily Running Benchmarks On Docker With "phoronix/pts"

    Making the Phoronix Test Suite even easier to use for container benchmarking, on Docker Hub now is the phoronix/pts image for easily carrying out Docker tests with a fully-standardized, performance-optimized user-space stack with many of the popular test profiles pre-seeded on the disk and is ready to begin benchmarking out-of-the-box.

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • DrYak
    Senior Member
    • Apr 2008
    • 978

    #2
    Great stuff!


    Possibility to benchmark an external filesystem that was bind-mounted to the docker (forgot the correct docker terminology...)

    Quick check : yes, bind mount is the correct terminology.

    Comment

    • lachs0r
      Junior Member
      • Jul 2017
      • 6

      #3
      Just be aware that Docker has insane syscall overhead due to its heavy filtering (even with privileged containers), which can be observed with perf top while running syscall-heavy workloads (for instance, installing packages can take orders of magnitude longer in a Docker container than it does with plain lxc or under KVM/virtio). This should be taken into account when interpreting benchmark results.

      Comment

      • edwaleni
        Senior Member
        • Feb 2015
        • 1268

        #4
        This is fantastic! Exactly what I was looking for. I will give it a run.

        Comment

        • Kekos
          Junior Member
          • Dec 2015
          • 10

          #5
          great !! any link to the Dockerfile ?

          Comment

          • DrYak
            Senior Member
            • Apr 2008
            • 978

            #6
            Also, has someone tried running this container it on cluster-firendly systems ?
            (e.g.: on Singularity containers, etc.)

            I would try eventually...

            Comment

            • Michael
              Phoronix
              • Jun 2006
              • 14285

              #7
              Originally posted by DrYak View Post
              Also, has someone tried running this container it on cluster-firendly systems ?
              (e.g.: on Singularity containers, etc.)

              I would try eventually...
              I haven't tried myself, but if Clear Linux works there then it should.... Anyhow, feedback and testing appreciated.
              Michael Larabel
              https://www.michaellarabel.com/

              Comment

              • browseria
                Senior Member
                • Apr 2018
                • 143

                #8
                pts/encode-ogg-1.5.1:
                Test Installation 3 of 6
                3 Files Needed [3.4 MB / 1 Minute]
                Test Profile Status: Deprecated
                libogg-1.3.3.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                libvorbis-1.3.5.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                vorbis-tools-1.4.0.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                Downloading of needed test files failed.

                ...

                PostgreSQL pgbench 10.3:
                pts/pgbench-1.8.4
                Test 2 of 2
                Estimated Trial Run Count: 3
                Estimated Time To Completion: 43 Minutes [06:23 UTC]
                Started Run 1 @ 05:40:45
                The test run did not produce a result.
                Started Run 2 @ 05:40:57
                The test run did not produce a result.
                Started Run 3 @ 05:41:09
                The test run did not produce a result.
                E: ERROR: relation "pgbench_branches" does not exist
                Last edited by browseria; 25 August 2018, 01:47 AM.

                Comment

                • Michael
                  Phoronix
                  • Jun 2006
                  • 14285

                  #9
                  Originally posted by browseria View Post
                  pts/encode-ogg-1.5.1:
                  Test Installation 3 of 6
                  3 Files Needed [3.4 MB / 1 Minute]
                  Test Profile Status: Deprecated
                  libogg-1.3.3.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                  libvorbis-1.3.5.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                  vorbis-tools-1.4.0.tar.gz must be manually placed in the Phoronix Test Suite download-cache.
                  Downloading of needed test files failed.

                  ...

                  PostgreSQL pgbench 10.3:
                  pts/pgbench-1.8.4
                  Test 2 of 2
                  Estimated Trial Run Count: 3
                  Estimated Time To Completion: 43 Minutes [06:23 UTC]
                  Started Run 1 @ 05:40:45
                  The test run did not produce a result.
                  Started Run 2 @ 05:40:57
                  The test run did not produce a result.
                  Started Run 3 @ 05:41:09
                  The test run did not produce a result.
                  E: ERROR: relation "pgbench_branches" does not exist
                  For the first error are you running without Internet? Ogg isn't one of the cached tests. You can see list-cached-tests to know what are cached locally. PostgreSQL should be there, would need to investigate via debug-run pgbench to see why it might be failing.
                  Michael Larabel
                  https://www.michaellarabel.com/

                  Comment

                  • blueweb
                    Phoronix Member
                    • Feb 2018
                    • 88

                    #10
                    Trying to benchmark with the 'hpcc' test produces this message:

                    Code:
                    Some additional dependencies are required, but they could not be installed automatically for your operating system.
                    Below are the software packages that must be installed.
                    
                    
                    Linear Algebra Pack
                    Possible Package Names: liblapack-dev, lapack, lapack-devel, liblapack-devel
                    
                    The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
                    How should the dependencies be installed?

                    Comment

                    Working...
                    X