Large pages; page coloring
merritt.alex at gmail.com
Tue Apr 14 10:10:49 PDT 2015
I am interested in learning whether Dragonfly supports large pages (2M and
1G), and secondly, what mechanisms exist for applications to have influence
over the colors used to assign the physical pages backing their memory,
specifically for private anonymous mmap'd regions. Regarding coloring, I'd
like to be able to evaluate applications with a small number of colors
(restricting their access to the last-level cache) and compare their
performance to more/all colors available. I am initially looking to work in
hacks to achieve this to perform some preliminary experiments, perhaps by
way of a kernel module or something.
A cursory search of the code showed no hints at support for large pages,
but I did find there are more internal functions governing the allocation
of pages based on colors, compared to FreeBSD (10.1). In FreeBSD it seems
colors are only considered for regions which are added that are backed by a
file, but I am not 100% certain.
I appreciate any help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernel