← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1587091] Re: Extended statistics from balloon for proper memory management

 

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Wily)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: linux (Ubuntu Vivid)
       Status: New => In Progress

** Changed in: linux (Ubuntu Wily)
       Status: New => In Progress

** Changed in: linux (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Vivid)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Wily)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Trusty)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Changed in: linux (Ubuntu Vivid)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Changed in: linux (Ubuntu Wily)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Also affects: linux-lts-utopic (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux-lts-utopic (Ubuntu Trusty)

** No longer affects: linux-lts-utopic (Ubuntu Vivid)

** No longer affects: linux-lts-utopic (Ubuntu Wily)

** No longer affects: linux-lts-utopic (Ubuntu Xenial)

** No longer affects: linux-lts-utopic (Ubuntu Yakkety)

** Changed in: linux-lts-utopic (Ubuntu)
       Status: New => In Progress

** Changed in: linux-lts-utopic (Ubuntu)
   Importance: Undecided => High

** Changed in: linux-lts-utopic (Ubuntu)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1587091

Title:
  Extended statistics from balloon for proper memory management

Status in linux package in Ubuntu:
  Fix Committed
Status in linux-lts-utopic package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Vivid:
  In Progress
Status in linux source package in Wily:
  In Progress
Status in linux source package in Xenial:
  Fix Committed
Status in linux source package in Yakkety:
  Fix Committed

Bug description:
  There is QEMU/KVM and a Linux OS running inside the guest. 
  Inside the Linux guest a balloon consumes memory in accordance with 
  commands performed on the host side in QEMU and reports some statistics through memstat structure.
  For the Linux guest reported “free” value doesn’t describe the guest memory pressure at all.
  The provided patch set in Linux kernel extends the stat with available field.

  The problem is addressed in mainstream Linux with the following
  patchset:

  commit
  5057dcd0f1aaad57e07e728ba20a99e205c6b9de
  Author: Igor Redko <redkoi@xxxxxxxxxxxxx>
  Date: Thu Mar 17 15:09:34 2016 -0700
  virtio_balloon: export 'available' memory to balloon statistics

  Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
  statistics protocol, corresponding to 'Available' in /proc/meminfo.

  It indicates to the hypervisor how big the balloon can be inflated
  without pushing the guest system to swap.

  Signed-off-by: Igor Redko <redkoi@xxxxxxxxxxxxx>
  Signed-off-by: Denis V. Lunev <den@xxxxxxxxxx>
  Reviewed-by: Roman Kagan <rkagan@xxxxxxxxxxxxx>
  Cc: Michael S. Tsirkin <mst@xxxxxxxxxx>
  Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
  Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

  
  commit d02bd27bd33dd7e8d22594cd568b81be0cb584cd
  Author: Igor Redko <redkoi@xxxxxxxxxxxxx>
  Date: Thu Mar 17 15:09:34 2016 -0700
  mm/page_alloc.c: calculate 'available' memory in a separate function

  Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
  statistics protocol, corresponding to 'Available' in /proc/meminfo.

  It indicates to the hypervisor how big the balloon can be inflated
  without pushing the guest system to swap.  This metric would be very
  useful in VM orchestration software to improve memory management of
  different VMs under overcommit.

  This patch (of 2):

  Factor out calculation of the available memory counter into a separate
  exportable function, in order to be able to use it in other parts of the
  kernel.

  In particular, it appears a relevant metric to report to the hypervisor
  via virtio-balloon statistics interface (in a followup patch).

  Signed-off-by: Igor Redko <redkoi@xxxxxxxxxxxxx>
  Signed-off-by: Denis V. Lunev <den@xxxxxxxxxx>
  Reviewed-by: Roman Kagan <rkagan@xxxxxxxxxxxxx>
  Cc: Michael S. Tsirkin <mst@xxxxxxxxxx>
  Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
  Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1587091/+subscriptions