From: Kevin O'Connor <kevin@koconnor.net>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"quintela@redhat.com" <quintela@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"seabios@seabios.org" <seabios@seabios.org>,
"Xulei (Stone)" <stone.xulei@huawei.com>,
"jasowang@redhat.com" <jasowang@redhat.com>,
"Huangweidong (C)" <weidong.huang@huawei.com>,
"Wulizhen (Pss)" <pss.wulizhen@huawei.com>
Subject: Re: [Qemu-devel] [Question] SeaBIOS: cannot boot oracle linux if increase the maximum size of permanent high memory area
Date: Wed, 10 May 2017 15:16:14 -0400 [thread overview]
Message-ID: <20170510191614.GA8979@morn.lan> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020DA2650C5@DGGEMA505-MBX.china.huawei.com>
On Fri, May 05, 2017 at 10:49:05AM +0000, Gonglei (Arei) wrote:
> Hi guys,
>
> Currently my workmate encountered an issues in the testing environment:
>
> A letter from him:
>
> In order to boot a BIG vm (with 4T mem, 255 vCPUs, 60 virtio-scsi
> disk...), i have to increase the BUILD_MAX_HIGHTABLE to 512KB. But,
> then i found i can not boot a specific VM anymore (oracle linux 6.7
> 64bits with kernel 3.8.13, 2G mem). It seems be related with the
> unused high ram given VM back by SeaBios (maybe also related to the
> memory align). I've tested if setting giveback memory 64KB
> alignment other than 4KB, SeaBios with 512KB BUILD_MAX_HIGHTABLE can
> boot the specific VM. But , i don't know the reason...
>
> As far as i know, if seabios does not give back the unused ZoneHigh
> memory seems will not trigger any problems but just waste only a
> little memory ,right?
>
> Can you tell me what's the worst effect if i apply the following patch?
>
> Does it influence live migration?
The only downside I'm aware of is that it would waste a small amount
of ram.
I'm surprised that "oracle linux" has this issue. I can only see a
few reasons for it to fail there - a "use after free" bug in seabios,
oracle linux expects the ram to be zero'd, or oracle linux is
expecting the e820 map to have an alignment larger than page size.
The first seems unlikely as "permanent high ram" is rarely ever free'd
in seabios. The second also seems unlikely.
-Kevin
prev parent reply other threads:[~2017-05-10 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 10:49 [Qemu-devel] [Question] SeaBIOS: cannot boot oracle linux if increase the maximum size of permanent high memory area Gonglei (Arei)
2017-05-10 19:16 ` Kevin O'Connor [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=20170510191614.GA8979@morn.lan \
--to=kevin@koconnor.net \
--cc=arei.gonglei@huawei.com \
--cc=dgilbert@redhat.com \
--cc=jasowang@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pss.wulizhen@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=seabios@seabios.org \
--cc=stone.xulei@huawei.com \
--cc=weidong.huang@huawei.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;
as well as URLs for NNTP newsgroup(s).