summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Use generated header for sanitizer detection macrosTor Brede Vekterli2023-09-061-1/+1
| | | | Needed to properly detect UBSan-instrumented compilation.
* Add detailed state explorer for field writer SequencedTaskExecutor.Geir Storli2023-09-052-0/+18
| | | | This exposes the raw statistics for each underlying executor.
* MADV_DONTDUMP is specific for linux.Tor Egge2023-09-041-0/+2
|
* Remove FastOS_DirectoryScanTor Egge2023-09-016-259/+3
|
* Merge pull request #28321 from vespa-engine/toregge/bump-default-small-limitHenning Baldersheim2023-08-311-1/+1
|\ | | | | Adjust limit for when mmap file allocator uses separate mmaps.
| * Adjust limit for when mmap file allocator uses separate mmaps.Tor Egge2023-08-311-1/+1
| |
* | Add saturation metric for executors.Geir Storli2023-08-312-2/+29
|/ | | | | This should make it easier to observe bottlenecks in one of the underlying executor threads used in the "field writer" SequencedTaskExecutor.
* Let node info for cluster controller be explicit, and not a metric consumer.Henning Baldersheim2023-08-291-1/+1
|
* added pop_back function to SmallVectorHåvard Pettersen2023-08-282-0/+27
| | | | follow std::vector by making it undefined for empty vectors
* Use 128 bytes alignment for small allocations in MmapFileAllocator.Tor Egge2023-08-252-9/+9
|
* Extend class comment.Tor Egge2023-08-241-0/+3
|
* Extend test for reusing file offset.Tor Egge2023-08-241-2/+15
|
* Use premmapped areas for smaller allocations than _small_limit.Tor Egge2023-08-243-19/+159
|
* Add premmapped areas to file area freelist.Tor Egge2023-08-243-12/+89
|
* Merge pull request #28116 from vespa-engine/balder/avoid-dynamic_castHenning Baldersheim2023-08-232-11/+14
|\ | | | | Avoid dynamic_cast by adding an interface to get allocated size
| * Add finalHenning Baldersheim2023-08-231-2/+4
| |
| * Avoid dynamic_cast by adding an interface to get allocated sizeHenning Baldersheim2023-08-222-9/+10
| |
* | Estimate datastore stash memory usage instead of sampling it.Tor Egge2023-08-232-1/+19
| |
* | Merge pull request #28109 from ↵Henning Baldersheim2023-08-232-2/+6
|\ \ | |/ |/| | | | | vespa-engine/balder/ensure-all-mapped-files-are-marked-dontdump Ensure all mmaped files are marked so they will not be part of any co…
| * Ensure all mmaped files are marked so they will not be part of any coredump.Henning Baldersheim2023-08-222-2/+6
| |
* | Revert "Sample datastore stash memory usage in write thread."Tor Egge2023-08-224-29/+5
|/
* Sample datastore stash memory usage in write thread.Tor Egge2023-08-224-5/+29
|
* Disable two alloc unit tests when using any sanitizer.Tor Egge2023-08-211-3/+3
|
* Fix format strings.Tor Egge2023-08-211-1/+1
|
* Merge pull request #28037 from ↵Henning Baldersheim2023-08-162-2/+4
|\ | | | | | | | | vespa-engine/balder/use-interfaces-for-looking-up-index-from-node - Avoid going via a temporary IdealNodesList.
| * Rename methods to follow style in classHenning Baldersheim2023-08-161-2/+3
| |
| * - Avoid going via a temporary IdealNodesList.Henning Baldersheim2023-08-141-0/+1
| | | | | | | | | | | | | | - Use ConstArrayRef to hide implementation. - Store all 3 node categories in a single vector. - Use a small_vector that can handle redundancy up to 5 without requiring extra memory allocation. - Build a hash_map if redundancy/groups > 32 for constant lookup time.
* | GC unused direct IO supportHenning Baldersheim2023-08-153-73/+4
| |
* | GC and clean up more unused codeHenning Baldersheim2023-08-153-194/+45
| |
* | Assert that you actually got memory you allocated.Henning Baldersheim2023-08-151-0/+4
| |
* | GC unused File code and other fallout.Henning Baldersheim2023-08-155-513/+75
|/
* Avoid eating memory on repeated insert.Henning Baldersheim2023-08-101-2/+1
|
* Merge pull request #27989 from vespa-engine/balder/faster-bucketdb-metricsHenning Baldersheim2023-08-092-0/+3
|\ | | | | Move where possible
| * Unify on a single definition of MinReplicaMapHenning Baldersheim2023-08-082-0/+3
| |
* | Merge pull request #27988 from ↵Henning Baldersheim2023-08-092-0/+25
|\ \ | | | | | | | | | | | | vespa-engine/balder/prepare-for-better-stats-reset-code Balder/prepare for better stats reset code
| * | Add support for creating ConstArrayRef from std::arrayHenning Baldersheim2023-08-082-0/+25
| |/
* / Use vespalib hash_set since it is significantly faster and than ↵Henning Baldersheim2023-08-081-0/+2
|/ | | | std::unordered_set
* Provide more information when failing to mmap filesHenning Baldersheim2023-08-021-6/+10
|
* Deinline BufferTypeBase move constructors.Henning Baldersheim2023-07-312-2/+5
|
* Reduce number of checks and asserts as proper precondition check with ↵Henning Baldersheim2023-07-272-8/+1
| | | | validFirstByte has always been conducted.
* - Return double for computation.Henning Baldersheim2023-07-272-4/+4
| | | | | - Do not hide narrowing to 32 bit. - Use enum class.
* - Pack data closer to let config fit in 2 cache lines instead of 4.Henning Baldersheim2023-07-2710-95/+80
| | | | | - Avoid plt indirection and allow more inlining of frequently called code. - Reapplication of #27646
* Merge pull request #27817 from ↵Henning Baldersheim2023-07-272-10/+10
|\ | | | | | | | | vespa-engine/revert-27773-revert-27643-balder/use-direct-weighted-set-also-for-filter-fields Revert "Revert "- Consolidate on isFilter.""
| * Revert "Revert "- Consolidate on isFilter.""Henning Baldersheim2023-07-192-10/+10
| |
* | Suppress GCC false positive compiler warning when compiling with sanitizersTor Brede Vekterli2023-07-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like GCC gets confused during compilation of inlined xxhash functions when the input buffer is backed by a `std::array`, even when the length argument is a runtime value. An xxhash branch that can only kick in when the input length is >= 9 bytes triggers a compilation warning (and thus error) that 8 bytes at the start of the buffer is being read, with GCC staunchly insisting that the buffer size is only 4 bytes. We only see this warning when compiling with UBSan instrumentation, so presumably it injects enough changes into the GCC intermediate representation to thoroughly confuse it. For now, suppress the warning when compiling with sanitizers. Revisit on GCC 13 to see if the warning is gone.
* | Merge pull request #27883 from vespa-engine/balder/less-fastos-statinfoHenning Baldersheim2023-07-253-31/+20
|\ \ | | | | | | Prefer std::filesystem::exists over FastOS_StatInfo
| * | Prefer std::filesystem::exists over FastOS_StatInfoHenning Baldersheim2023-07-253-31/+20
| | |
* | | Use uint32_t as ucs4_tHenning Baldersheim2023-07-251-1/+3
|/ /
* | Use std::filesystem::current_pathTor Egge2023-07-215-77/+0
| |
* | Remove vespalib::stat and vespalib::getFileSize.Tor Egge2023-07-203-41/+4
| |