Memory hot plug: increase the number of slots from '32' to '256' (Documentation)

Bug #1666286 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Won't Fix
Undecided
Unassigned

Bug Description

IBM would like to have the following documented wherever appropriate:

---Problem Description---
In Ubuntu 17.04, when trying to increase the number of memory slots from 32 to 256, only 63 slots were available even though 256 slots was specified in the guest xml.

Machine Type = POWER8

Even though 256 slots are supported in QEMU 2.8, distributed with Ubuntu 17.04, there is an implicit limit coming from the vhost backend, limiting the number of max memory slots that are supported.

The work around is to increase the vhost mem slots by reloading the vhost module in the guest:

[root@localhost ~]# modprobe -r vhost
[root@localhost ~]# modprobe vhost max_mem_regions=512
[root@localhost ~]# cat /sys/module/vhost/parameters/max_mem_regions
512

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-151531 severity-medium targetmilestone-inin1704
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → ubuntu-docs (Ubuntu)
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hi!

You filed this bug report against the ubuntu-docs package, which is a basic user documentation for the Ubuntu desktop. To be honest, what you talk about is far above my head, but I doubt that the topic is suitable for ubuntu-docs.

Can you please provide some further information, so we can figure out which kind of docs (if any) might be affected.

Changed in ubuntu-docs (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → nobody
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-02-20 20:12 EDT-------
This is related to KVM guests memory configuration on IBM Power systems.

In the past we documented stuff like this in a wiki [0]. Not sure if Canonical has a more appropriate place to document these restrictions/workarounds.

0. https://wiki.ubuntu.com/ppc64el/uKVM

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Well, there is this section in the official server guide:

https://help.ubuntu.com/lts/serverguide/virtualization.html

I changed this report to the server guide project, so the maintainers of that guide can consider your suggestion. Thanks!

affects: ubuntu-docs (Ubuntu) → serverguide
Changed in serverguide:
status: Incomplete → New
Revision history for this message
Doug Smythies (dsmythies) wrote :

In the Ubuntu Serverguide we do not go into that level of detail. The virtualization chapter is rather basic. I'm going to set this to "won't fix".

Changed in serverguide:
status: New → Won't Fix
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-06-21 09:44 EDT-------
Canonical,

Any updates on this pending documentation?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-06-21 10:33 EDT-------
Ok. I ended documenting this one at https://wiki.ubuntu.com/ppc64el/uKVM .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers