Class UfsIOBench


  • public class UfsIOBench
    extends Benchmark<alluxio.stress.worker.IOTaskResult>
    A benchmark tool measuring the IO to UFS.
    • Constructor Detail

      • UfsIOBench

        public UfsIOBench()
    • Method Detail

      • getBenchDescription

        public java.lang.String getBenchDescription()
        Description copied from class: Benchmark
        Get the description of the bench.
        Specified by:
        getBenchDescription in class Benchmark<alluxio.stress.worker.IOTaskResult>
        Returns:
        string of the bench description
      • runLocal

        public alluxio.stress.worker.IOTaskResult runLocal()
                                                    throws java.lang.Exception
        Description copied from class: Benchmark
        Runs the test locally, in process.
        Specified by:
        runLocal in class Benchmark<alluxio.stress.worker.IOTaskResult>
        Returns:
        the task result
        Throws:
        java.lang.Exception
      • prepare

        public void prepare()
        Description copied from class: Benchmark
        Prepares to run the test.
        Specified by:
        prepare in class Benchmark<alluxio.stress.worker.IOTaskResult>
      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - command-line arguments