0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-10 05:08:42 +00:00
bird/sysdep/unix
Maria Matejka 84c298465f Decoupling loops from threads to allow fixed thread count
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.
2023-01-19 11:13:50 +01:00
..
alloc.c Merge remote-tracking branch 'origin/master' into thread-next 2022-11-07 16:52:27 +01:00
config.Y Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
domain.c Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io-loop.c Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
io-loop.h Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
io.c Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
krt.c Merge commit '0f2be469' into thread-next 2022-11-07 09:51:21 +01:00
krt.h Merge commit '534d0a4b' into thread-next 2022-08-05 10:37:53 +02:00
krt.Y Conf: Allowing keyword redefinition 2022-05-04 15:39:21 +02:00
log.c Moved the thread starting code to IO loop code 2022-07-28 19:49:03 +02:00
main.c Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
Makefile Merge commit 'd2c1036a42881d413ec97203ede92a69f8cd218f' into thread-next 2022-09-09 13:15:50 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00