• Re: RAM huge pages?

    From Andreas Kempe@21:1/5 to All on Tue Jan 2 23:20:49 2024
    Den 2024-01-02 skrev David Chmelik <dchmelik@gmail.com>:
    Can one set 1280 2MB and allow 1GB RAM huge pages? There's a bash script that does on GNU/Linux (by the xmr-stak-rx programmer) but this expects
    Linux kernel software/settings not present on *BSD...

    FreeBSD's virtual memory system automatically merges smaller pages
    into larger pages if appropriate. This is done automatically and you
    don't have to change any settings. You can find a counter of how many promotions have happened in the vm.pmap.pde.promotions sysctl.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kempe@21:1/5 to All on Wed Jan 3 12:35:19 2024
    Den 2024-01-03 skrev David Chmelik <dchmelik@gmail.com>:

    Great... however, I installed ports/net-p2p/xmrig which says 1GB huge-
    pages are unavailable... is it inaccurate or I should bug-report to xmrig computer/software programmer/developer it's not programmed right for
    FreeBSD UNIX?

    As far as I know, FreeBSD's max page size is 2 MB. I think 1 GB pages
    are a Linux specific thing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kempe@21:1/5 to All on Fri Jan 5 00:09:59 2024
    Den 2024-01-04 skrev David Chmelik <dchmelik@gmail.com>:
    On Wed, 3 Jan 2024 12:35:19 -0000 (UTC), Andreas Kempe wrote:
    As far as I know, FreeBSD's max page size is 2 MB. I think 1 GB pages
    are a Linux specific thing.

    I read they might still exist as 'superpages'?

    AFAIK, super pages are the 2 MB pages and they are the largest
    continuous allocations FreeBSD makes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)