-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqemu.block.toml
More file actions
27 lines (23 loc) · 778 Bytes
/
qemu.block.toml
File metadata and controls
27 lines (23 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
log_level = "trace"
[server]
socket = "/tmp/oxcache.sock"
disk = "/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbaaf"
writer_threads = 14
reader_threads = 14
chunk_size = 67108864
block_zone_capacity = 134217728
max_write_size = 131072
#max_zones = 100
[remote]
remote_type = "emulated" # emulated | S3
bucket = "S3_BUCKET"
remote_artificial_delay_microsec = 40632
[eviction]
eviction_policy = "chunk"
high_water_evict = 50 # Number remaining from end, evicts if reaches here
low_water_evict = 100 # Evict until below mark
high_water_clean = 40 # Number remaining from end, cleans if reaches here (only used with chunk)
low_water_clean = 20 # Clean until below mark (only used with chunk)
eviction_interval_ms = 1000 # Evict every 1s
[metrics]
file_metrics_directory = "./logs"