Class Performance


  • public final class Performance
    extends java.lang.Object
    Example to show the performance of Alluxio.
    • Method Detail

      • logPerIteration

        public static void logPerIteration​(long startTimeMs,
                                           int times,
                                           java.lang.String msg,
                                           int workerId)
        Writes log information.
        Parameters:
        startTimeMs - the start time in milliseconds
        times - the number of the iteration
        msg - the message
        workerId - the id of the worker
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Runs the performance test. Usage: java -cp <ALLUXIO-VERSION> alluxio.examples.Performance <MasterIp> <FileNamePrefix> <WriteBlockSizeInBytes> <BlocksPerFile> <DebugMode:true/false> <Threads> <FilesPerThread> <TestCaseNumber> <BaseFileNumber>
        Parameters:
        args - the arguments for this example
        Throws:
        java.lang.Exception