Skip to content

Instantly share code, notes, and snippets.

@taeguk
Created July 8, 2017 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taeguk/6abe03f9b4cb878872d2bb634cae65b0 to your computer and use it in GitHub Desktop.
Save taeguk/6abe03f9b4cb878872d2bb634cae65b0 to your computer and use it in GitHub Desktop.
HPX parallel::partition_copy performance test result with policy.executor() instead of sync in scan partitioner.
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 100000000 --hpx:threads 16 --test_count 10 --iterator_tag forward
-------------- Benchmark Config --------------
seed : 1499537609
vector_size : 100000000
iterator_tag : forward
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.209007(sec)
partition_copy (seq) : 0.199377(sec)
partition_copy (par) : 0.050164(sec)
partition_copy (par_unseq) : 0.0499969(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 100000000 --hpx:threads 16 --test_count 10 --iterator_tag forward
-------------- Benchmark Config --------------
seed : 1499537627
vector_size : 100000000
iterator_tag : forward
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.254094(sec)
partition_copy (seq) : 0.243227(sec)
partition_copy (par) : 0.0503692(sec)
partition_copy (par_unseq) : 0.0504759(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 100000000 --hpx:threads 16 --test_count 10 --iterator_tag random
-------------- Benchmark Config --------------
seed : 1499537640
vector_size : 100000000
iterator_tag : random
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.347037(sec)
partition_copy (seq) : 0.331614(sec)
partition_copy (par) : 0.0519208(sec)
partition_copy (par_unseq) : 0.0519624(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 10000000 --hpx:threads 16 --test_count 10 --iterator_tag random
-------------- Benchmark Config --------------
seed : 1499537655
vector_size : 10000000
iterator_tag : random
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.0203454(sec)
partition_copy (seq) : 0.0220888(sec)
partition_copy (par) : 0.0060393(sec)
partition_copy (par_unseq) : 0.00571719(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 10000000 --hpx:threads 16 --test_count 10 --iterator_tag bidirectional
-------------- Benchmark Config --------------
seed : 1499537667
vector_size : 10000000
iterator_tag : bidirectional
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.0365489(sec)
partition_copy (seq) : 0.0339763(sec)
partition_copy (par) : 0.00623154(sec)
partition_copy (par_unseq) : 0.00591908(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 1000000 --hpx:threads 16 --test_count 10 --iterator_tag bidirectional
-------------- Benchmark Config --------------
seed : 1499537681
vector_size : 1000000
iterator_tag : bidirectional
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.00437359(sec)
partition_copy (seq) : 0.00350289(sec)
partition_copy (par) : 0.00138108(sec)
partition_copy (par_unseq) : 0.000738221(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 1000000 --hpx:threads 16 --test_count 10 --iterator_tag random
-------------- Benchmark Config --------------
seed : 1499537707
vector_size : 1000000
iterator_tag : random
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.00394136(sec)
partition_copy (seq) : 0.00318557(sec)
partition_copy (par) : 0.00129906(sec)
partition_copy (par_unseq) : 0.000772866(sec)
----------------------------------------------
[tkwon@bob1 hpx_build]$ ./bin/benchmark_partition_copy --vector_size 100000 --hpx:threads 16 --test_count 10 --iterator_tag random
-------------- Benchmark Config --------------
seed : 1499537714
vector_size : 100000
iterator_tag : random
test_count : 10
os threads : 16
----------------------------------------------
* Preparing Benchmark...
* Running Benchmark...
--- run_partition_copy_benchmark_std ---
--- run_partition_copy_benchmark_seq ---
--- run_partition_copy_benchmark_par ---
--- run_partition_copy_benchmark_par_unseq ---
-------------- Benchmark Result --------------
partition_copy (std) : 0.000162941(sec)
partition_copy (seq) : 0.000114059(sec)
partition_copy (par) : 0.00111157(sec)
partition_copy (par_unseq) : 0.000689732(sec)
----------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment