Skip to content
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

Open
jahnavilatha589 opened this issue Nov 13, 2024 · 0 comments
Open

Enabling both cache_mode and SSD Data Tiering in dragonfly #4123

jahnavilatha589 opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jahnavilatha589
Copy link

jahnavilatha589 commented Nov 13, 2024

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)"
`

@jahnavilatha589 jahnavilatha589 added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants