Large pages; page coloring
Alex Merritt
merritt.alex at gmail.com
Tue Apr 14 10:10:49 PDT 2015
Hello!
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!
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20150414/1b293ddd/attachment.html>
More information about the Kernel
mailing list