Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fold staging_vespalib into vespalib | Henning Baldersheim | 2022-05-20 | 165 | -11871/+0 |
| | |||||
* | Move state_server, metrivs and some all executors from staging_vespalib too ↵ | Henning Baldersheim | 2022-05-18 | 134 | -9357/+0 |
| | | | | vespalib. | ||||
* | Move ScheduledExecutor to searchcore and drop fnet dependency in ↵ | Henning Baldersheim | 2022-05-18 | 7 | -191/+0 |
| | | | | staging_vespalib in order to prepare collapsing stagingg vespalib into vespalib | ||||
* | Fix race conditions in vespalib::Cache. | Tor Egge | 2022-04-29 | 5 | -43/+116 |
| | |||||
* | Use relaxed atomic in SequencedTaskExecutor when mapping to ExecutorId. | Tor Egge | 2022-04-27 | 1 | -6/+12 |
| | |||||
* | Avoid requiring identifiable for FieldValue | Henning Baldersheim | 2022-03-16 | 2 | -2/+1 |
| | |||||
* | hold lock while signalling | Håvard Pettersen | 2022-03-15 | 2 | -25/+10 |
| | |||||
* | signal while holding lock | Håvard Pettersen | 2022-03-09 | 1 | -1/+1 |
| | |||||
* | gc old process code | Håvard Pettersen | 2022-03-05 | 1 | -4/+4 |
| | | | | also added read_line function to new Process code | ||||
* | GC cloneable | Henning Baldersheim | 2022-03-03 | 1 | -28/+0 |
| | |||||
* | Use a reference instead of a pointer, as it will always be present now. | Henning Baldersheim | 2022-03-03 | 5 | -8/+7 |
| | |||||
* | Sample time prior to creating the InvokServiceImpl to ensure correct ↵ | Henning Baldersheim | 2022-03-03 | 1 | -3/+1 |
| | | | | ordering of time. | ||||
* | Add missing TestClock | Henning Baldersheim | 2022-03-03 | 2 | -0/+48 |
| | |||||
* | Let the InvocationService drive the clock instead of having its own ticking ↵ | Henning Baldersheim | 2022-03-03 | 6 | -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 Baldersheim | 2022-02-28 | 4 | -88/+26 |
| | | | | separate thread. | ||||
* | Add include to get declaration for std::mutex (staging_vespalib). | Tor Egge | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | Merge pull request #21435 from ↵ | Henning Baldersheim | 2022-02-27 | 3 | -0/+20 |
|\ | | | | | | | | | vespa-engine/toregge/remove-inlining-warnings-in-staging-vespalib Remove inlining warnings (staging_vespalib). | ||||
| * | Remove inlining warnings (staging_vespalib). | Tor Egge | 2022-02-26 | 3 | -0/+20 |
| | | |||||
* | | Remove restrict warning (staging_vespalib). | Tor Egge | 2022-02-26 | 1 | -8/+8 |
|/ | |||||
* | Stop using std::binary_function (staging_vespalib). | Tor Egge | 2022-02-26 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "Use a common FNET_Transport owned by Proton in both ↵ | Henning Baldersheim | 2022-02-21 | 3 | -46/+34 |
| | | | | SceduledExecutor …"" | ||||
* | Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor ↵ | Henning Baldersheim | 2022-02-21 | 3 | -34/+46 |
| | | | | …" | ||||
* | Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵ | Henning Baldersheim | 2022-02-20 | 3 | -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 safe | Tor Brede Vekterli | 2022-02-16 | 2 | -29/+45 |
| | | | | Used by Runnable sub-class(es) run-loops, which happens outside its mutex. | ||||
* | Include needed header files. | Tor Egge | 2022-02-14 | 2 | -0/+2 |
| | |||||
* | mallopt is linux specific. | Tor Egge | 2022-02-14 | 1 | -0/+8 |
| | |||||
* | Let default limit be 1G, and add extra comment about usage and non-usage. | Henning Baldersheim | 2022-02-09 | 3 | -4/+6 |
| | |||||
* | Add a simple MallocMmapGuard | Henning Baldersheim | 2022-02-09 | 2 | -0/+49 |
| | |||||
* | Add a simple MallocMmapGuard | Henning Baldersheim | 2022-02-09 | 2 | -7/+10 |
| | |||||
* | Reduce code visibility and include only what you need from config library. | Henning Baldersheim | 2022-02-06 | 1 | -3/+3 |
| | |||||
* | Refactor to reduce code duplication for write path. | Henning Baldersheim | 2022-01-27 | 1 | -0/+1 |
| | |||||
* | - assert result of Close() in destructor of FastOS_File and FastOS_BufferedFile. | Henning Baldersheim | 2022-01-26 | 1 | -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 Baldersheim | 2022-01-19 | 5 | -11/+21 |
| | |||||
* | Wire in control of whether taskLimit is hard. | Henning Baldersheim | 2022-01-18 | 5 | -14/+46 |
| | |||||
* | Merge pull request #20800 from ↵ | Henning Baldersheim | 2022-01-15 | 5 | -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 Baldersheim | 2022-01-13 | 5 | -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 0 | Henning Baldersheim | 2022-01-13 | 1 | -1/+3 |
| | | |||||
* | | Differentiate between numTasks called when holding lock and not. | Henning Baldersheim | 2022-01-13 | 2 | -11/+22 |
| | | |||||
* | | - Add support for using an unbound Q -> nonblocking. | Henning Baldersheim | 2022-01-13 | 4 | -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 Egge | 2021-12-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #20438 from ↵ | Henning Baldersheim | 2021-12-09 | 1 | -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 Baldersheim | 2021-12-09 | 1 | -2/+1 |
| | | |||||
* | | Reduce watermark from 50% to 10% to get faster reaction. | Henning Baldersheim | 2021-12-09 | 1 | -1/+1 |
|/ | |||||
* | Compute watermarkRatio once | Henning Baldersheim | 2021-12-06 | 2 | -4/+5 |
| | |||||
* | Add testing of watermark and change it to have the ration to the taskLimit as | Henning Baldersheim | 2021-12-06 | 3 | -7/+15 |
| | | | | it had on initial construction time. | ||||
* | Round up to a power of 2 AFTER you have capped tasklimit. | Henning Baldersheim | 2021-12-06 | 1 | -1/+1 |
| | |||||
* | Modify test to trigger the case where watermark would prevent correct power ↵ | Henning Baldersheim | 2021-12-06 | 1 | -13/+15 |
| | | | | of 2 task limit when reducing below watermark. | ||||
* | Only issue wakeup if there is a good reason too. | Henning Baldersheim | 2021-12-03 | 1 | -1/+3 |
| | |||||
* | GC unused code. | Henning Baldersheim | 2021-12-02 | 1 | -8/+0 |
| | |||||
* | - Use the wakeupservice as main source for frequent regular wakeups. | Henning Baldersheim | 2021-12-02 | 3 | -10/+35 |
| | | | | | - Keep a self wakeup of 100ms - Avoid using default arguments to be able to find callsite. |