Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Take dead elements into account (and subtract them) when calculating how ↵ | Geir Storli | 2021-03-01 | 1 | -4/+29 |
| | | | | | | | | | | | | many arrays to allocate in a datastore buffer. This avoids a problem were allocated memory can accumulate over time in components using an ArrayStore. If all documents in an array attribute vector changes from one value class to another, all elements in the buffers of the previous value class are marked dead. Those buffers will eventually be compacted. Without this fix the wanted size of the resulting compacted buffer is calculated too high, and we allocate memory we are not going to use. If we move to yet another value class later, the same problem occurs again and more memory is allocated. | ||||
* | Merge pull request #16690 from vespa-engine/geirst/refactor-datastore-classes | Geir Storli | 2021-02-26 | 1 | -1/+1 |
|\ | | | | | Refactor datastore classes | ||||
| * | Rename 'active' buffer to 'primary' buffer in DataStoreBase. | Geir Storli | 2021-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | This should avoid confusion with the buffer state ACTIVE. Each buffer type has exactly one primary buffer that is used for allocations when no slots in free lists exist. A buffer type will typically use several buffers to store data, all of them being on state ACTIVE when in use. | ||||
* | | Remove includes no longer necessary. | Henning Baldersheim | 2021-02-25 | 8 | -33/+8 |
| | | |||||
* | | Avoid including singlenumericattribute.hpp | Henning Baldersheim | 2021-02-25 | 3 | -7/+4 |
|/ | |||||
* | Eliminate array bounds warning. | Tor Egge | 2021-02-21 | 1 | -0/+5 |
| | |||||
* | Merge pull request #16495 from vespa-engine/arnej/add-size-literals | Arne H Juul | 2021-02-16 | 19 | -61/+80 |
|\ | | | | | add literals for sizes in KB, MB, and GB | ||||
| * | use size literals in searchlib | Arne Juul | 2021-02-15 | 19 | -61/+80 |
| | | |||||
* | | Use mmap file allocator in dense tensor attribute if huge flag is | Tor Egge | 2021-02-15 | 2 | -1/+25 |
|/ | | | | set in config. | ||||
* | Add alloc_aligned member function. | Tor Egge | 2021-02-13 | 1 | -2/+1 |
| | |||||
* | Forward declare MemoryAllocator in vespalib/util/alloc.h. | Tor Egge | 2021-02-13 | 1 | -0/+1 |
| | |||||
* | Less asserts in header files. | Henning Baldersheim | 2021-02-13 | 2 | -0/+2 |
| | |||||
* | Add unit tests for active boundary checks. | Tor Egge | 2021-02-12 | 3 | -0/+36 |
| | |||||
* | Fix onhold accounting for SerializedFastValueAttribute. | Tor Egge | 2021-02-05 | 1 | -0/+15 |
| | |||||
* | Improve handling of changed alloc config. | Tor Egge | 2021-02-02 | 1 | -0/+20 |
| | |||||
* | Use vespalib::duration for timeouts | Henning Baldersheim | 2021-01-31 | 1 | -0/+1 |
| | |||||
* | libzstd 1.4.7 needs more bytes for compressed data. | Tor Egge | 2021-01-21 | 1 | -1/+3 |
| | |||||
* | Move idestructorcallback.h to vespalib module and ↵ | Henning Baldersheim | 2021-01-14 | 3 | -4/+4 |
| | | | | search::IDestructorCallback to vespalib::IdestructorCallback. | ||||
* | Reduce runtime by using 500 -> 300 children. | Henning Baldersheim | 2021-01-14 | 1 | -11/+14 |
| | |||||
* | - Add the cost to expensive tests. | Henning Baldersheim | 2021-01-13 | 3 | -3/+3 |
| | | | | - Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores. | ||||
* | Start expensive tests earlier. | Henning Baldersheim | 2021-01-13 | 3 | -3/+3 |
| | |||||
* | Have the BufferType::_emptyEntry be static. | Henning Baldersheim | 2021-01-10 | 2 | -0/+2 |
| | | | | Use an array of buffer types in the array class. | ||||
* | make check_with_distance_threshold method | Arne Juul | 2021-01-08 | 1 | -8/+16 |
| | |||||
* | add distanceThreshold option for nearestNeighbor operator | Arne Juul | 2021-01-08 | 7 | -13/+81 |
| | |||||
* | Merge pull request #15913 from ↵ | Arne H Juul | 2021-01-08 | 1 | -1/+1 |
|\ | | | | | | | | | vespa-engine/havardpe/use-string-ids-as-tensor-labels Havardpe/use string ids as tensor labels | ||||
| * | use string ids as tensor labels | Håvard Pettersen | 2021-01-05 | 1 | -1/+1 |
| | | |||||
* | | Stop fusion when closing flush engine. | Tor Egge | 2021-01-06 | 1 | -3/+3 |
| | | |||||
* | | Detect NUL byte in word when inverting field. Truncate the word and | Tor Egge | 2021-01-06 | 1 | -0/+49 |
| | | | | | | | | drop it if the reduced length is zero. | ||||
* | | Add low level support for stopping a running disk index fusion. | Tor Egge | 2021-01-05 | 1 | -10/+71 |
|/ | |||||
* | Use stricter version of dynamic_cast. | Tor Egge | 2021-01-04 | 1 | -1/+1 |
| | |||||
* | move class to the only place it is used | Arne Juul | 2020-12-10 | 1 | -1/+0 |
| | |||||
* | cleanup old includes | Arne Juul | 2020-12-08 | 1 | -1/+0 |
| | |||||
* | Deinline destructor. | Tor Egge | 2020-12-06 | 1 | -0/+4 |
| | |||||
* | Some -std=c++20a fixes: | Arne Juul | 2020-12-06 | 1 | -2/+2 |
| | | | | | | | add noexcept de-inline destructor avoid comparison warning (and revert changes already made in another branch) | ||||
* | Add noexcept specifiers to non-throwing constructors and operators. | Tor Egge | 2020-12-05 | 1 | -2/+2 |
| | |||||
* | Avoid bitwise or of different enum types. | Tor Egge | 2020-12-04 | 2 | -4/+4 |
| | |||||
* | Eliminate inlining warnings. | Tor Egge | 2020-12-04 | 1 | -0/+4 |
| | |||||
* | getTensor with mutable view no longer needed | Arne Juul | 2020-12-03 | 1 | -3/+2 |
| | |||||
* | Make it compatible with c++2a | Henning Baldersheim | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | use SimpleValue instead of EngineOrFactory | Arne Juul | 2020-12-02 | 11 | -51/+59 |
| | |||||
* | Merge pull request #15484 from ↵ | Arne H Juul | 2020-12-01 | 1 | -3/+3 |
|\ | | | | | | | | | vespa-engine/arnej/add-serialized_fast_value_attribute Arnej/add serialized fast value attribute | ||||
| * | Merge branch 'master' into arnej/add-serialized_fast_value_attribute | Arne Juul | 2020-11-27 | 5 | -38/+43 |
| |\ | | | | | | | | | | | | | | | | | | | fix trivial conflict. Conflicts: searchlib/src/tests/features/tensor/tensor_test.cpp | ||||
| * | | test SerializedFastValueAttribute instead | Arne Juul | 2020-11-27 | 1 | -3/+3 |
| | | | |||||
| * | | add SerializedFastValueAttribute | Arne Juul | 2020-11-26 | 1 | -3/+3 |
| | | | |||||
* | | | Misc cleanup of includes and code health | Henning Baldersheim | 2020-12-01 | 1 | -2/+4 |
| |/ |/| | |||||
* | | avoid using vespalib::tensor directly | Arne Juul | 2020-11-27 | 1 | -6/+14 |
| | | | | | | | | | | | | | | * do not construct DenseTensor instances directly * instead, use TensorSpec::from_expr to make a spec * and factory.from_spec() to make a value * also, use value codec directly to encode a value | ||||
* | | use factory.from_spec() instead of tensor::makeTensor<T> | Arne Juul | 2020-11-27 | 1 | -29/+29 |
| | | |||||
* | | cleanup unused include | Arne Juul | 2020-11-27 | 3 | -3/+0 |
|/ | |||||
* | track CellType move | Arne Juul | 2020-11-20 | 3 | -8/+9 |
| | |||||
* | Name the threads so it is easier to see who is doing what. | Henning Baldersheim | 2020-11-12 | 4 | -12/+21 |
| |