You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/03/17 05:42:39 UTC

[GitHub] [incubator-pinot] snleee commented on issue #5160: Add a simple PinotFS benchmark driver

snleee commented on issue #5160: Add a simple PinotFS benchmark driver
URL: https://github.com/apache/incubator-pinot/pull/5160#issuecomment-599888304
 
 
   ```
   2020/03/16 22:38:35.399 INFO [PinotFSBenchmarkDriver] [main] PinotFS has been initialized sucessfully. (mode = ALL, pinotFSClass = LocalPinotFS, configFile = /Users/snlee/workspace/pinot/pinot-tools/target/pinot-tools-pkg/config/sample2.conf, baseDirectoryUri = file:///Users/snlee/benchmark/base, localTempDir = /Users/snlee/benchmark/temp, numSegmentsForListFilesTest = 10, dataSizeInMBsForCopyTest = 100)
   2020/03/16 22:38:35.409 INFO [PinotFSBenchmarkDriver] [main] ========= List Files in Multiple Directories ==========
   2020/03/16 22:38:35.409 INFO [PinotFSBenchmarkDriver] [main] Created file:/Users/snlee/benchmark/base/listTestMultipleFile for list test...
   2020/03/16 22:38:35.418 INFO [PinotFSBenchmarkDriver] [main] Took 9 ms to create 1 segments for directory_0
   2020/03/16 22:38:35.438 INFO [PinotFSBenchmarkDriver] [main] Took 29 ms to create 10 segments for directory_1
   2020/03/16 22:38:35.540 INFO [PinotFSBenchmarkDriver] [main] Took 131 ms to create 100 segments for directory_2
   2020/03/16 22:38:36.552 INFO [PinotFSBenchmarkDriver] [main] Took 1143 ms to create 1000 segments for directory_3
   2020/03/16 22:38:41.756 INFO [PinotFSBenchmarkDriver] [main] Took 6347 ms to create 10000 segments for directory_4
   2020/03/16 22:38:41.822 INFO [PinotFSBenchmarkDriver] [main] 0: took 66 ms to listFiles. directory_0 (1 segments)
   2020/03/16 22:38:41.822 INFO [PinotFSBenchmarkDriver] [main] 1: took 0 ms to listFiles. directory_0 (1 segments)
   2020/03/16 22:38:41.823 INFO [PinotFSBenchmarkDriver] [main] 2: took 0 ms to listFiles. directory_0 (1 segments)
   2020/03/16 22:38:41.823 INFO [PinotFSBenchmarkDriver] [main] 3: took 0 ms to listFiles. directory_0 (1 segments)
   2020/03/16 22:38:41.823 INFO [PinotFSBenchmarkDriver] [main] 4: took 0 ms to listFiles. directory_0 (1 segments)
   2020/03/16 22:38:41.823 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:41.824 INFO [PinotFSBenchmarkDriver] [main] 0: took 1 ms to listFiles. directory_1 (10 segments)
   2020/03/16 22:38:41.825 INFO [PinotFSBenchmarkDriver] [main] 1: took 1 ms to listFiles. directory_1 (10 segments)
   2020/03/16 22:38:41.826 INFO [PinotFSBenchmarkDriver] [main] 2: took 1 ms to listFiles. directory_1 (10 segments)
   2020/03/16 22:38:41.826 INFO [PinotFSBenchmarkDriver] [main] 3: took 0 ms to listFiles. directory_1 (10 segments)
   2020/03/16 22:38:41.827 INFO [PinotFSBenchmarkDriver] [main] 4: took 0 ms to listFiles. directory_1 (10 segments)
   2020/03/16 22:38:41.827 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:41.833 INFO [PinotFSBenchmarkDriver] [main] 0: took 6 ms to listFiles. directory_2 (100 segments)
   2020/03/16 22:38:41.837 INFO [PinotFSBenchmarkDriver] [main] 1: took 4 ms to listFiles. directory_2 (100 segments)
   2020/03/16 22:38:41.843 INFO [PinotFSBenchmarkDriver] [main] 2: took 6 ms to listFiles. directory_2 (100 segments)
   2020/03/16 22:38:41.847 INFO [PinotFSBenchmarkDriver] [main] 3: took 4 ms to listFiles. directory_2 (100 segments)
   2020/03/16 22:38:41.851 INFO [PinotFSBenchmarkDriver] [main] 4: took 4 ms to listFiles. directory_2 (100 segments)
   2020/03/16 22:38:41.851 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:41.872 INFO [PinotFSBenchmarkDriver] [main] 0: took 21 ms to listFiles. directory_3 (1000 segments)
   2020/03/16 22:38:41.890 INFO [PinotFSBenchmarkDriver] [main] 1: took 18 ms to listFiles. directory_3 (1000 segments)
   2020/03/16 22:38:41.906 INFO [PinotFSBenchmarkDriver] [main] 2: took 16 ms to listFiles. directory_3 (1000 segments)
   2020/03/16 22:38:41.925 INFO [PinotFSBenchmarkDriver] [main] 3: took 19 ms to listFiles. directory_3 (1000 segments)
   2020/03/16 22:38:41.942 INFO [PinotFSBenchmarkDriver] [main] 4: took 15 ms to listFiles. directory_3 (1000 segments)
   2020/03/16 22:38:41.942 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:42.089 INFO [PinotFSBenchmarkDriver] [main] 0: took 147 ms to listFiles. directory_4 (10000 segments)
   2020/03/16 22:38:42.191 INFO [PinotFSBenchmarkDriver] [main] 1: took 102 ms to listFiles. directory_4 (10000 segments)
   2020/03/16 22:38:42.361 INFO [PinotFSBenchmarkDriver] [main] 2: took 169 ms to listFiles. directory_4 (10000 segments)
   2020/03/16 22:38:42.461 INFO [PinotFSBenchmarkDriver] [main] 3: took 99 ms to listFiles. directory_4 (10000 segments)
   2020/03/16 22:38:42.566 INFO [PinotFSBenchmarkDriver] [main] 4: took 105 ms to listFiles. directory_4 (10000 segments)
   2020/03/16 22:38:42.566 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:42.566 INFO [PinotFSBenchmarkDriver] [main] ========= List Files ==========
   2020/03/16 22:38:42.567 INFO [PinotFSBenchmarkDriver] [main] Created file:/Users/snlee/benchmark/base/listTest for list test...
   2020/03/16 22:38:42.571 INFO [PinotFSBenchmarkDriver] [main] Took 5 ms to create 10 segments.
   2020/03/16 22:38:42.571 INFO [PinotFSBenchmarkDriver] [main] 0: took 0 ms to listFiles.
   2020/03/16 22:38:42.572 INFO [PinotFSBenchmarkDriver] [main] 1: took 1 ms to listFiles.
   2020/03/16 22:38:42.572 INFO [PinotFSBenchmarkDriver] [main] 2: took 0 ms to listFiles.
   2020/03/16 22:38:42.572 INFO [PinotFSBenchmarkDriver] [main] 3: took 0 ms to listFiles.
   2020/03/16 22:38:42.573 INFO [PinotFSBenchmarkDriver] [main] 4: took 1 ms to listFiles.
   2020/03/16 22:38:42.573 INFO [PinotFSBenchmarkDriver] [main] 
   ========= Uploads and Downloads ==========
   2020/03/16 22:38:42.573 INFO [PinotFSBenchmarkDriver] [main] Created file:/Users/snlee/benchmark/base/copyFiles for copy test...
   2020/03/16 22:38:42.713 INFO [PinotFSBenchmarkDriver] [main] 0: took 138 ms to copyFromLocal, fileSize: 100 MB.
   2020/03/16 22:38:42.850 INFO [PinotFSBenchmarkDriver] [main] 1: took 137 ms to copyFromLocal, fileSize: 100 MB.
   2020/03/16 22:38:42.979 INFO [PinotFSBenchmarkDriver] [main] 2: took 129 ms to copyFromLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.096 INFO [PinotFSBenchmarkDriver] [main] 3: took 116 ms to copyFromLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.206 INFO [PinotFSBenchmarkDriver] [main] 4: took 110 ms to copyFromLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.206 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:43.329 INFO [PinotFSBenchmarkDriver] [main] 0: took 123 ms to copyToLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.440 INFO [PinotFSBenchmarkDriver] [main] 1: took 110 ms to copyToLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.553 INFO [PinotFSBenchmarkDriver] [main] 2: took 112 ms to copyToLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.668 INFO [PinotFSBenchmarkDriver] [main] 3: took 115 ms to copyToLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.782 INFO [PinotFSBenchmarkDriver] [main] 4: took 114 ms to copyToLocal, fileSize: 100 MB.
   2020/03/16 22:38:43.783 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:43.890 INFO [PinotFSBenchmarkDriver] [main] 0: took 107 ms to copy, fileSize: 100 MB.
   2020/03/16 22:38:43.993 INFO [PinotFSBenchmarkDriver] [main] 1: took 102 ms to copy, fileSize: 100 MB.
   2020/03/16 22:38:44.103 INFO [PinotFSBenchmarkDriver] [main] 2: took 109 ms to copy, fileSize: 100 MB.
   2020/03/16 22:38:44.212 INFO [PinotFSBenchmarkDriver] [main] 3: took 108 ms to copy, fileSize: 100 MB.
   2020/03/16 22:38:44.320 INFO [PinotFSBenchmarkDriver] [main] 4: took 108 ms to copy, fileSize: 100 MB.
   2020/03/16 22:38:44.321 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:44.321 INFO [PinotFSBenchmarkDriver] [main] 0: took 0 ms to rename, fileSize: 100 MB.
   2020/03/16 22:38:44.321 INFO [PinotFSBenchmarkDriver] [main] 1: took 0 ms to rename, fileSize: 100 MB.
   2020/03/16 22:38:44.322 INFO [PinotFSBenchmarkDriver] [main] 2: took 1 ms to rename, fileSize: 100 MB.
   2020/03/16 22:38:44.322 INFO [PinotFSBenchmarkDriver] [main] 3: took 0 ms to rename, fileSize: 100 MB.
   2020/03/16 22:38:44.322 INFO [PinotFSBenchmarkDriver] [main] 4: took 0 ms to rename, fileSize: 100 MB.
   2020/03/16 22:38:44.322 INFO [PinotFSBenchmarkDriver] [main] 
   2020/03/16 22:38:44.334 INFO [PinotFSBenchmarkDriver] [main] 0: took 12 ms to delete, fileSize: 100 MB.
   2020/03/16 22:38:44.345 INFO [PinotFSBenchmarkDriver] [main] 1: took 10 ms to delete, fileSize: 100 MB.
   2020/03/16 22:38:44.358 INFO [PinotFSBenchmarkDriver] [main] 2: took 13 ms to delete, fileSize: 100 MB.
   2020/03/16 22:38:44.370 INFO [PinotFSBenchmarkDriver] [main] 3: took 12 ms to delete, fileSize: 100 MB.
   2020/03/16 22:38:44.383 INFO [PinotFSBenchmarkDriver] [main] 4: took 12 ms to delete, fileSize: 100 MB.
   2020/03/16 22:38:46.620 INFO [PinotFSBenchmarkDriver] [main] Working directories have been cleaned up successfully.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org