vmx / fastrandomreads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast random reads

Create random offsets file:

git clone https://github.com/filecoin-project/rust-fil-proofs
cd rust-fil-proofs
mkidr /tmp/parentcache
FIL_PROOFS_PARENT_CACHE=/tmp/parentcache cargo run --release --bin gen_graph_cache -- --size $(bc <<< '32 * 1024^3')

Create a file with random data:

touch /tmp/random.data
shred -n 1 -s 32G /tmp/random.data

License

Dual licensed under MIT or Apache License (Version 2.0). See LICENSE-MIT and LICENSE-APACHE for more details.

About

License:Apache License 2.0


Languages

Language:Rust 100.0%