qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Yan Vugenfirer <yvugenfi@redhat.com>
To: hangaohuai <hangaohuai@huawei.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts
Date: Thu, 9 Feb 2017 14:17:23 +0200	[thread overview]
Message-ID: <AF60004D-7133-44D1-8A9F-7DB9822D84AF@redhat.com> (raw)
In-Reply-To: <589C099A.9090605@huawei.com>

Hi,

First off all to use more than 64 CPUs on Windows you should use CPU grouping. Each group can contain maximum 64 CPUs. Here is a good article explaining possible configurations:
https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/boot-parameters-to-test-drivers-for-multiple-processor-group-support <https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/boot-parameters-to-test-drivers-for-multiple-processor-group-support> and another one on the grouping subject: https://blogs.technet.microsoft.com/mlucas/2012/03/15/windows-server-and-processor-cores/ <https://blogs.technet.microsoft.com/mlucas/2012/03/15/windows-server-and-processor-cores/>

Regarding the boot failure - it is quite possible that Windows cannot handle more that 64 logical CPUs on one physical CPU. 

Best regards,
Yan.
> On 9 Feb 2017, at 08:18, hangaohuai <hangaohuai@huawei.com> wrote:
> 
> Dear all:
> I try to boot windows2012R2 (more than 64 cores)on kvm platform with hyper-v on*<relaxed state='on'/>*.
> the guest halts on the starting time.
> Also tested in these cases:
> <topology sockets='64' cores='1' threads='1'/>  - boot sucess
> <topology sockets='1' cores='64' threads='1'/>  - boot sucess
> <topology sockets='1' cores='1' threads='64'/>  - boot sucess
> <topology sockets='1' cores='68' threads='1'/>  - boot failed
> <topology sockets='68' cores='1' threads='1'/>  - boot sucess(in Guest we can found 64)
> <topology sockets='1' cores='1' threads='68'/>  - boot failed
> 
> Environment:
> GUEST:
>  windows2012R2
> HOST:
>    kernel version:4.10.0-rc4
>    QEMU version:QEMU emulator version 2.8.50 (v2.8.0-664-gd1c82f7-dirty)
> part of GuestXML:
>  <vcpu placement='static'>68</vcpu>
>  <resource>
>    <partition>/machine</partition>
>  </resource>
>  <os>
>    <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
>    <boot dev='hd'/>
>  </os>
>  <features>
>    <acpi/>
>    <apic/>
>    <pae/>
>    <hyperv>
>      <relaxed state='on'/>
>    </hyperv>
>  </features>
>  <cpu>
>    <topology sockets='1' cores='68' threads='1'/>
>  </cpu>
> 
> //////////////////////////////////
> debug info:
> virsh qemu-monitor-command win2012 --hmp "info cpus"
>  CPU #61: pc=0xfffff8031296a21c thread_id=21410
>  CPU #62: pc=0xfffff8031296a21c thread_id=21411
>  CPU #63: pc=0xfffff8031296a21c thread_id=21414
>  CPU #64: pc=0x00000000000fd31c (halted) thread_id=21415
>  CPU #65: pc=0x00000000000fd31c (halted) thread_id=21416
>  CPU #66: pc=0x00000000000fd31c (halted) thread_id=21417
>  CPU #67: pc=0x00000000000fd31c (halted) thread_id=21418
> 
> 
> Any suggestions?
> 
> Thanks a lot.
> 
> Gaohuai Han
> 
> 

  reply	other threads:[~2017-02-09 12:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09  6:18 [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts hangaohuai
2017-02-09 12:17 ` Yan Vugenfirer [this message]
2017-02-10  9:31   ` Gonglei (Arei)
2017-02-10 12:01     ` Paolo Bonzini
2017-02-11 10:12       ` Gonglei (Arei)
2017-02-11 15:39         ` Paolo Bonzini
2017-02-13 10:05           ` Vadim Rozenfeld
2017-02-16  1:31             ` Gonglei (Arei)
2017-02-16  6:26               ` Vadim Rozenfeld
2017-02-17 11:21               ` Paolo Bonzini
2017-02-20  9:19                 ` Gonglei (Arei)
2017-02-20 11:06                   ` Paolo Bonzini
2017-02-20 11:54                     ` Gonglei (Arei)
2017-02-20 12:57                       ` Paolo Bonzini
2017-02-20 13:18                         ` Gonglei (Arei)
2017-09-05  6:33                           ` Vadim Rozenfeld
2017-09-05  7:51                             ` Gonglei (Arei)

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=AF60004D-7133-44D1-8A9F-7DB9822D84AF@redhat.com \
    --to=yvugenfi@redhat.com \
    --cc=hangaohuai@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).