aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/datastore
Commit message (Collapse)AuthorAgeFilesLines
* Improve buffer allocation strategy in data store by matching underlying ↵Geir Storli2018-01-262-23/+36
| | | | | | | | allocators. This should reduce the amount of memory wasted in allocations. 1) heap allocation: buffer size is power of 2 to match vespamalloc. 2) mmap allocation: buffer size is multiple of huge page size (2MB) to match mmap allocator.
* Add more conservative buffer allocation strategy in datastore buffers.Geir Storli2018-01-196-25/+169
| | | | | | | | | | | This should greatly reduce the memory footprint of multi-value attribute vectors which uses an array store for underlying values. The size of a new buffer is calculated as (simplified): *) before: (size of previous buffer) * 2 *) now: (size of all previous buffers) * allocation grow factor (default = 0.2) In addition we now support resizing of all buffers, not only the first one.
* Rewrite to new syntax for test function setup.Geir Storli2018-01-161-74/+23
|
* Use FreeListAllocator in free list unit test and remove unused function.Geir Storli2018-01-161-20/+32
|
* Update copyright headersJon Bratseth2017-06-148-8/+8
|
* Revert "Update copyright headers"Jon Bratseth2017-06-148-8/+8
|
* Update copyright headersJon Bratseth2017-06-148-8/+8
|
* Revert "Copyright header"Jon Bratseth2017-06-138-8/+8
|
* Copyright headerJon Bratseth2017-06-138-8/+8
|
* Checkpount for removing fastos from testsHenning Baldersheim2017-06-011-1/+0
|
* C++ style fix: Use foo() instead of foo(void)Tor Egge2017-05-241-3/+3
|
* Revert "Revert "Fix warnings hidden earlier due to including application ↵Henning Baldersheim2017-05-032-12/+8
| | | | headers as s…""
* Revert "Fix warnings hidden earlier due to including application headers as ↵Henning Baldersheim2017-05-032-8/+12
| | | | s…"
* Fix warnings hidden earlier due to including application headers as system ↵Henning Baldersheim2017-05-032-12/+8
| | | | includes
* add override in searchlib moduleArne H Juul2017-04-121-2/+2
|
* Use a public interface for testing.Henning Baldersheim2017-03-041-19/+16
|
* Prepare for faster lid mapping:Tor Egge2017-02-071-1/+17
| | | | | - Adjust add method in unique store. - Wrap gid and (currently unused) lid in nested Reference class.
* Style fixes and adjusted comments.Tor Egge2017-02-031-4/+2
| | | | | More test cases for reference attribute test. Remove unneeded onAddDoc() method.
* Add reference attribute.Tor Egge2017-02-021-0/+46
|
* Move MemStats struct to searchlib test library. Add class comment.Tor Egge2017-01-302-50/+5
| | | | | | | Stop wrapping EntryType in WrappedEntry. Change Compare to reference value. Add class comment. Remove WrappedCompare. Add freeze() method.
* Add unique store, a data store containing refcounted unique values.Tor Egge2017-01-273-0/+239
|
* Tune compaction, i.e. specify whether to compact on memory, compact onTor Egge2016-11-291-3/+82
| | | | address space, or compact on both.
* Merge pull request #1196 from yahoo/geirst/simplify-allocation-in-data-storesTor Egge2016-11-291-2/+2
|\ | | | | Geirst/simplify allocation in data stores
| * Replace alloc functions in DataStoreT with access to allocators.Geir Storli2016-11-281-2/+2
| |
* | Add comments.Tor Egge2016-11-281-0/+7
| |
* | Use active buffer capacity when calculating address space usage limit.Tor Egge2016-11-281-2/+3
| |
* | Report address space usage for multivalue mapping as number of used/deadTor Egge2016-11-261-4/+7
|/ | | | clusters, with a 4Gi limit.
* Use config for setting up array store instances with optimization for huge ↵Geir Storli2016-11-241-1/+1
| | | | page size.
* Add class for configuring an array store.Geir Storli2016-11-243-0/+82
|
* Reduce number of buffers in array store from 32k to 8k.Tor Egge2016-11-231-1/+1
|
* Test data store buffer growth with minSize being 0.Tor Egge2016-11-231-14/+62
| | | | | Test initial resizing of first buffer for type. Test initial memory usage for data store.
* Change extra growth when swithing buffer from minClusters toTor Egge2016-11-231-3/+6
| | | | | max(minClusters, numClustersForNewBuffer) except when switching to the initial buffer. This reduces memory waste when allocating buffers.
* Add unit test for data store buffer growth.Tor Egge2016-11-221-3/+58
|
* Allow usage of all buffers when reporting address space usage.Geir Storli2016-11-211-1/+1
|
* Expose address space usage in array store and multi-value mapping.Geir Storli2016-11-211-0/+9
|
* Track memory usage in underlying buffers in ArrayStore.Geir Storli2016-11-181-4/+53
|
* Make member variables in BufferState private and add public functions where ↵Geir Storli2016-11-181-3/+3
| | | | needed.
* No need to inc generation after trimming of hold lists.Geir Storli2016-11-161-1/+1
|
* Add support for compacting the worst buffer in an array store.Geir Storli2016-11-161-14/+94
|
* Test that new underlying buffer is allocated when current is full.Geir Storli2016-11-151-6/+42
|
* Add remove() function to array store.Geir Storli2016-11-111-0/+24
|
* Implement basic array store with support for add() and get().Geir Storli2016-11-103-0/+78
|
* Move datastore unit tests into separate folder.Geir Storli2016-11-043-0/+441
|
* Move docstore unit tests into common top-level folder.Geir Storli2016-11-0417-895/+0
|
* Removed TestApp::GetSourceDirectoryArnstein Ressem2016-11-021-2/+2
|
* Remove the XXXFactory indirection. Just use static method on Alloc.Henning Baldersheim2016-10-161-2/+1
|
* Adjust results of sizeof()Henning Baldersheim2016-10-031-16/+16
|
* Handle variations to alignment smoother.Henning Baldersheim2016-10-031-1/+1
|
* make tests pass tooHenning Baldersheim2016-10-031-1/+3
|
* Increase allowed deviation from 10 to 20.Henning Baldersheim2016-09-161-2/+2
|