Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-19 | Decoupling loops from threads to allow fixed thread count | Maria Matejka | |
On large configurations, too many threads would spawn with one thread per loop. Therefore, threads may now run multiple loops at once. The thread count is configurable and may be changed during run. All threads are spawned on startup. This change helps with memory bloating. BIRD filters need large temporary memory blocks to store their stack and also memory management keeps its hot page storage per-thread. Known bugs: * Thread autobalancing is not yet implemented. * Low latency loops are executed together with standard loops. | |||
2022-10-05 | Poll errors must also drop a corefile. And we shouldn't run sockets when ↵ | Maria Matejka | |
sockets have changed | |||
2022-10-05 | Fixed previously untested paths in RPKI | Maria Matejka | |
2022-09-21 | Local page allocation | Maria Matejka | |
2022-09-20 | Pipe kick-and-drain packed into a neat structure and functions. | Maria Matejka | |
2022-09-18 | Loop flags: a simple idempotent event announcement mechanism | Maria Matejka | |
2022-09-18 | Cancelling all timers when loop stops | Maria Matejka | |
2022-08-02 | Introducing basic RCU primitives for lock-less shared data structures | Maria Matejka | |
2022-07-28 | Moved the thread starting code to IO loop code | Maria Matejka | |
2022-07-18 | Merge commit '94eb0858' into thread-next | Maria Matejka | |
2021-11-22 | Converting the former BFD loop to a universal IO loop and protocol loop. | Maria Matejka | |
There is a simple universal IO loop, taking care of events, timers and sockets. Primarily, one instance of a protocol should use exactly one IO loop to do all its work, as is now done in BFD. Contrary to previous versions, the loop is now launched and cleaned by the nest/proto.c code, allowing for a protocol to just request its own loop by setting the loop's lock order in config higher than the_bird. It is not supported nor checked if any protocol changed the requested lock order in reconfigure. No protocol should do it at all. | |||
2021-11-22 | Moved BFD IO loop out of BFD as we want to use it as socket-io coroutine | Maria Matejka | |