| 7fc16330 | 13-Jul-2016 |
dormando <[email protected]> |
.gitignore updates. |
| 7c93898d | 13-Jul-2016 |
dormando <[email protected]> |
fix dyn-maxbytes tests
tests were handling undef values magically... thankfully they still pass after fixing the inputs. |
| 690a9a9d | 25-Mar-2016 |
Eiichi Tsukata <[email protected]> |
fix zero hash items eviction
If all hash values of five tail items are zero on the specified slab class, expire check is unintentionally skipped and items stay without being evicted. Consequently, n
fix zero hash items eviction
If all hash values of five tail items are zero on the specified slab class, expire check is unintentionally skipped and items stay without being evicted. Consequently, new item allocation consume memory space every time an item is set, that leads to slab OOM errors.
show more ...
|
| 3cee7d1b | 13-Jul-2016 |
dormando <[email protected]> |
shuffle the EXPERIMENTAL tag. |
| fd403b75 | 13-Jul-2016 |
dormando <[email protected]> |
document slab_reassign_chunk_rescues |
| 5627405f | 13-Jul-2016 |
dormando <[email protected]> |
fix test RAM bloat and more 32bit offsets.
when doing tests with long strings the results are buffered... so doing thousands of tests with long strings was using more than a gig of ram. now we just
fix test RAM bloat and more 32bit offsets.
when doing tests with long strings the results are buffered... so doing thousands of tests with long strings was using more than a gig of ram. now we just summarize if any were different.
also fixes more offset stuff.
show more ...
|
| 9c92c3a2 | 12-Jul-2016 |
dormando <[email protected]> |
update item_size_max tests
more rules around item sizes now. slab chunks automatically adjust if requesting memory > 1M |
| ee461d11 | 12-Jul-2016 |
dormando <[email protected]> |
slabs reassigns works with chunks and chunked items.
also fixes the new LRU algorithm to balance by total bytes used rather than total chunks used, since total chunks used isn't tracked for multi-ch
slabs reassigns works with chunks and chunked items.
also fixes the new LRU algorithm to balance by total bytes used rather than total chunks used, since total chunks used isn't tracked for multi-chunk items.
also fixes a bug where the lru limit wasn't being utilized for HOT_LRU
also some cleanup from previous commits.
show more ...
|
| 6975235c | 09-Jul-2016 |
dormando <[email protected]> |
CLRF in binprot was inverted.
now extends data in the chunk rather than overwriting the end. |
| 5978cf70 | 09-Jul-2016 |
dormando <[email protected]> |
chunked append/prepend now work.
This is also the only actual tests of append and prepend in the codebase :/ t/binary.t had some simple tests but no others were ever written. |
| 3e10a71d | 09-Jul-2016 |
dormando <[email protected]> |
protect binary sasl from chunked items.
not entirely sure how to test this or guarantee people don't set the chunk low enough to cause problems. might circle back to add better tests. |
| 51a828b9 | 07-Jul-2016 |
dormando <[email protected]> |
startup options for chunked items.
has spent some time under performance testing. For larger items there's less than 5% extra CPU usage, however the max usable CPU when using large items is 1/10th o
startup options for chunked items.
has spent some time under performance testing. For larger items there's less than 5% extra CPU usage, however the max usable CPU when using large items is 1/10th or less before you run out of bandwidth. Mixed small/large items will still balance out.
comments out debugging (which must be removed for release).
restores defaults and ensures only t/chunked-items.t is affected.
dyn-maxbytes and item_size_max tests still fail.
append/prepend aren't implemented, sasl needs to be guarded.
slab mover needs to be updated.
show more ...
|
| b05653f9 | 01-Jul-2016 |
dormando <[email protected]> |
chunked item second checkpoint
can actually fetch items now, and fixed a few bugs with storage/freeing.
added fetching for binprot. added some basic tests.
many tests still fail for various reason
chunked item second checkpoint
can actually fetch items now, and fixed a few bugs with storage/freeing.
added fetching for binprot. added some basic tests.
many tests still fail for various reasons, and append/prepend isn't fixed yet.
show more ...
|
| 0567967a | 30-Jun-2016 |
dormando <[email protected]> |
chunked items checkpoint commit
can set and store large items via asciiprot. gets/append/prepend/binprot not implemented yet. |
| 3d15d2ce | 13-Jul-2016 |
dormando <[email protected]> |
make test not flaky on 32bit OS.
since slab classes don't align necessarily. should maybe use the explicit slab sizing feature to make 32/64 bit tests more stable. |
| d98b07dd | 13-Jul-2016 |
dormando <[email protected]> |
too close to the line for forcing evictions. |
| 7979cdbd | 06-Jul-2016 |
David Oliveira <[email protected]> |
Update memcached.c
It's returning an error when we try to cachedump the slab 63 |
| 5e08df4d | 13-Jul-2016 |
dormando <[email protected]> |
fix flakiness of slabs-reassign2.t test.
slabs_automove=2 is fairly dumb and should be replaced with something better. I'm guessing a kickoff from the LRU juggler if free chunks is zero, rather than
fix flakiness of slabs-reassign2.t test.
slabs_automove=2 is fairly dumb and should be replaced with something better. I'm guessing a kickoff from the LRU juggler if free chunks is zero, rather than inline in the lru_pull_tail call.
This test was checking rescues/inline evictions and other newer features of the slab rebalancer. So now that's the central point rather than racing the slab mover thread. Tests now seem reliable.
show more ...
|
| 96d50a8c | 12-Jul-2016 |
dormando <[email protected]> |
Fix ancient binprot bug with OOM errors desycning
sets getting OOM's for item alloc would swallow the upload bytes in ascii protocol but missed in binprot. Swallow is usually passed through write_bi
Fix ancient binprot bug with OOM errors desycning
sets getting OOM's for item alloc would swallow the upload bytes in ascii protocol but missed in binprot. Swallow is usually passed through write_bin_error, but out_of_memory() calls write_bin_error indirectly with a zero for swallow.
show more ...
|
| 84af23d2 | 30-Jun-2016 |
Craig Andrews <[email protected]> |
Comment the systemd service |
| 6b52e019 | 28-Jun-2016 |
Craig Andrews <[email protected]> |
systemd hardening
memcached should be isolated and restricted as much as possible to improve security so that if memcached is compromised, the damage will be limited. |
| bc0eb83b | 28-Jun-2016 |
dormando <[email protected]> |
make watcher.t be even less flaky. |
| 60e98600 | 28-Jun-2016 |
dormando <[email protected]> |
don't fail on systems without 64bit atomics
We only explicitly tested for short atomics. Then I added 8byte atomic usage in the logger: now separately test for those.. since some systems can have on
don't fail on systems without 64bit atomics
We only explicitly tested for short atomics. Then I added 8byte atomic usage in the logger: now separately test for those.. since some systems can have one but not the other, I'd rather use atomics where available then fall back to a mutex when necessary.
Reproduced this on a raspberry pi 2.
show more ...
|
| 1eec5d41 | 28-Jun-2016 |
dormando <[email protected]> |
split up logger_thread_parse_entry
now a main function + helpers, with a separate write function.
drives me a lot less crazy now. |
| 82e4e9a1 | 28-Jun-2016 |
dormando <[email protected]> |
first refactor of logger_thread_parse_entry
Was in a working state for release, now doing some work to clean up the routine. Is much shorter and clearer now. Function needs to be split into several
first refactor of logger_thread_parse_entry
Was in a working state for release, now doing some work to clean up the routine. Is much shorter and clearer now. Function needs to be split into several functions from here.
show more ...
|