This change introduces the packed core allocation strategy that Valmon
and I worked on over the summer. The idea is to keep cores allocated
to the same process as tightly packed as possible, while keeping cores
allocated to different processes as far away from each other as
possible.
The existing FCFS core allocation strategy is still the default, but
the new packed strategy can be selected at compile time via a config
variable (CONFIG_COREALLOC_PACKED).
The plan is to keep the existing strategy as the default for now, but
migrate to the new strategy once we're able to concretely measure the
benefits of it.
The changes in this request can be viewed online at:
https://github.com/brho/akaros/compare/abe793d...0780d03
The following changes since commit abe793d7c7507cbd6732ed2d794916ae295523ad:
Added test for devarch MSR file (2015-11-24 15:39:05 -0500)
are available in the git repository at:
[email protected]:klueska/akaros corealloc-packed
for you to fetch changes up to 0780d0382aad2350ef3106761d41383b0a11908b:
Add implementation of packed core alloc strategy (2015-11-25 06:27:07 -0800)
----------------------------------------------------------------
Kevin Klues (1):
Add implementation of packed core alloc strategy
Kconfig | 8 +
kern/include/corealloc_packed.h | 46 ++++
kern/include/corerequest.h | 2 +
kern/src/Kbuild | 1 +
kern/src/corealloc_packed.c | 508 ++++++++++++++++++++++++++++++++++++++++
kern/src/schedule.c | 1 +
6 files changed, 566 insertions(+)
create mode 100644 kern/include/corealloc_packed.h
create mode 100644 kern/src/corealloc_packed.c
--
You received this message because you are subscribed to the Google Groups
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.