Make Virtuoso loading work Allows to limit Rudf memory Use bars for plotpull/21/head
parent
f70478effd
commit
f50589d8f2
@ -1,14 +1,18 @@ |
|||||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||||
|
|
||||||
DATASET_SIZE=100000 |
DATASET_SIZE=100000 |
||||||
|
MEMORY_SIZE=1000000 |
||||||
cd bsbm-tools |
cd bsbm-tools |
||||||
./generate -fc -pc ${DATASET_SIZE} -s nt -fn "explore-${DATASET_SIZE}" |
./generate -fc -pc ${DATASET_SIZE} -s nt -fn "explore-${DATASET_SIZE}" |
||||||
cargo build --release --manifest-path="../../server/Cargo.toml" |
cargo build --release --manifest-path="../../server/Cargo.toml" |
||||||
./../../target/release/rudf_server --file rudf_data & |
( |
||||||
|
ulimit -d ${MEMORY_SIZE} |
||||||
|
./../../target/release/rudf_server --file rudf_data |
||||||
|
) & |
||||||
sleep 5 |
sleep 5 |
||||||
curl -f -X POST -H 'Content-Type:application/n-triples' --data-binary "@explore-${DATASET_SIZE}.nt" http://localhost:7878/ |
curl -f -X POST -H 'Content-Type:application/n-triples' --data-binary "@explore-${DATASET_SIZE}.nt" http://localhost:7878/ |
||||||
./testdriver -ucf usecases/explore/sparql.txt -o "../bsbm.explore.rudf.${DATASET_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query |
./testdriver -ucf usecases/explore/sparql.txt -o "../bsbm.explore.rudf.${DATASET_SIZE}.${MEMORY_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query |
||||||
./testdriver -ucf usecases/businessIntelligence/sparql.txt -o "../bsbm.businessIntelligence.rudf.${DATASET_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query |
./testdriver -ucf usecases/businessIntelligence/sparql.txt -o "../bsbm.businessIntelligence.rudf.${DATASET_SIZE}.${MEMORY_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query |
||||||
kill $! |
kill $! |
||||||
rm -r rudf_data |
rm -r rudf_data |
||||||
rm "explore-${DATASET_SIZE}.nt" |
rm "explore-${DATASET_SIZE}.nt" |
||||||
|
Loading…
Reference in new issue