superpages in FreeBSD (netmap related) ?
Luigi Rizzo
rizzo at iet.unipi.it
Mon Jun 1 09:34:03 UTC 2015
Hi,
i was wondering how we can improve the netmap memory allocator
to make use of 2M pages (through the page promotion trick).
in netmap, when we allocate packet buffers,
we issue requests for 4k blocks to contigmalloc(),
and i have no idea if there is a way to improve the
chance that the memory is mapped to 2M pages ?
cheers
luigi
--
-----------------------------------------+-------------------------------
Prof. Luigi RIZZO, rizzo at iet.unipi.it . Dip. di Ing. dell'Informazione
http://www.iet.unipi.it/~luigi/ . Universita` di Pisa
TEL +39-050-2217533 . via Diotisalvi 2
Mobile +39-338-6809875 . 56122 PISA (Italy)
-----------------------------------------+-------------------------------
More information about the freebsd-current
mailing list