superpages in FreeBSD (netmap related) ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Mon, 1 Jun 2015 11:34:00 +0200
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)
-----------------------------------------+-------------------------------
Received on Mon Jun 01 2015 - 07:34:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC