Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2026 02:41:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 292265] shm_create_largepage() does not appear to allocate large pages
Message-ID:  <bug-292265-227-glQoLCI1BJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-292265-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292265

--- Comment #11 from Stefan Roesch <shr@devkernel.io> ---
Once the test program was running, I waited until it reached the pause
statement, I queried the number of current superpages:

[shr@freebsd-dev ~]$ sysctl -a | grep vm | grep large
vm.pmap.large_map_pml4_entries: 8
vm.largepages.1G: 0
vm.largepages.2M: 16
vm.largepages.reclaim_tries: 1

The same can also be achieved with:

dtrace -n 'fbt:kernel:shm_largepage*:entry { @k[probefunc] = count(); }' -c
./test-sp

So the program is using superpages. 

I guess its time to look into procstat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292265-227-glQoLCI1BJ>