summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Check that pointers are equal, don't try to compare C strings.Tor Egge2020-04-151-3/+5
| | | | | Skip some tests that depend on the linux vm subsystem when running unit tests on non-linux platform.
* Relax check of socket option set by getsockopt.Tor Egge2020-04-141-1/+1
|
* Skip some tests on Darwin due to setrlimit being partially broken.Tor Egge2020-04-141-0/+4
|
* Also allow for testing of the adaptive task executor.Henning Baldersheim2020-04-041-1/+1
|
* Merge pull request #12797 from ↵Henning Baldersheim2020-04-022-5/+6
|\ | | | | | | | | vespa-engine/balder/construct-addresses-construction-time - Redo the servicepool to resolve addresses first time and not loadba…
| * Improve thread visibility.Henning Baldersheim2020-04-022-5/+6
| |
* | Improve SignalHandler::shutdown robustness.Tor Egge2020-04-021-2/+17
| |
* | Unhook or ignore signals slightly earlier.Tor Egge2020-03-311-3/+3
| |
* | Ignore SIGTERM at shutdown instead of just blocking it.Tor Egge2020-03-311-7/+8
| |
* | Block SIGTERM on application shutdown.Tor Egge2020-03-311-0/+5
|/ | | | | This closes a window where SIGTERM will immediate terminate the program, possibly causing valgrind errors.
* Reduce code duplication in test code.Tor Egge2020-03-302-5/+13
|
* Handle newer gtest versions where the legacy API is deprecated.Tor Egge2020-03-291-0/+4
|
* No mentioning of defines here.Henning Baldersheim2020-03-272-4/+0
|
* Use xxhash for most out hashing. It is significantly better quality hash.Henning Baldersheim2020-03-273-16/+9
| | | | From 0.7.3 is is also significantly faster.
* Merge pull request #12727 from ↵Henning Baldersheim2020-03-262-1/+2
|\ | | | | | | | | vespa-engine/balder/let-optimize-flag-control-index-and-summary-executor-too Add shutdown to thread interface.
| * Add shutdown to thread interface.Henning Baldersheim2020-03-232-1/+2
| | | | | | | | Let the optimize config control index and summary executor too.
* | Unify the metrics for queuesize similar to what we have for the spi queues.Henning Baldersheim2020-03-254-14/+93
|/
* Add benchmark for xxhash32, xxhash64 and legacyHenning Baldersheim2020-03-231-16/+55
|
* Revert "Revert "Since the most important aspect our use of hash maps/sets is ↵Henning Baldersheim2020-03-203-4/+4
| | | | for spee…""
* Revert "Since the most important aspect our use of hash maps/sets is for ↵Harald Musum2020-03-203-4/+4
| | | | spee…"
* Merge pull request #12646 from ↵Henning Baldersheim2020-03-203-4/+4
|\ | | | | | | | | vespa-engine/balder/make-default-hashing-use-2N-and-instead-of-prime-mod Since the most important aspect our use of hash maps/sets is for spee…
| * Since the most important aspect our use of hash maps/sets is for speed we ↵Henning Baldersheim2020-03-203-4/+4
| | | | | | | | | | | | change from using prime numbers as table size and modulo to using 2^N and using simple AND.
* | Merge pull request #12645 from vespa-engine/balder/some-mbus-cleanupHenning Baldersheim2020-03-205-51/+35
|\ \ | |/ |/| Reserve space for vector.
| * Reserve space for vector.Henning Baldersheim2020-03-205-51/+35
| | | | | | | | Varoius code cleanup for c++11.
* | Stick with one way of getting an accelrator.Henning Baldersheim2020-03-203-14/+6
| |
* | Use a common accelrator instance.Henning Baldersheim2020-03-193-4/+12
|/
* Merge pull request #12619 from vespa-engine/balder/optimize-value-excutorsHenning Baldersheim2020-03-193-3/+8
|\ | | | | Balder/optimize value excutors.
| * Remove continuation token on last line in macro.Henning Baldersheim2020-03-191-1/+1
| |
| * Use vespalib::hash_set instead of std::set to reduce number of allocation ↵Henning Baldersheim2020-03-183-2/+7
| | | | | | | | and epeed it up. Also use faster 2^N AND based hash tables.
* | print more details about type errorsHåvard Pettersen2020-03-193-1/+25
|/
* Order the bits so it is more suitable as a hash value.Henning Baldersheim2020-03-172-4/+3
|
* spell check: Euclidian -> EuclideanArne Juul2020-03-111-4/+4
|
* Merge pull request #12527 from ↵Henning Baldersheim2020-03-1018-109/+219
|\ | | | | | | | | vespa-engine/balder/compile-euclidian-distance-for-avx2-and-avx512 Balder/compile euclidian distance for avx2 and avx512
| * Followup from code review.Henning Baldersheim2020-03-1011-39/+42
| | | | | | | | | | | | - Update copyright - euclidian -> euclidean - better testdata.
| * Simply follow pattern from dotproduct.Henning Baldersheim2020-03-105-31/+79
| |
| * Add a euclidian distance that is optimal for avx, avx2 and avx512.Henning Baldersheim2020-03-1017-107/+166
| |
* | use EXPECT_LT and EXPECT_GTArne Juul2020-03-101-13/+13
| |
* | more testing for memory usage trackingArne Juul2020-03-061-4/+11
| |
* | use MemoryUsageArne Juul2020-03-063-13/+27
| |
* | add documentation commentsArne Juul2020-03-063-3/+24
| |
* | review follow-upArne Juul2020-03-064-42/+93
| |
* | add generic ReusableSetArne Juul2020-03-0510-0/+284
|/
* complete autoHenning Baldersheim2020-03-051-1/+1
|
* openblas obviously requires a large portion of memory just to start be ↵Henning Baldersheim2020-03-051-1/+1
| | | | linked in.
* Use openblas for dotproduct on everything up to and including avx2.Henning Baldersheim2020-03-059-116/+16
|
* Construct instance as constTor Brede Vekterli2020-03-051-1/+1
|
* Use Google RE2 as underlying regex engineTor Brede Vekterli2020-03-0411-67/+318
| | | | | | | | | | | | This introduces guaranteed upper bounds for memory usage and CPU time during regex evaluation. Most importantly, it removes the danger of catastrophic backtracking that is currrently present in GCC's std::regex implementation. With this commit, RE2 will be used instead of std::regex for: * Document selection regex/glob operators * Attribute regex search * Evaluation of mTLS authorization rules
* Wire in control of executor type.Henning Baldersheim2020-02-281-0/+2
|
* Add getStats and setTaskLimit to interface to make it easy to swap ↵Henning Baldersheim2020-02-275-26/+25
| | | | | | implementation. Also make do with ISequenceHandlerInterface.
* Add a += operator and test ExecutorStatsHenning Baldersheim2020-02-272-1/+22
|