From: Alexandre Frade <kernel@xanmod.org>
To: "Yu Zhao" <yuzhao@google.com>
Cc: "linux-mm" <linux-mm@kvack.org>,
"Kernel Page Reclaim v2" <page-reclaim@google.com>
Subject: Re: LRU_GEN v2 & v5.12 build issue
Date: Sun, 02 May 2021 18:45:32 -0300 [thread overview]
Message-ID: <1792f0b2e29.d72f70c9807100.8179330337708563324@xanmod.org> (raw)
In-Reply-To: <CAOUHufaNX40-Px2y2PpjUJQ0Y_ef3aB6DyQUQgRXXa+DXX1KDA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
Hi Yu Zhao
CONFIG_MAXSMP=n worked!
The main distros are with CONFIG_MAXSMP=y. It may not make sense on desktops, even for an amd threadripper, but in datacenter / HPC, for example, it is interesting to add maxsmp compatibility that virtually removes the n cpus limit.
Thanks,
Alexandre Frade
---- Ativado Sáb, 01 mai 2021 23:45:11 -0300 Yu Zhao <yuzhao@google.com> escreveu ----
On Sat, May 1, 2021 at 8:39 PM Yu Zhao <mailto:yuzhao@google.com> wrote:
>
> On Sat, May 1, 2021 at 8:31 PM Alexandre Frade <mailto:kernel@xanmod.org> wrote:
> >
> > Dear Yu Zhao,
> >
> > I don't know if it's a known issue with the 5.12 kernel released [9f4ad9e]:
> >
> > LRU_GEN v2 & v5.12 final:
>
> Hi Alexandre,
>
> I think I hit this problem with Ubuntu too. Does your config include
> the following?
> CONFIG_MAXSMP=y
> CONFIG_NODES_SHIFT=10
> CONFIG_NR_CPUS=8192
> If so, then it's the same problem: there are no spare bits left in
> page->flags. Disabling
> CONFIG_MAXSMP should fix it, unless you really want to use 8192 CPUs
> and 1024 NUMA nodes :)
>
> Please let me know. Thanks!
Sorry I forgot to clarify that this option should be disabled
regardless whether you want to use the multigenerational lru or not.
This option is for debugging and will bring unnecessary memory
overhead to production systems.
[-- Attachment #2: Type: text/html, Size: 2557 bytes --]
prev parent reply other threads:[~2021-05-02 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-02 2:31 Alexandre Frade
2021-05-02 2:39 ` Yu Zhao
2021-05-02 2:45 ` Yu Zhao
2021-05-02 21:45 ` Alexandre Frade [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1792f0b2e29.d72f70c9807100.8179330337708563324@xanmod.org \
--to=kernel@xanmod.org \
--cc=linux-mm@kvack.org \
--cc=page-reclaim@google.com \
--cc=yuzhao@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox