Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Give your very best today. Heaven knows it's little enough.


comp / comp.unix.bsd.freebsd.misc / RAM huge pages?

SubjectAuthor
* RAM huge pages?David Chmelik
`* Re: RAM huge pages?Andreas Kempe
 `* Re: RAM huge pages?David Chmelik
  `* Re: RAM huge pages?Andreas Kempe
   `* Re: RAM huge pages?David Chmelik
    `- Re: RAM huge pages?Andreas Kempe

1
Subject: RAM huge pages?
From: David Chmelik
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Tue, 2 Jan 2024 06:44 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dchmelik@gmail.com (David Chmelik)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: RAM huge pages?
Date: Tue, 2 Jan 2024 06:44:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 3
Message-ID: <un0bck$2culs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 2 Jan 2024 06:44:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c0260a7524c4c60e125ff5cca54924";
logging-data="2521788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+GMdf2J3TO1G+LSTGj/HQKLe2/pse2Nc="
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:e+fgpTbFJMvSfwU3rsG8aZa/xx0=
View all headers

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...

Subject: Re: RAM huge pages?
From: Andreas Kempe
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Lysator ACS
Date: Tue, 2 Jan 2024 23:20 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nyheter.lysator.liu.se!.POSTED!not-for-mail
From: kempe@lysator.liu.se (Andreas Kempe)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: RAM huge pages?
Date: Tue, 2 Jan 2024 23:20:49 -0000 (UTC)
Organization: Lysator ACS
Message-ID: <un25oh$1c4a$2@nyheter.lysator.liu.se>
References: <un0bck$2culs$1@dont-email.me>
Injection-Date: Tue, 2 Jan 2024 23:20:49 -0000 (UTC)
Injection-Info: nyheter.lysator.liu.se; posting-account="kempe";
logging-data="45194"; mail-complaints-to="newsmaster@lysator.liu.se"
User-Agent: slrn/1.0.3 (FreeBSD)
View all headers

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.

Subject: Re: RAM huge pages?
From: David Chmelik
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 3 Jan 2024 02:29 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dchmelik@gmail.com (David Chmelik)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: RAM huge pages?
Date: Wed, 3 Jan 2024 02:29:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <un2gr6$2jbr4$2@dont-email.me>
References: <un0bck$2culs$1@dont-email.me>
<un25oh$1c4a$2@nyheter.lysator.liu.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 3 Jan 2024 02:29:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bd9bf1451709bad4477371f022f0fd88";
logging-data="2731876"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XIGvnhJO8i9YIIqXhOWr3/8PoA4vgRYo="
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:O3Vs5dccOuiJiiyzyH72lciEmec=
View all headers

On Tue, 2 Jan 2024 23:20:49 -0000 (UTC), Andreas Kempe wrote:

> 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.

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?

Subject: Re: RAM huge pages?
From: Andreas Kempe
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Lysator ACS
Date: Wed, 3 Jan 2024 12:35 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!news.gegeweb.eu!gegeweb.org!pasdenom.info!nyheter.lysator.liu.se!.POSTED!not-for-mail
From: kempe@lysator.liu.se (Andreas Kempe)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: RAM huge pages?
Date: Wed, 3 Jan 2024 12:35:19 -0000 (UTC)
Organization: Lysator ACS
Message-ID: <un3ka7$1o8o$1@nyheter.lysator.liu.se>
References: <un0bck$2culs$1@dont-email.me>
<un25oh$1c4a$2@nyheter.lysator.liu.se> <un2gr6$2jbr4$2@dont-email.me>
Injection-Date: Wed, 3 Jan 2024 12:35:19 -0000 (UTC)
Injection-Info: nyheter.lysator.liu.se; posting-account="kempe";
logging-data="57624"; mail-complaints-to="newsmaster@lysator.liu.se"
User-Agent: slrn/1.0.3 (FreeBSD)
View all headers

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.

Subject: Re: RAM huge pages?
From: David Chmelik
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Thu, 4 Jan 2024 04:31 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dchmelik@gmail.com (David Chmelik)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: RAM huge pages?
Date: Thu, 4 Jan 2024 04:31:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <un5cb4$37k74$1@dont-email.me>
References: <un0bck$2culs$1@dont-email.me>
<un25oh$1c4a$2@nyheter.lysator.liu.se> <un2gr6$2jbr4$2@dont-email.me>
<un3ka7$1o8o$1@nyheter.lysator.liu.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 4 Jan 2024 04:31:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a9271ee7c9563e81f091b4d8682ceb26";
logging-data="3395812"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/18Jf4eStf7q5pbsxre3YjJryzOn6Wi08="
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:KYKwVtz+mJnl+CkenPQjGAf4eKU=
View all headers

On Wed, 3 Jan 2024 12:35:19 -0000 (UTC), Andreas Kempe wrote:

> 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.

I read they might still exist as 'superpages'?

Subject: Re: RAM huge pages?
From: Andreas Kempe
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Lysator ACS
Date: Fri, 5 Jan 2024 00:09 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nyheter.lysator.liu.se!.POSTED!not-for-mail
From: kempe@lysator.liu.se (Andreas Kempe)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: RAM huge pages?
Date: Fri, 5 Jan 2024 00:09:59 -0000 (UTC)
Organization: Lysator ACS
Message-ID: <un7hcn$2voq$1@nyheter.lysator.liu.se>
References: <un0bck$2culs$1@dont-email.me>
<un25oh$1c4a$2@nyheter.lysator.liu.se> <un2gr6$2jbr4$2@dont-email.me>
<un3ka7$1o8o$1@nyheter.lysator.liu.se> <un5cb4$37k74$1@dont-email.me>
Injection-Date: Fri, 5 Jan 2024 00:09:59 -0000 (UTC)
Injection-Info: nyheter.lysator.liu.se; posting-account="kempe";
logging-data="98074"; mail-complaints-to="newsmaster@lysator.liu.se"
User-Agent: slrn/1.0.3 (FreeBSD)
View all headers

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.

1

rocksolid light 0.9.8
clearnet tor