How to customize `pg_treeline` page allocation?
Thanks for your incredible work!
I want to test treeline on my own, and I make a ycsbr scripts as follows:
record_size_bytes: 1024
load:
num_records: 2000000
distribution:
type: linspace
start_key: 1
step_size: 1
run:
- num_requests: 6000000
read:
proportion_pct: 50
distribution:
type: zipfian
theta: 0.99
salt: 12345
update:
proportion_pct: 50
distribution:
type: zipfian
theta: 0.99
salt: 12345
And I test it by run_custom on rocksdb、treeline、pg_treeline and leanstore, it runs smoothly on rocksdb, but others have different bugs.
-
[x]
treeline- The
fallocateon Ubuntu 22.04 is not supported, after changing toposix_fallocateis work.
- The
-
[ ]
leanstore-
It prints errors as:
Error opening counter cycle Error opening counter cycle Error opening counter cycle Error opening counter cycle Error opening counter cycle Error opening counter cycle 0x7f840c006858 ------------------------------------------------------------------------------------- Going out of memory !
-
-
[ ]
pg_treeline-
The error is:
Page full. Current size: 4 run_custom: /home/zoris/2024/github/treeline/page_grouping/manager_load.cc:206: std::pair<long unsigned int, tl::pg::SegmentInfo> tl::pg::Manager::LoadIntoNewSegment(uint32_t, const tl::pg::Segment&, tl::pg::Key): Assertion `result.ok()' failed. -
I wonder how to adjust page size, in the
db_path, it has 5sffiles as prefix, while otherdbhas more files, but I couldn't find the correspoinding code.
-
Could you tell me how to run run_custom, when I execute“./run_custom”, it tells me to add configuration files, but I don't know how to add parameters after the instruction to run, and what these configuration files are.thx。
You could check the scripts directory, which have some testing cases could be used for reference, for example:
https://github.com/mitdbg/treeline/blob/fcc220ea54beb3c951c80b9a2815ecb4292ef0be/scripts/autotuning/run.sh#L34
According to your needs, choose one of them to test, but I'm not sure they could run successfully or not, best luck to you.