linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>,
	"willy@infradead.org" <willy@infradead.org>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: kernel 5.10.x Reserves much more RAM than 5.11.0, 8 MB vs 20 MB
Date: Wed, 27 Oct 2021 16:17:59 +0200	[thread overview]
Message-ID: <1b0ee8f1-d7c9-6bd3-63e8-bfdbacfbc5d8@redhat.com> (raw)
In-Reply-To: <e0f571759d37e893fe2b8c6d946c84b90302b3c6.camel@infinera.com>

On 27.10.21 15:41, Joakim Tjernlund wrote:
> On Wed, 2021-10-27 at 14:35 +0100, Matthew Wilcox wrote:
>> On Wed, Oct 27, 2021 at 12:48:13PM +0000, Joakim Tjernlund wrote:
>>> Linux version 5.11.0
>>> Memory: 24052K/32768K available (3520K kernel code, 684K rwdata, 548K rodata, 320K init, 245K bss, 8716K reserved, 0K cma-reserved)
>>>
>>> Versus:
>>>
>>> Linux version 5.10.75
>>> Memory: 11836K/32768K available (3518K kernel code, 684K rwdata, 540K rodata, 320K init, 244K bss, 20932K reserved, 0K cma-reserved)
>>
>> ... you're complaining that we reduced the amount of reserved ram?
>> You know that 5.11.0 is more recent than 5.10.75, right?
> 
> Sort of :)
> No kernel I have used earlier has reserved so much RAM in the past so I figure that
> 20 MB in 5.10 is a regression.
> 
> Reason for using 5.10 is that it is an LTS kernel that will be around for quite a while.

Do you have any comparison against older v5.10 kernels -- IOW, is it a
regression within the LTS kernels or has it "simply been optimized"
starting with v5.11 ?

(a lot of things count as reserved, including the initial ramdisk until
eventually freed, but I assume your setup really just exchanges the kernel)

-- 
Thanks,

David / dhildenb



  reply	other threads:[~2021-10-27 14:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 12:48 Joakim Tjernlund
2021-10-27 12:57 ` David Hildenbrand
2021-10-27 13:20   ` Joakim Tjernlund
2021-10-27 13:35 ` Matthew Wilcox
2021-10-27 13:41   ` Joakim Tjernlund
2021-10-27 14:17     ` David Hildenbrand [this message]
2021-10-27 14:50       ` Joakim Tjernlund
2021-10-27 17:12 ` Yang Shi
2021-10-28  9:55   ` Joakim Tjernlund
2021-10-28 21:52     ` Yang Shi

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=1b0ee8f1-d7c9-6bd3-63e8-bfdbacfbc5d8@redhat.com \
    --to=david@redhat.com \
    --cc=Joakim.Tjernlund@infinera.com \
    --cc=linux-mm@kvack.org \
    --cc=willy@infradead.org \
    /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