aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Fold staging_vespalib into vespalibHenning Baldersheim2022-05-20165-11871/+0
|
* Move state_server, metrivs and some all executors from staging_vespalib too ↵Henning Baldersheim2022-05-18134-9357/+0
| | | | vespalib.
* Move ScheduledExecutor to searchcore and drop fnet dependency in ↵Henning Baldersheim2022-05-187-191/+0
| | | | staging_vespalib in order to prepare collapsing stagingg vespalib into vespalib
* Fix race conditions in vespalib::Cache.Tor Egge2022-04-295-43/+116
|
* Use relaxed atomic in SequencedTaskExecutor when mapping to ExecutorId.Tor Egge2022-04-271-6/+12
|
* Avoid requiring identifiable for FieldValueHenning Baldersheim2022-03-162-2/+1
|
* hold lock while signallingHåvard Pettersen2022-03-152-25/+10
|
* signal while holding lockHåvard Pettersen2022-03-091-1/+1
|
* gc old process codeHåvard Pettersen2022-03-051-4/+4
| | | | also added read_line function to new Process code
* GC cloneableHenning Baldersheim2022-03-031-28/+0
|
* Use a reference instead of a pointer, as it will always be present now.Henning Baldersheim2022-03-035-8/+7
|
* Sample time prior to creating the InvokServiceImpl to ensure correct ↵Henning Baldersheim2022-03-031-3/+1
| | | | ordering of time.
* Add missing TestClockHenning Baldersheim2022-03-032-0/+48
|
* Let the InvocationService drive the clock instead of having its own ticking ↵Henning Baldersheim2022-03-036-62/+19
| | | | | | | loop. Also use sleep_until to get intervals indendant of invoke cost as long as cost is within interval. This also also saves a clock sample and simplifies implementation.
* Use the InvokeService to tick the clock instead of having a dedicated ↵Henning Baldersheim2022-02-284-88/+26
| | | | separate thread.
* Add include to get declaration for std::mutex (staging_vespalib).Tor Egge2022-02-271-0/+1
|
* Merge pull request #21435 from ↵Henning Baldersheim2022-02-273-0/+20
|\ | | | | | | | | vespa-engine/toregge/remove-inlining-warnings-in-staging-vespalib Remove inlining warnings (staging_vespalib).
| * Remove inlining warnings (staging_vespalib).Tor Egge2022-02-263-0/+20
| |
* | Remove restrict warning (staging_vespalib).Tor Egge2022-02-261-8/+8
|/
* Stop using std::binary_function (staging_vespalib).Tor Egge2022-02-261-1/+1
|
* Revert "Revert "Use a common FNET_Transport owned by Proton in both ↵Henning Baldersheim2022-02-213-46/+34
| | | | SceduledExecutor …""
* Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor ↵Henning Baldersheim2022-02-213-34/+46
| | | | …"
* Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵Henning Baldersheim2022-02-203-46/+34
| | | | | | | | | | TransactionLogServer. This reduces the number of Transport object by 1 per document type and netto 1 in Proton. Each of them contains 2 threads. In addition it uses a common Transport for the RpcFileAcquirer objects used during config fetching. This prevents creating 3 temporary Transport objects on every reconfig.
* Make Runnable state polling thread safeTor Brede Vekterli2022-02-162-29/+45
| | | | Used by Runnable sub-class(es) run-loops, which happens outside its mutex.
* Include needed header files.Tor Egge2022-02-142-0/+2
|
* mallopt is linux specific.Tor Egge2022-02-141-0/+8
|
* Let default limit be 1G, and add extra comment about usage and non-usage.Henning Baldersheim2022-02-093-4/+6
|
* Add a simple MallocMmapGuardHenning Baldersheim2022-02-092-0/+49
|
* Add a simple MallocMmapGuardHenning Baldersheim2022-02-092-7/+10
|
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-061-3/+3
|
* Refactor to reduce code duplication for write path.Henning Baldersheim2022-01-271-0/+1
|
* - assert result of Close() in destructor of FastOS_File and FastOS_BufferedFile.Henning Baldersheim2022-01-261-32/+28
| | | | | | | - Check result of Close() - Check result of Sync() - Scope FastOS_File to avoid explicit Close(). - NULL -> nullptr
* Let the Adaptive Executor have both soft and hard limit.Henning Baldersheim2022-01-195-11/+21
|
* Wire in control of whether taskLimit is hard.Henning Baldersheim2022-01-185-14/+46
|
* Merge pull request #20800 from ↵Henning Baldersheim2022-01-155-15/+62
|\ | | | | | | | | vespa-engine/balder/add-an-interface-that-can-accept-a-tasklist Add an interface that can post a list of task instead of only one at …
| * Add an interface that can post a list of task instead of only one at a time.Henning Baldersheim2022-01-135-15/+62
| | | | | | | | | | Intention is to make it cheaper to post many small tasks. It requires that the implementation adds support if it find it worthwhile.
* | Use else instead of initializing to 0Henning Baldersheim2022-01-131-1/+3
| |
* | Differentiate between numTasks called when holding lock and not.Henning Baldersheim2022-01-132-11/+22
| |
* | - Add support for using an unbound Q -> nonblocking.Henning Baldersheim2022-01-134-24/+101
|/ | | | | - It uses a synchronized overflow Q if the main Q is full. - Long term it is the intention that the blocking option will be removed.
* Add noexcept specifiers.Tor Egge2021-12-111-1/+1
|
* Merge pull request #20438 from ↵Henning Baldersheim2021-12-091-2/+1
|\ | | | | | | | | vespa-engine/balder/add-init_fun-to-vespalib_Thread-too Add init_fun to vespalib::Thread too to figure out what the thread is…
| * Add init_fun to vespalib::Thread too to figure out what the thread is used for.Henning Baldersheim2021-12-091-2/+1
| |
* | Reduce watermark from 50% to 10% to get faster reaction.Henning Baldersheim2021-12-091-1/+1
|/
* Compute watermarkRatio onceHenning Baldersheim2021-12-062-4/+5
|
* Add testing of watermark and change it to have the ration to the taskLimit asHenning Baldersheim2021-12-063-7/+15
| | | | it had on initial construction time.
* Round up to a power of 2 AFTER you have capped tasklimit.Henning Baldersheim2021-12-061-1/+1
|
* Modify test to trigger the case where watermark would prevent correct power ↵Henning Baldersheim2021-12-061-13/+15
| | | | of 2 task limit when reducing below watermark.
* Only issue wakeup if there is a good reason too.Henning Baldersheim2021-12-031-1/+3
|
* GC unused code.Henning Baldersheim2021-12-021-8/+0
|
* - Use the wakeupservice as main source for frequent regular wakeups.Henning Baldersheim2021-12-023-10/+35
| | | | | - Keep a self wakeup of 100ms - Avoid using default arguments to be able to find callsite.