Skip to content

Commit

Permalink
cpuallocator: add cache group based allocation.
Browse files Browse the repository at this point in the history
Implement cache group based CPU allocation. When a request
makes this possible, try to satisfy it by allocating one or
more cache groups. Always prefer using fully idle cache groups
first, fragmenting idle cache groups by partial allocation
second, and only resort to using fragmented groups when the
allocation cannot be satisfied in any other way. When doing
partial allocations, do it in a hyperthreading aware fashion,
taking full physical cores whenever possible.

Note:
  This allocation algorithm is a modified version of the
  cluster based allocator. We might want to try and combine
  them into a single group based allocator in the future.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Jun 26, 2024
1 parent 9c66a13 commit 06607a0
Showing 1 changed file with 679 additions and 1 deletion.
Loading

0 comments on commit 06607a0

Please sign in to comment.