summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Correct allocated memory accounting for vespalib::string.Tor Egge2020-09-111-1/+1
|
* account for accounting infoArne Juul2020-09-091-1/+1
|
* add get_memory_usage for StashArne Juul2020-09-092-3/+25
|
* add methods to extract memory usageArne Juul2020-09-091-0/+7
|
* Merge pull request #14295 from ↵Tor Brede Vekterli2020-09-072-1/+8
|\ | | | | | | | | vespa-engine/vekterli/add-content-bucket-db-metrics-and-reduce-memory-footprint Add content bucket DB metrics and reduce memory footprint
| * Reintroduce DataStore ctor taking explicit min_arrays argumentTor Brede Vekterli2020-09-042-1/+8
| | | | | | | | | | | | | | | | | | Lets caller specify a reasonable minimum array count without needing to create an explicit buffer. Use explicit `min_arrays=1024` for content node bucket DB `DataStore`. Reduces default memory footprint of an empty (or sparsely populated) content node bucket DB with a factor of more than 1200x.
* | adapt and convert between vespa and onnx typesHåvard Pettersen2020-09-051-2/+6
|/
* Merge pull request #14239 from ↵Geir Storli2020-09-024-40/+51
|\ | | | | | | | | vespa-engine/geirst/memory-usage-tracking-in-direct-tensor-store Memory usage tracking in direct tensor store
| * Track heap allocated memory for tensors in DirectTensorStore.Geir Storli2020-09-022-7/+10
| |
| * Extra used bytes must also be accounted in allocated bytes when creating ↵Geir Storli2020-09-022-33/+41
| | | | | | | | memory stats.
* | - Add contained support for current serialization formats.Henning Baldersheim2020-09-023-13/+14
|/ | | | - Add support for future compressed formats.
* Change DataStore::addEntry() to use free lists if enabled.Geir Storli2020-09-013-40/+28
|
* Move DefaultReclaimer from vespalib::btree to vespalib::datastore.Geir Storli2020-09-014-10/+9
|
* Implement store for heap allocated tensors.Geir Storli2020-08-312-1/+8
|
* Use an allocator that automagically allocates large buffer by using mmap.Henning Baldersheim2020-08-3111-22/+30
|
* Style chnagesHenning Baldersheim2020-08-271-1/+2
|
* Port to Debian 10.Tor Egge2020-08-181-0/+9
|
* Instatiate map externally.Henning Baldersheim2020-08-071-0/+1
|
* Turn off lint for test marco definitions we can actually use clang-tidy to ↵Henning Baldersheim2020-08-053-72/+72
| | | | cleanup our code.
* ChildProc -> ChildProcessArne Juul2020-07-1715-89/+89
|
* rename SlaveProc -> ChildProcArne Juul2020-07-1715-91/+91
|
* Consolidate search for GTest.Tor Egge2020-07-0711-11/+0
|
* avoid naked exitArne Juul2020-07-031-6/+5
|
* Merge pull request #13729 from vespa-engine/arnej/filter-invalid-utf8Geir Storli2020-06-302-6/+35
|\ | | | | filter invalid UTF-8 (including encoded surrogates) to make protobuf …
| * move UTF-8 filtering to vespalib::Utf8Arne Juul2020-06-302-1/+25
| |
| * allow Utf8Writer to target std::string as wellArne Juul2020-06-292-4/+9
| |
| * fix bug/typo in surrogate range constantArne Juul2020-06-291-1/+1
| |
* | Merge pull request #13742 from ↵Geir Storli2020-06-3011-11/+22
|\ \ | | | | | | | | | | | | vespa-engine/toregge/use-find-package-to-find-gtest Use find_package to find gtest library.
| * | Use find_package to find gtest library.Tor Egge2020-06-2911-11/+22
| |/
* | Add comment about why two tests are disabled when addressTor Egge2020-06-291-0/+6
| | | | | | | | sanitizer is enabled.
* | Partially disable alloc test when using address sanitizer.Tor Egge2020-06-291-0/+10
|/
* Merge pull request #13563 from ↵Geir Storli2020-06-153-0/+213
|\ | | | | | | | | vespa-engine/toregge/add-foreach-key-range-method-to-btree-iterator Add foreach_key_range method to btree iterator, to scan a range of
| * Add comments for foreach_key_range() method and related methods.Tor Egge2020-06-122-0/+30
| |
| * Add foreach_key_range method to btree iterator, to scan a range ofTor Egge2020-06-123-0/+183
| | | | | | | | the tree and call function for each key.
* | Merge pull request #13579 from vespa-engine/havardpe/auto-detect-type-existenceHåvard Pettersen2020-06-153-19/+49
|\ \ | | | | | | auto-detect actual type typify results
| * | make type type member detection a generic trait and test itHåvard Pettersen2020-06-133-13/+27
| | |
| * | auto-detect actual type typify resultsHåvard Pettersen2020-06-131-12/+28
| |/
* / avoid deadlock when using compile cache with blocking executorsHåvard Pettersen2020-06-141-1/+1
|/ | | | | | | | - avoid taking cache lock in compile task destructor - avoid holding cache lock while posting compile task - add unit test trying to provoke deadlock - bonus: fix blocking executor implementation (did not work with threads <= task limit)
* minor naming adjustmentsHåvard Pettersen2020-06-111-7/+7
|
* common code for operation inliningHåvard Pettersen2020-06-114-1/+231
| | | | | | | | | | - add common code to make selecting the appropriate template function easier (vespa/vespalib/util/typify.h) - enable detection of lambda functions matching all low-level operations. (lookup_op1, lookup_op2) - add typifiers to decide which low-level operations should be inlined (TypifyOp1, TypifyOp2) - integrate into dense_simple_join as a pilot customer
* Add static_assert for sanity of template arguments.Henning Baldersheim2020-06-091-0/+4
|
* Revert "Revert "When we pull in a cacheline, we should use it too.""Henning Baldersheim2020-06-0810-7/+211
|
* Revert "When we pull in a cacheline, we should use it too."Harald Musum2020-06-0810-211/+7
|
* - Stick to void * and byte offsets.Henning Baldersheim2020-06-0710-31/+37
| | | | - Correct spelling error.
* - Test both normal and inverted bit vectors.Henning Baldersheim2020-06-071-34/+70
| | | | | - Use 64 byte alignment of buffer. - Improve error messages.
* When we pull in a cacheline, we should use it too.Henning Baldersheim2020-06-049-3/+165
| | | | There is possibly wasting 7/8 of it and very likely suffer a cache miss.
* rename regex option MultiLine -> DotMatchesNewlineArne Juul2020-05-282-4/+4
|
* add multiline regex optionArne Juul2020-05-282-1/+5
|
* Merge pull request #13368 from ↵Tor Brede Vekterli2020-05-261-0/+8
|\ | | | | | | | | vespa-engine/toregge/detect-clang-version-of-address-sanitizer Detect use of clang version of address sanitizer.
| * Detect use of clang version of address sanitizer.Tor Egge2020-05-251-0/+8
| |