Provable multicore schedulers with Ipanema: application to work conservation

B Lepers, R Gouicem, D Carver, JP Lozi… - Proceedings of the …, 2020 - dl.acm.org
B Lepers, R Gouicem, D Carver, JP Lozi, N Palix, MV Aponte, W Zwaenepoel, J Sopena
Proceedings of the Fifteenth European Conference on Computer Systems, 2020dl.acm.org
Recent research and bug reports have shown that work conservation, the property that a
core is idle only if no other core is overloaded, is not guaranteed by Linux's CFS or
FreeBSD's ULE multicore schedulers. Indeed, multicore schedulers are challenging to
specify and verify: they must operate under stringent performance requirements, while
handling very large numbers of concurrent operations on threads. As a consequence, the
verification of correctness properties of schedulers has not yet been considered. In this …
Recent research and bug reports have shown that work conservation, the property that a core is idle only if no other core is overloaded, is not guaranteed by Linux's CFS or FreeBSD's ULE multicore schedulers. Indeed, multicore schedulers are challenging to specify and verify: they must operate under stringent performance requirements, while handling very large numbers of concurrent operations on threads. As a consequence, the verification of correctness properties of schedulers has not yet been considered.
In this paper, we propose an approach, based on a domain-specific language and theorem provers, for developing schedulers with provable properties. We introduce the notion of concurrent work conservation (CWC), a relaxed definition of work conservation that can be achieved in a concurrent system where threads can be created, unblocked and blocked concurrently with other scheduling events. We implement several scheduling policies, inspired by CFS and ULE. We show that our schedulers obtain the same level of performance as production schedulers, while concurrent work conservation is satisfied.
ACM Digital Library
以上显示的是最相近的搜索结果。 查看全部搜索结果