-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling both cache_mode and SSD Data Tiering in dragonfly #4123
Comments
@dranikpg @adiholden any possible ETA for the fix ? PS: We are facing similar issues. Kindly suggest any workaround for same. |
I would say that a workaround right now would be not to run ssd tiering in cache_mode. |
@Athinivas can you provide "info all" stats when this happens again? |
I just tested cache_mode + ssd tiering, with max memory set to 768MB and used I feel like the combination of
The behavior that we're seeing is unstable snapshotting, and we get error trying to write keys in before the SSD is anywhere close to full |
Can you please expand on how do you stress test it? I really want to find these segfault bugs |
Specifically, can you provide the arguments to both dragonfly and |
Closing as we have not got any additional info. |
Can I enable both cache_mode and SSD Data Tiering..? As cache_mode evict keys if maxmemory is reached.
I enabled both cache_mode and SSD data tiering, but once the max memory limit reached, I encountered the following error:
" tiered_storage.cc:163] Should not reach here"
With cache_mode enabled, it should remove keys from memory, correct?
Shared some info and configuration details below.
`
### info memory
used_memory:270940752
used_memory_human:258.39MiB
used_memory_peak:286962880
used_memory_peak_human:273.67MiB
fibers_stack_vms:229264
fibers_count:7
used_memory_rss:340791296
used_memory_rss_human:325.00MiB
used_memory_peak_rss:340942848
maxmemory:272629760
maxmemory_human:260.00MiB
used_memory_lua:0
object_used_memory:2624
type_used_memory_string:2624
table_used_memory:266950352
num_buckets:495780
num_entries:6185616
inline_keys:6185616
listpack_blobs:0
listpack_bytes:0
small_string_bytes:2624
pipeline_cache_bytes:0
dispatch_queue_bytes:0
dispatch_queue_subscriber_bytes:0
dispatch_queue_peak_bytes:0
client_read_buffer_peak_bytes:5376
tls_bytes:0
snapshot_serialization_bytes:0
cache_mode:cache
maxmemory_policy:eviction
### info tiered
tiered_entries:6185575
tiered_entries_bytes:426804675
tiered_total_stashes:12896849
tiered_total_fetches:134168
tiered_total_cancels:0
tiered_total_deletes:0
tiered_total_uploads:0
tiered_total_stash_overflows:0
tiered_heap_buf_allocations:130621
tiered_registered_buf_allocations:261484
tiered_allocated_bytes:506957824
tiered_capacity_bytes:805306368
tiered_pending_read_cnt:0
tiered_pending_stash_cnt:0
tiered_small_bins_cnt:123769
tiered_small_bins_entries_cnt:6185575
tiered_small_bins_filling_bytes:3321
tiered_cold_storage_bytes:0
tiered_offloading_steps:3332329858
tiered_offloading_stashes:2930
tiered_ram_hits:0
tiered_ram_cool_hits:0
tiered_ram_misses:0
configurations -
--cache_mode=true
--log_dir=/abc/logs
--pidfile=/abc/hypermem/pid.txt
--aclfile=/abc/hypermem/aclfile.txt
--dir=/abc/storage/data
--version_check=false
--masteruser=repl
--masterauth=hypermemreplpwd
--tiered_prefix=/abc/storage/flash/flash
--proactor_threads=1
Linux version
"Debian GNU/Linux 11 (bullseye)"
`
The text was updated successfully, but these errors were encountered: