Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Add a wakeup service | Henning Baldersheim | 2021-11-29 | 1 | -2/+2 |
| | |||||
* | Remove the need for Syncable | Henning Baldersheim | 2021-11-26 | 2 | -2/+3 |
| | |||||
* | vespalib::SequencedTaskExecutor uses std::optional. Add needed include. | Tor Egge | 2021-11-17 | 1 | -0/+1 |
| | |||||
* | Rename test to reflect current behaviour | Henning Baldersheim | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | Use std::optional instead of separate class. | Henning Baldersheim | 2021-11-16 | 2 | -16/+6 |
| | |||||
* | Address both thread safety in regards to visibility of updates and race for ↵ | Henning Baldersheim | 2021-11-15 | 2 | -31/+51 |
| | | | | the last spots. | ||||
* | If we lost the race for the last spots we need to use the second option. | Henning Baldersheim | 2021-11-14 | 1 | -3/+9 |
| | |||||
* | Add a fixed size table of 8 * num_exutors with 16 bit entries. Use this for ↵ | Henning Baldersheim | 2021-11-13 | 3 | -32/+68 |
| | | | | | | | | mapping the first components exact. With more components than 8x we fall abck to to using shrunk id of 8 bits as before. This enables perfect distribution for the first 8x and then 'good enough' for the rest. The more there are the less impact of imperfect distribution will be. | ||||
* | Test the distribution we get with 8 attributes and 4/8 threads. | Henning Baldersheim | 2021-11-10 | 1 | -0/+24 |
| | |||||
* | Let default watermark be at 50% instead of 10%. | Henning Baldersheim | 2021-11-09 | 1 | -1/+1 |
| | | | | That will favour more frequent wakeups, and should give more stable flow. | ||||
* | Use alternate executor id for push stage when sharing sequenced task executor | Tor Egge | 2021-11-08 | 2 | -0/+18 |
| | | | | with invert stage. | ||||
* | Bundle fields using same executor for memory index. | Tor Egge | 2021-11-05 | 1 | -6/+6 |
| | |||||
* | Rename ISequencedTaskExecutor::sync() to sync_all(). | Tor Egge | 2021-10-28 | 12 | -34/+34 |
| | |||||
* | Update 2020 Oath copyrights. | gjoranv | 2021-10-27 | 4 | -4/+4 |
| | |||||
* | Update 2019 Oath copyrights. | gjoranv | 2021-10-27 | 2 | -2/+2 |
| | |||||
* | foreground executors are never woken up. | Henning Baldersheim | 2021-10-22 | 2 | -2/+2 |
| | |||||
* | properly set utilization | Henning Baldersheim | 2021-10-22 | 5 | -10/+10 |
| | |||||
* | Track time outside of idle loop. | Henning Baldersheim | 2021-10-22 | 1 | -2/+2 |
| | |||||
* | Rename executorCount -> threadCount | Henning Baldersheim | 2021-10-22 | 1 | -1/+1 |
| | |||||
* | Add a metric for how many times a worker in a thread pool has woken up. | Henning Baldersheim | 2021-10-22 | 7 | -11/+38 |
| | | | | Also track the idle time a worker has and add metric for the utilization. | ||||
* | Reduce to 3 tries as this is a rather expensive operation with many smaps. | Henning Baldersheim | 2021-10-20 | 1 | -1/+1 |
| | |||||
* | Silence info message by reducing it to debug. | Henning Baldersheim | 2021-10-20 | 1 | -1/+1 |
| | |||||
* | Use the ExecutorStats type directly. | Henning Baldersheim | 2021-10-19 | 7 | -17/+15 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 5 | -5/+5 |
| | |||||
* | Update 2018 copyright notices. | gjoranv | 2021-10-07 | 2 | -2/+2 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 244 | -244/+244 |
| |