Framework to measure latency and throughput of xpir-rust and sealpir-rust.
You must first install xpir-rust and sealpir-rust as described in the respective repositories (see above). Add the corresponding paths to Cargo.toml
(currently it assumes both repositories are in the directory ..
relative to the directory of the pir-test repository). Run cargo build --release
.
After compiling, there will be 4 binaries in the target/release/
directory: client_sealpir
, client_xpir
, server_sealpir
, and server_xpir
. You can run them with the --help
flag for the available options.
See the client_master.rb
and server_master.rb
scripts. You can use these scripts to launch a PIR server and one or more PIR clients.