You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,10 +65,11 @@ The environment executing this test must have the associated cloud vendor CLI se
65
65
66
66
You can also test the [cache](https://code.kx.com/insights/1.4/core/objstor/kxreaper.html) impact of the object storage library. The recommended way is to
67
67
* provide an object storage path in `partitions`
68
-
* run a full test to populate data: `./mthread.sh $(nproc) full keep`. Take note of the data location postfix (`0509D1529` in our case)
68
+
*`DATE=$(date +%m%d_%H%M%S)`
69
+
* run a full test to populate data: `./mthread.sh $(nproc) full keep $DATE`.
69
70
* assign an empty directory on a fast local disk to the environment variable `KX_OBJSTR_CACHE_PATH` in file `./config/env`
70
-
* run the test to populate cache: `./mthread.sh $(nproc) readonly keep 0509D1529`
71
-
* run the test again to use cache: `./mthread.sh $(nproc) readonly delete 0509D1529`
71
+
* run the test to populate cache: `./mthread.sh $(nproc) readonly keep $DATE`
72
+
* run the test again to use cache: `./mthread.sh $(nproc) readonly delete $DATE`
The random read kdb+ script is deterministic, i.e. it reads the same blocks in consecutive runs. The script uses [roll](https://code.kx.com/q/ref/deal/#roll-and-deal) for selecting random blocks which uses a fixed seed.
0 commit comments