├── .gitignore
├── LICENSE
├── benchmarks
├── latency_sync
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── delete_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── DeleteBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── lfile_sync
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── create_bench_max
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── delete_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── DeleteBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── lfile_sync_rand_1fnb
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── create_bench_max
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── lfile_sync_rand_nf1b
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── create_bench_max
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── load_async
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── delete_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── DeleteBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── multi_user_async
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── delete_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── DeleteBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── multi_user_sync
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── pfile_async
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── pfile_async_block
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── pfile_async_multiuser
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── pidfile_async
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── queries
│ └── sumquery
│ │ ├── client
│ │ └── src
│ │ │ ├── SumQueryBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── single_user_async
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── empty_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── EmptyBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
├── single_user_sync
│ ├── create_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── CreateBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ ├── empty_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── EmptyBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ └── run_client.sh
│ ├── read_bench
│ │ ├── client
│ │ │ └── src
│ │ │ │ ├── ReadBench.java
│ │ │ │ └── util
│ │ │ │ ├── BenchmarkCallback.java
│ │ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
│ └── write_bench
│ │ ├── client
│ │ └── src
│ │ │ ├── WriteBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ │ ├── compile.sh
│ │ └── run_client.sh
└── single_user_sync_big
│ ├── create_bench
│ ├── client
│ │ └── src
│ │ │ ├── CreateBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ ├── compile.sh
│ └── run_client.sh
│ ├── read_bench
│ ├── client
│ │ └── src
│ │ │ ├── ReadBench.java
│ │ │ └── util
│ │ │ ├── BenchmarkCallback.java
│ │ │ └── BenchmarkStats.java
│ ├── compile.sh
│ └── run_client.sh
│ └── write_bench
│ ├── client
│ └── src
│ │ ├── WriteBench.java
│ │ └── util
│ │ ├── BenchmarkCallback.java
│ │ └── BenchmarkStats.java
│ ├── compile.sh
│ └── run_client.sh
├── clients
├── CreateFiles
│ ├── CreateFiles.java
│ ├── compile.sh
│ └── run_client.sh
├── CreateUsers
│ ├── CreateUsers.java
│ ├── compile.sh
│ └── run_client.sh
├── PartitionInfoInit
│ ├── PartitionInfoInit.java
│ ├── compile.sh
│ └── run_client.sh
└── daemon
│ ├── client
│ └── src
│ │ ├── Daemon.java
│ │ └── util
│ │ ├── BenchmarkCallback.java
│ │ └── BenchmarkStats.java
│ ├── compile.sh
│ └── run_client.sh
├── dependencies
└── commons-cli-1.4
│ ├── CONTRIBUTING.md
│ ├── LICENSE.txt
│ ├── NOTICE.txt
│ ├── README.md
│ ├── RELEASE-NOTES.txt
│ └── apidocs
│ ├── allclasses-frame.html
│ ├── allclasses-noframe.html
│ ├── constant-values.html
│ ├── deprecated-list.html
│ ├── help-doc.html
│ ├── index-all.html
│ ├── index.html
│ ├── org
│ └── apache
│ │ └── commons
│ │ └── cli
│ │ ├── AlreadySelectedException.html
│ │ ├── AmbiguousOptionException.html
│ │ ├── BasicParser.html
│ │ ├── CommandLine.Builder.html
│ │ ├── CommandLine.html
│ │ ├── CommandLineParser.html
│ │ ├── DefaultParser.html
│ │ ├── GnuParser.html
│ │ ├── HelpFormatter.html
│ │ ├── MissingArgumentException.html
│ │ ├── MissingOptionException.html
│ │ ├── Option.Builder.html
│ │ ├── Option.html
│ │ ├── OptionBuilder.html
│ │ ├── OptionGroup.html
│ │ ├── Options.html
│ │ ├── ParseException.html
│ │ ├── Parser.html
│ │ ├── PatternOptionBuilder.html
│ │ ├── PosixParser.html
│ │ ├── TypeHandler.html
│ │ ├── UnrecognizedOptionException.html
│ │ ├── class-use
│ │ ├── AlreadySelectedException.html
│ │ ├── AmbiguousOptionException.html
│ │ ├── BasicParser.html
│ │ ├── CommandLine.Builder.html
│ │ ├── CommandLine.html
│ │ ├── CommandLineParser.html
│ │ ├── DefaultParser.html
│ │ ├── GnuParser.html
│ │ ├── HelpFormatter.html
│ │ ├── MissingArgumentException.html
│ │ ├── MissingOptionException.html
│ │ ├── Option.Builder.html
│ │ ├── Option.html
│ │ ├── OptionBuilder.html
│ │ ├── OptionGroup.html
│ │ ├── Options.html
│ │ ├── ParseException.html
│ │ ├── Parser.html
│ │ ├── PatternOptionBuilder.html
│ │ ├── PosixParser.html
│ │ ├── TypeHandler.html
│ │ └── UnrecognizedOptionException.html
│ │ ├── package-frame.html
│ │ ├── package-summary.html
│ │ ├── package-tree.html
│ │ └── package-use.html
│ ├── overview-tree.html
│ ├── package-list
│ ├── script.js
│ ├── serialized-form.html
│ └── stylesheet.css
├── lnx_fs_test
├── .gitignore
├── Makefile
├── aggragate_general.py
├── client_spawner.cpp
├── crdel_test.sh
├── create_files.sh
├── delete_files.sh
├── ls_files.cpp
├── read_files.cpp
├── read_files_many.cpp
├── read_many_test.sh
├── read_test.sh
├── write_files.cpp
├── write_files_many.cpp
├── write_files_once.cpp
├── write_many_test.sh
└── write_test.sh
├── scripts
├── benchmarks_latency
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── tester_cr.sh
│ ├── tester_rd_1K.sh
│ └── tester_wr_64K.sh
├── benchmarks_lfile_randblk
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── benchmark_write_init.sh
│ ├── spawner
│ ├── tester_read.sh
│ └── tester_write.sh
├── benchmarks_lfile_randfl
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── benchmark_write_init.sh
│ ├── spawner
│ ├── tester_read.sh
│ └── tester_write.sh
├── benchmarks_lfile_sync
│ ├── benchmark_create.sh
│ ├── benchmark_create_max.sh
│ ├── benchmark_delete.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── spawner
│ ├── tester_421_read.sh
│ ├── tester_421_write.sh
│ ├── tester_422_read.sh
│ ├── tester_422_write.sh
│ ├── tester_cr_del.sh
│ └── tester_cr_del_single.sh
├── benchmarks_load
│ ├── multi_benchmark_create.sh
│ ├── multi_benchmark_read.sh
│ ├── multi_benchmark_write.sh
│ └── spawner
├── benchmarks_multi_async
│ ├── multi_benchmark_create.sh
│ ├── multi_benchmark_delete.sh
│ ├── multi_benchmark_read.sh
│ ├── multi_benchmark_write.sh
│ └── spawner
├── benchmarks_multi_sync
│ ├── multi_benchmark_create.sh
│ ├── multi_benchmark_read.sh
│ └── multi_benchmark_write.sh
├── benchmarks_pfile_async
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── spawner
│ ├── tester_read.sh
│ ├── tester_read_lcl.sh
│ ├── tester_write.sh
│ └── tester_write_lcl.sh
├── benchmarks_pfile_muser
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── range_spawner
│ ├── tester_read.sh
│ └── tester_write.sh
├── benchmarks_single_async
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ └── benchmark_write.sh
├── benchmarks_single_sync
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── spawner
│ └── spawner_single
├── benchmarks_single_sync_big
│ ├── benchmark_create.sh
│ ├── benchmark_read.sh
│ ├── benchmark_write.sh
│ ├── run_bench.sh
│ └── spawner
├── benchmarks_sumquery
│ ├── benchmark_create.sh
│ └── benchmark_write.sh
├── daemon
│ ├── daemon.sh
│ └── spawner
├── initialize_multi.sh
├── load_schema.sh
├── start_multi.sh
├── thread_spawners
│ ├── client_spawner.cpp
│ ├── client_spawner_range.cpp
│ └── daemon_spawner.cpp
└── update_stored_procedures.sh
├── sql
├── create_tables.sql
└── update_procedures.sql
├── stored_procedures
├── ChangeDir
│ └── ChangeDir.java
├── CheckStorage
│ └── CheckStorage.java
├── CountBytes
│ └── CountBytes.java
├── CountFiles
│ └── CountFiles.java
├── CountLargerThan
│ └── CountLargerThan.java
├── CountLargestK
│ └── CountLargestK.java
├── Create
│ └── Create.java
├── CreateAt
│ └── CreateAt.java
├── CreateBlock
│ └── CreateBlock.java
├── CreateBlockAt
│ └── CreateBlockAt.java
├── CreateDir
│ └── CreateDir.java
├── CreateP
│ └── CreateP.java
├── CreateUser
│ └── CreateUser.java
├── Delete
│ └── Delete.java
├── GetPartitionInfo
│ └── GetPartitionInfo.java
├── GetPartitionRange
│ └── GetPartitionRange.java
├── GetUserPartition
│ └── GetUserPartition.java
├── List
│ └── List.java
├── PartitionInfoInsert
│ └── PartitionInfoInsert.java
├── PartitionInfoSelect
│ └── PartitionInfoSelect.java
├── PartitionInfoUpdate
│ └── PartitionInfoUpdate.java
├── PopulateWithBuffer
│ └── PopulateWithBuffer.java
├── PopulateWithSize
│ └── PopulateWithSize.java
├── Read
│ └── Read.java
├── Read1FileNBlocks
│ └── Read1FileNBlocks.java
├── ReadNFiles1Block
│ └── ReadNFiles1Block.java
├── SendToDisk
│ └── SendToDisk.java
├── SumLargerThan
│ └── SumLargerThan.java
├── Write1FileNBlocks
│ └── Write1FileNBlocks.java
└── WriteNFiles1Block
│ └── WriteNFiles1Block.java
└── testing
├── deployment_n10.xml
├── deployment_n2.xml
├── deployment_n2s.xml
├── deployment_n3.xml
├── deployment_n4.xml
├── deployment_n6.xml
├── deployment_n8.xml
├── deployment_p20.xml
├── deployment_p40.xml
└── scripts
├── aggragate_general.py
└── aggragate_multiclient.py
/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | log
3 | logs
4 | ext4_test/stats/*
5 | tmpfs_test/stats/*
6 | testing/voltdbroot/*
7 | testing/stats/*
8 | .DS_Store
9 | tmp
10 | hs_err_pid*
11 | .mtj.tmp/
12 | *.class
13 | *.jar
14 | *.war
15 | *.ear
16 | *.nar
17 | *.o
18 | *~
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 DBOS-project
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/delete_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/delete_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.delete.DeleteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/latency_sync/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/create_bench_max/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/create_bench_max/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/delete_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/delete_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.delete.DeleteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/create_bench_max/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/create_bench_max/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_1fnb/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/create_bench_max/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/create_bench_max/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/lfile_sync_rand_nf1b/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/load_async/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/load_async/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/load_async/delete_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/load_async/delete_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.delete.DeleteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/load_async/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/load_async/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/load_async/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/load_async/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/delete_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/delete_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.delete.DeleteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_async/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/multi_user_sync/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_block/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pfile_async_multiuser/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/pidfile_async/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/queries/sumquery/compile.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/queries/sumquery/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.sumquery.SumQueryBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/empty_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/empty_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | CP="$CLASSPATH:/home/gridsan/askiad/DBOS_shared/askiad/VoltDB/voltdb/*"
4 | CP="$CP:/home/gridsan/askiad/homebin/commons-cli-1.4/*"
5 |
6 | SCRIPT_DIR=$(dirname $(readlink -f $0))
7 | cd ${SCRIPT_DIR}
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 |
20 | java -cp "$CP:client/client.jar" org.voltdb.empty.EmptyBench $*
21 | fi
22 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_async/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/empty_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:$SCRIPT_DIR/../../../../../VoltDB/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 |
20 | java -cp "$CP:client/client.jar" org.voltdb.empty.EmptyBench $*
21 | fi
22 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/create_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/create_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 | java -cp "$CP:client/client.jar" org.voltdb.create.CreateBench $*
9 |
10 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/read_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/read_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.read.ReadBench $*
10 |
11 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/write_bench/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/benchmarks/single_user_sync_big/write_bench/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp "$CP:client/client.jar" org.voltdb.write.WriteBench $*
10 |
11 |
--------------------------------------------------------------------------------
/clients/CreateFiles/CreateFiles.java:
--------------------------------------------------------------------------------
1 | import org.apache.commons.cli.*;
2 |
3 | import org.voltdb.VoltTable;
4 | import org.voltdb.client.Client;
5 | import org.voltdb.client.ClientFactory;
6 | import org.voltdb.client.ProcCallException;
7 |
8 | public class CreateFiles {
9 |
10 | private Client _client;
11 | private String _username;
12 | private int _filecnt;
13 | private int _sites;
14 |
15 | public CreateFiles (String hostlist, String username, int filecnt, int totalsites)
16 | throws Exception {
17 |
18 | _username = username;
19 | _filecnt = filecnt;
20 | _sites = totalsites;
21 |
22 | // create client
23 | _client = ClientFactory.createClient();
24 |
25 | // connect to each server listed (separated by commas) in the first argument
26 | String[] serverArray = hostlist.split(",");
27 | for (String server : serverArray)
28 | _client.createConnection(server);
29 | }
30 |
31 | public void create () throws Exception {
32 | for (int i=0; i<_filecnt; i++) {
33 | _client.callProcedure("CreateAt",
34 | i % _sites,
35 | _username,
36 | "file" + String.valueOf(i)
37 | );
38 | }
39 | }
40 |
41 | public static void main(String[] args) throws Exception {
42 | // parse args flags
43 | CommandLineParser parser = new DefaultParser();
44 | Options options = new Options();
45 | options.addOption("h", "hostlist", true, "host servers list, e.g. localhost");
46 | options.addOption("u", "username", true, "file owner");
47 | options.addOption("f", "filecnt", true, "number of files to create");
48 | options.addOption("p", "totalsites", true, "number of total system sites/partitions");
49 | CommandLine cmd = parser.parse(options, args);
50 |
51 | String hostlist = "localhost";
52 | if (cmd.hasOption("hostlist"))
53 | hostlist = cmd.getOptionValue("hostlist");
54 |
55 | String username = "user";
56 | if (cmd.hasOption("username"))
57 | username = cmd.getOptionValue("username");
58 |
59 | int filecnt = 1;
60 | if (cmd.hasOption("filecnt"))
61 | filecnt = Integer.parseInt(cmd.getOptionValue("filecnt"));
62 |
63 | int totalsites = 40;
64 | if (cmd.hasOption("totalsites"))
65 | totalsites = Integer.parseInt(cmd.getOptionValue("totalsites"));
66 |
67 | CreateFiles file_creator = new CreateFiles(hostlist, username, filecnt, totalsites);
68 | file_creator.create();
69 | }
70 | }
71 |
72 |
--------------------------------------------------------------------------------
/clients/CreateFiles/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC="CreateFiles"
10 |
11 | javac -cp $CP "$SRC.java"
12 | jar cvf "$SRC.jar" "$SRC.class"
13 |
14 |
--------------------------------------------------------------------------------
/clients/CreateFiles/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | #
4 | # usage:
5 | # ./run_client.sh [flags]
6 | # flags: -h hostlist -u username -f filecnt -p totalsites
7 |
8 | SCRIPT_DIR=$(dirname $(readlink -f $0))
9 | cd ${SCRIPT_DIR}
10 |
11 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
12 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
13 |
14 | java -cp $CP CreateFiles $*
15 |
--------------------------------------------------------------------------------
/clients/CreateUsers/CreateUsers.java:
--------------------------------------------------------------------------------
1 | import org.apache.commons.cli.*;
2 |
3 | import org.voltdb.VoltTable;
4 | import org.voltdb.client.Client;
5 | import org.voltdb.client.ClientFactory;
6 | import org.voltdb.client.ProcCallException;
7 |
8 | public class CreateUsers {
9 |
10 | private Client _client;
11 | private int _usercnt;
12 | private int _sites;
13 |
14 | public CreateUsers (String hostlist, int usercnt, int totalsites)
15 | throws Exception {
16 |
17 | _usercnt = usercnt;
18 | _sites = totalsites;
19 |
20 | // create client
21 | _client = ClientFactory.createClient();
22 |
23 | // connect to each server listed (separated by commas) in the first argument
24 | String[] serverArray = hostlist.split(",");
25 | for (String server : serverArray)
26 | _client.createConnection(server);
27 | }
28 |
29 | public void create () throws Exception {
30 | VoltTable partition_map = _client.callProcedure("GetPartitionInfo").getResults()[0];
31 | while (partition_map.advanceRow()) {
32 | int p_key = (int) partition_map.getLong(0);
33 | int p_id = (int) partition_map.getLong(1);
34 |
35 | int user_num = p_id;
36 | while (user_num < _usercnt) {
37 | create_one(p_key, user_num);
38 | user_num += _sites;
39 | }
40 | }
41 | }
42 |
43 | public void create_one (int partition, int i) throws Exception {
44 | _client.callProcedure("CreateUser",
45 | partition,
46 | "user" + String.valueOf(i)
47 | );
48 | }
49 |
50 | public static void main(String[] args) throws Exception {
51 | // parse args flags
52 | CommandLineParser parser = new DefaultParser();
53 | Options options = new Options();
54 | options.addOption("h", "hostlist", true, "host servers list, e.g. localhost");
55 | options.addOption("u", "usercnt", true, "number of users to create");
56 | options.addOption("p", "totalsites", true, "number of total system sites/partitions");
57 | CommandLine cmd = parser.parse(options, args);
58 |
59 | String hostlist = "localhost";
60 | if (cmd.hasOption("hostlist"))
61 | hostlist = cmd.getOptionValue("hostlist");
62 |
63 | int usercnt = 1;
64 | if (cmd.hasOption("usercnt"))
65 | usercnt = Integer.parseInt(cmd.getOptionValue("usercnt"));
66 |
67 | int totalsites = 40;
68 | if (cmd.hasOption("totalsites"))
69 | totalsites = Integer.parseInt(cmd.getOptionValue("totalsites"));
70 |
71 | CreateUsers user_creator = new CreateUsers(hostlist, usercnt, totalsites);
72 | user_creator.create();
73 | }
74 | }
75 |
76 |
--------------------------------------------------------------------------------
/clients/CreateUsers/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC="CreateUsers"
10 |
11 | javac -cp $CP "$SRC.java"
12 | jar cvf "$SRC.jar" "$SRC.class"
13 |
14 |
--------------------------------------------------------------------------------
/clients/CreateUsers/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | #
4 | # usage:
5 | # ./run_client.sh [flags]
6 | # flags: -h hostlist -u usercnt -p totalsites
7 |
8 | SCRIPT_DIR=$(dirname $(readlink -f $0))
9 | cd ${SCRIPT_DIR}
10 |
11 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
12 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
13 |
14 | java -cp $CP CreateUsers $*
15 |
--------------------------------------------------------------------------------
/clients/PartitionInfoInit/PartitionInfoInit.java:
--------------------------------------------------------------------------------
1 | import org.apache.commons.cli.*;
2 |
3 | import org.voltdb.VoltTable;
4 | import org.voltdb.client.Client;
5 | import org.voltdb.client.ClientFactory;
6 | import org.voltdb.client.ProcCallException;
7 |
8 | public class PartitionInfoInit {
9 |
10 | private Client _client;
11 |
12 | public PartitionInfoInit (String hostlist) throws Exception {
13 | // create client
14 | _client = ClientFactory.createClient();
15 |
16 | // connect to each server listed (separated by commas) in the first argument
17 | String[] serverArray = hostlist.split(",");
18 | for (String server : serverArray)
19 | _client.createConnection(server);
20 | }
21 |
22 | public void populate () throws Exception {
23 | VoltTable partition_map = _client.callProcedure("@GetPartitionKeys",
24 | "integer").getResults()[0];
25 | while (partition_map.advanceRow()) {
26 | int p_id = (int) partition_map.getLong(0);
27 | int p_key = (int) partition_map.getLong(1);
28 |
29 | _client.callProcedure("PartitionInfoInsert",
30 | p_key, p_id, -1, "");
31 | }
32 |
33 | String query = "SELECT partition_id, host_id, hostname" +
34 | " from statistics(table, 0) where table_name = 'FILE';";
35 | VoltTable host_map = _client.callProcedure("@QueryStats",
36 | query).getResults()[0];
37 | while(host_map.advanceRow()) {
38 | int p_id = (int) host_map.getLong(0);
39 | int host_id = (int) host_map.getLong(1);
40 | String host_name = host_map.getString(2);
41 |
42 | _client.callProcedure("PartitionInfoUpdate",
43 | p_id, host_id, host_name);
44 | }
45 | }
46 |
47 | public static void main(String[] args) throws Exception {
48 | // parse args flags
49 | CommandLineParser parser = new DefaultParser();
50 | Options options = new Options();
51 | options.addOption("h", "hostlist", true, "host servers list, e.g. localhost");
52 | CommandLine cmd = parser.parse(options, args);
53 |
54 | String hostlist = "localhost";
55 | if (cmd.hasOption("hostlist"))
56 | hostlist = cmd.getOptionValue("hostlist");
57 |
58 | PartitionInfoInit pinfo = new PartitionInfoInit(hostlist);
59 | pinfo.populate();
60 | }
61 | }
62 |
63 |
--------------------------------------------------------------------------------
/clients/PartitionInfoInit/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC="PartitionInfoInit"
10 |
11 | javac -cp $CP "$SRC.java"
12 | jar cvf "$SRC.jar" "$SRC.class"
13 |
14 |
--------------------------------------------------------------------------------
/clients/PartitionInfoInit/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 |
9 | java -cp $CP PartitionInfoInit $*
10 |
--------------------------------------------------------------------------------
/clients/daemon/compile.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 |
9 | SRC=`find client/src -name "*.java"`
10 |
11 | if [ ! -z "$SRC" ]; then
12 | mkdir -p client/obj
13 | javac -cp $CP -d client/obj $SRC
14 | # stop if compilation fails
15 | if [ $? != 0 ]; then exit; fi
16 |
17 | jar cf client/client.jar -C client/obj .
18 | rm -rf client/obj
19 | fi
20 |
--------------------------------------------------------------------------------
/clients/daemon/run_client.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | SCRIPT_DIR=$(dirname $(readlink -f $0))
4 | cd ${SCRIPT_DIR}
5 |
6 | CP="$CLASSPATH:/home/gridsan/groups/DBOS/shared/VoltDB/voltdb-ent-9.3.2/voltdb/*"
7 | CP="$CP:$SCRIPT_DIR/../../dependencies/commons-cli-1.4/*"
8 | java -cp "$CP:client/client.jar" org.voltdb.daemon.Daemon $*
9 |
10 |
--------------------------------------------------------------------------------
/dependencies/commons-cli-1.4/NOTICE.txt:
--------------------------------------------------------------------------------
1 | Apache Commons CLI
2 | Copyright 2001-2017 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/dependencies/commons-cli-1.4/apidocs/allclasses-noframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | All Classes (Apache Commons CLI 1.4 API)
8 |
9 |
10 |
11 |
12 | All Classes
13 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/dependencies/commons-cli-1.4/apidocs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Apache Commons CLI 1.4 API
8 |
61 |
62 |
73 |
74 |
--------------------------------------------------------------------------------
/dependencies/commons-cli-1.4/apidocs/package-list:
--------------------------------------------------------------------------------
1 | org.apache.commons.cli
2 |
--------------------------------------------------------------------------------
/dependencies/commons-cli-1.4/apidocs/script.js:
--------------------------------------------------------------------------------
1 | function show(type)
2 | {
3 | count = 0;
4 | for (var key in methods) {
5 | var row = document.getElementById(key);
6 | if ((methods[key] & type) != 0) {
7 | row.style.display = '';
8 | row.className = (count++ % 2) ? rowColor : altColor;
9 | }
10 | else
11 | row.style.display = 'none';
12 | }
13 | updateTabs(type);
14 | }
15 |
16 | function updateTabs(type)
17 | {
18 | for (var value in tabs) {
19 | var sNode = document.getElementById(tabs[value][0]);
20 | var spanNode = sNode.firstChild;
21 | if (value == type) {
22 | sNode.className = activeTableTab;
23 | spanNode.innerHTML = tabs[value][1];
24 | }
25 | else {
26 | sNode.className = tableTab;
27 | spanNode.innerHTML = "" + tabs[value][1] + "";
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lnx_fs_test/.gitignore:
--------------------------------------------------------------------------------
1 | *.o
2 | *.swp
3 | stats/
4 | spawner
5 | read_files_many
6 | read_files
7 | write_files
8 | write_files_many
9 | write_files_once
10 | ls_files
11 |
--------------------------------------------------------------------------------
/lnx_fs_test/Makefile:
--------------------------------------------------------------------------------
1 | CC=g++
2 | CFLAGS=-std=c++11
3 | PFLAGS=-pthread
4 |
5 | all: spawner write_files write_files_many read_files read_files_many write_files_once ls_files
6 |
7 | spawner: client_spawner.o client_spawner.cpp
8 | $(CC) $(CFLAGS) $(PFLAGS) -o spawner client_spawner.cpp
9 |
10 | ls_files: ls_files.o ls_files.cpp
11 | $(CC) $(CFLAGS) -o ls_files ls_files.o
12 |
13 | write_files: write_files.o write_files.cpp
14 | $(CC) $(CFLAGS) -o write_files write_files.o
15 |
16 | write_files_many: write_files_many.o write_files_many.cpp
17 | $(CC) $(CFLAGS) -o write_files_many write_files_many.o
18 |
19 | write_files_once: write_files_once.o write_files_once.cpp
20 | $(CC) $(CFLAGS) -o write_files_once write_files_once.o
21 |
22 | read_files: read_files.o read_files.cpp
23 | $(CC) $(CFLAGS) -o read_files read_files.o
24 |
25 | read_files_heavy: read_files_many.o read_files_many.cpp
26 | $(CC) $(CFLAGS) -o read_files_many read_files_many.o
27 |
28 | .PHONY: clean
29 | clean:
30 | rm *.o
31 | rm write_files write_files_many read_files read_files_many write_files_once ls_files
32 |
--------------------------------------------------------------------------------
/lnx_fs_test/aggragate_general.py:
--------------------------------------------------------------------------------
1 | from itertools import product as prod
2 | import sys
3 |
4 | prefix = sys.argv[1]
5 | user_cnt = int(sys.argv[2])
6 | user_min = int(sys.argv[3])
7 | user_max = user_min + user_cnt
8 |
9 | print("%s aggregation for users %d to %d" %(prefix, user_min, user_max))
10 |
11 | data = []
12 | for user_num in range(user_min, user_max):
13 | file_name = "./stats/"+ prefix+"_"+str(user_num)+".out"
14 | with open(file_name, 'r') as f:
15 | for l in f:
16 | if l.startswith("throughput"):
17 | tokens = l.split()
18 | num = float(tokens[1].replace(',',''))
19 | data.append(num)
20 |
21 | print(data)
22 | print(len(data))
23 | print(sum(data)/len(data))
24 | print(sum(data))
25 | print(4*sum(data))
26 |
27 |
--------------------------------------------------------------------------------
/lnx_fs_test/client_spawner.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 |
6 | using namespace std;
7 |
8 | /*
9 | * compile with g++ -o