Re: Extstore

2020-02-10 Thread dormando
Hey,

If you want to play safe you can allocate up to 95% of the drive. The
limiter for how much storage you can use is by how much RAM you have
relatively. IE; if key+metadata takes 200 bytes per object, and values are
500 bytes, you need 200 bytes of RAM for every 500 bytes of disk space.

Compaction doesn't use extra space outside of the file, it uses pages
within the existing file.

I don't think there's a counter for when it's running but there're
counters for how often it's run. The actual compaction is extremely fast,
and at a default page size of 64 megabytes I doubt it'll take more than a
hundred milliseconds or per page.

-Dormando

On Mon, 10 Feb 2020, 'theonajim' via memcached wrote:

> For extstore feature, are there guidelines on size to allocate for extstore 
> file? For example, if the drive has 500 GB capacity, do we allocate all 500 
> GB, 250 GB (50%) or
> something like 70% to 90% of drive capacity?
> Does extstore compaction require free space to re-write the extstore file? Is 
> there a stats output that shows compaction is running?
>
> Thanks
> --Theo
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to memcached+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/memcached/3ddba9a1-04c6-4a75-97fb-c147f045e805%40googlegroups.com.
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/alpine.DEB.2.21.2002101437210.3095%40dskull.


Extstore

2020-02-10 Thread 'theonajim' via memcached
For extstore feature, are there guidelines on size to allocate for extstore 
file? For example, if the drive has 500 GB capacity, do we allocate all 500 
GB, 250 GB (50%) or something like 70% to 90% of drive capacity?
Does extstore compaction require free space to re-write the extstore file? 
Is there a stats output that shows compaction is running?

Thanks
--Theo

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/3ddba9a1-04c6-4a75-97fb-c147f045e805%40googlegroups.com.