All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Bandan Das <bsd@redhat.com>
Cc: Hardik H Bagdi <hbagdi1@binghamton.edu>,
	kvm@vger.kernel.org, Igor Mammedov <imammedo@redhat.com>
Subject: Re: KVM_MAX_VCPU hard limit of 255 on x86
Date: Mon, 4 Apr 2016 17:17:19 +0200	[thread overview]
Message-ID: <20160404151719.GA21537@potion.brq.redhat.com> (raw)
In-Reply-To: <jpgd1q9q9j8.fsf@linux.bootlegged.copy>

2016-04-01 17:55-0400, Bandan Das:
> Hardik H Bagdi <hbagdi1@binghamton.edu> writes:
>> Hello,
>>
>> For research, I am experimenting with increasing the number of VCPUs
>> in the guest OS.
>> I can increase the number of VCPUs till 255 in the guest OS but more
>> than that results in the following error-
> 
> Radim (Cced) might have more info but the short answer is that you
> can't just simply increase the number. For >255, you need x2apic
> with interrupt remapping which is still missing. 

Yes, interrupt remapping is being developed for the split irqchip.
You could hack around that (we chose not to) so another blocker is that
QEMU cannot handle more than 255 VCPUs, mainly because of its AML
generator.  Igor (Cc'd) knows more about the status of ACPI.

(And firmware doesn't implement x2APIC, and other minor problems ...)

All pieces should be in place within half a year, though.
The next hard limit is ~2^20 or ~2^32.

  reply	other threads:[~2016-04-04 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 21:19 KVM_MAX_VCPU hard limit of 255 on x86 Hardik H Bagdi
2016-04-01 21:55 ` Bandan Das
2016-04-04 15:17   ` Radim Krčmář [this message]
2016-04-04 19:14     ` Igor Mammedov
2016-04-04 20:34       ` Radim Krčmář
2016-04-05 11:20         ` Igor Mammedov
2016-04-05 14:01           ` Radim Krčmář

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=20160404151719.GA21537@potion.brq.redhat.com \
    --to=rkrcmar@redhat.com \
    --cc=bsd@redhat.com \
    --cc=hbagdi1@binghamton.edu \
    --cc=imammedo@redhat.com \
    --cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.