linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Alter steal time reporting in KVM
@ 2012-11-26 20:36 Michael Wolf
  2012-11-26 20:36 ` [PATCH 1/5] Alter the amount of steal time reported by the guest Michael Wolf
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Michael Wolf @ 2012-11-26 20:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: riel, kvm, peterz, mtosatti, glommer, mingo

In the case of where you have a system that is running in a
capped or overcommitted environment the user may see steal time
being reported in accounting tools such as top or vmstat.  This can
cause confusion for the end user.  To ease the confusion this patch set
adds the idea of consigned (expected steal) time.  The host will separate
the consigned time from the steal time.  The consignment limit passed to the
host will be the amount of steal time expected within a fixed period of
time.  Any other steal time accruing during that period will show as the
traditional steal time.

---

Michael Wolf (5):
      Alter the amount of steal time reported by the guest.
      Expand the steal time msr to also contain the consigned time.
      Add the code to send the consigned time from the host to the guest
      Add a timer to allow the separation of consigned from steal time.
      Add an ioctl to communicate the consign limit to the host.


 arch/x86/include/asm/kvm_host.h       |   11 +++++++
 arch/x86/include/asm/kvm_para.h       |    3 +-
 arch/x86/include/asm/paravirt.h       |    4 +--
 arch/x86/include/asm/paravirt_types.h |    2 +
 arch/x86/kernel/kvm.c                 |    8 ++---
 arch/x86/kernel/paravirt.c            |    4 +--
 arch/x86/kvm/x86.c                    |   50 ++++++++++++++++++++++++++++++++-
 fs/proc/stat.c                        |    9 +++++-
 include/linux/kernel_stat.h           |    2 +
 include/linux/kvm_host.h              |    2 +
 include/uapi/linux/kvm.h              |    2 +
 kernel/sched/core.c                   |   10 ++++++-
 kernel/sched/cputime.c                |   21 +++++++++++++-
 kernel/sched/sched.h                  |    2 +
 virt/kvm/kvm_main.c                   |    7 +++++
 15 files changed, 120 insertions(+), 17 deletions(-)

-- 
Signature


^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/5] Alter stealtime reporting in KVM
@ 2012-11-26 21:05 Michael Wolf
  2012-11-26 21:05 ` [PATCH 3/5] Add the code to send the consigned time from the host to the guest Michael Wolf
  0 siblings, 1 reply; 21+ messages in thread
From: Michael Wolf @ 2012-11-26 21:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: riel, gleb, kvm, peterz, mtosatti, glommer, mingo

In the case of where you have a system that is running in a
capped or overcommitted environment the user may see steal time
being reported in accounting tools such as top or vmstat.  This can
cause confusion for the end user.  To ease the confusion this patch set
adds the idea of consigned (expected steal) time.  The host will separate
the consigned time from the steal time.  The consignment limit passed to the
host will be the amount of steal time expected within a fixed period of
time.  Any other steal time accruing during that period will show as the
traditional steal time.

---

Michael Wolf (5):
      Alter the amount of steal time reported by the guest.
      Expand the steal time msr to also contain the consigned time.
      Add the code to send the consigned time from the host to the guest
      Add a timer to allow the separation of consigned from steal time.
      Add an ioctl to communicate the consign limit to the host.


 CREDITS                                            |    5 
 Documentation/arm64/memory.txt                     |   12 
 Documentation/cgroups/memory.txt                   |    4 
 .../devicetree/bindings/net/mdio-gpio.txt          |    9 
 Documentation/filesystems/proc.txt                 |   16 
 Documentation/hwmon/fam15h_power                   |    2 
 Documentation/kernel-parameters.txt                |   20 
 Documentation/networking/netdev-features.txt       |    2 
 Documentation/scheduler/numa-problem.txt           |   20 
 MAINTAINERS                                        |   87 +
 Makefile                                           |    2 
 arch/alpha/kernel/osf_sys.c                        |    6 
 arch/arm/boot/Makefile                             |   10 
 arch/arm/boot/dts/tegra30.dtsi                     |    4 
 arch/arm/include/asm/io.h                          |    4 
 arch/arm/include/asm/sched_clock.h                 |    2 
 arch/arm/include/asm/vfpmacros.h                   |   12 
 arch/arm/include/uapi/asm/hwcap.h                  |    3 
 arch/arm/kernel/sched_clock.c                      |   18 
 arch/arm/mach-at91/at91rm9200_devices.c            |    2 
 arch/arm/mach-at91/at91sam9260_devices.c           |    2 
 arch/arm/mach-at91/at91sam9261_devices.c           |    2 
 arch/arm/mach-at91/at91sam9263_devices.c           |    2 
 arch/arm/mach-at91/at91sam9g45_devices.c           |   12 
 arch/arm/mach-davinci/dm644x.c                     |    3 
 arch/arm/mach-highbank/system.c                    |    3 
 arch/arm/mach-imx/clk-gate2.c                      |    2 
 arch/arm/mach-imx/ehci-imx25.c                     |    2 
 arch/arm/mach-imx/ehci-imx35.c                     |    2 
 arch/arm/mach-omap2/board-igep0020.c               |    5 
 arch/arm/mach-omap2/clockdomains44xx_data.c        |    2 
 arch/arm/mach-omap2/devices.c                      |   79 +
 arch/arm/mach-omap2/omap_hwmod.c                   |   63 +
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |   36 
 arch/arm/mach-omap2/twl-common.c                   |    3 
 arch/arm/mach-omap2/vc.c                           |    2 
 arch/arm/mach-pxa/hx4700.c                         |    8 
 arch/arm/mach-pxa/spitz_pm.c                       |    8 
 arch/arm/mm/alignment.c                            |    2 
 arch/arm/plat-omap/include/plat/omap_hwmod.h       |    6 
 arch/arm/tools/Makefile                            |    2 
 arch/arm/vfp/vfpmodule.c                           |    9 
 arch/arm/xen/enlighten.c                           |   11 
 arch/arm/xen/hypercall.S                           |   14 
 arch/arm64/Kconfig                                 |    1 
 arch/arm64/include/asm/elf.h                       |    5 
 arch/arm64/include/asm/fpsimd.h                    |    5 
 arch/arm64/include/asm/io.h                        |   10 
 arch/arm64/include/asm/pgtable-hwdef.h             |    6 
 arch/arm64/include/asm/pgtable.h                   |   40 -
 arch/arm64/include/asm/processor.h                 |    2 
 arch/arm64/include/asm/unistd.h                    |    1 
 arch/arm64/kernel/perf_event.c                     |   10 
 arch/arm64/kernel/process.c                        |   18 
 arch/arm64/kernel/smp.c                            |    3 
 arch/arm64/mm/init.c                               |    2 
 arch/frv/Kconfig                                   |    1 
 arch/frv/boot/Makefile                             |   10 
 arch/frv/include/asm/unistd.h                      |    1 
 arch/frv/kernel/entry.S                            |   28 
 arch/frv/kernel/process.c                          |    5 
 arch/frv/mb93090-mb00/pci-dma-nommu.c              |    1 
 arch/h8300/include/asm/cache.h                     |    3 
 arch/ia64/mm/init.c                                |    1 
 arch/m68k/include/asm/signal.h                     |    6 
 arch/mips/cavium-octeon/executive/cvmx-l2c.c       |  900 ------------
 arch/unicore32/include/asm/byteorder.h             |   24 
 arch/unicore32/include/asm/kvm_para.h              |    1 
 arch/unicore32/include/asm/sigcontext.h            |   29 
 arch/unicore32/include/asm/unistd.h                |   14 
 arch/x86/include/asm/kvm_host.h                    |   11 
 arch/x86/include/asm/kvm_para.h                    |    3 
 arch/x86/include/asm/paravirt.h                    |    4 
 arch/x86/include/asm/paravirt_types.h              |    2 
 arch/x86/kernel/kvm.c                              |    8 
 arch/x86/kernel/paravirt.c                         |    4 
 arch/x86/kvm/x86.c                                 |   50 +
 fs/proc/stat.c                                     |    9 
 include/linux/kernel_stat.h                        |    2 
 include/linux/kvm_host.h                           |    2 
 include/linux/raid/md_p.h                          |  301 ----
 include/uapi/linux/kvm.h                           |    2 
 kernel/sched/core.c                                |   10 
 kernel/sched/cputime.c                             |   21 
 kernel/sched/sched.h                               |    2 
 tools/perf/builtin-test.c                          | 1559 --------------------
 tools/perf/util/dso-test-data.c                    |  153 --
 tools/perf/util/parse-events-test.c                | 1116 --------------
 tools/testing/selftests/epoll/Makefile             |   11 
 tools/testing/selftests/epoll/test_epoll.c         |  344 ----
 virt/kvm/kvm_main.c                                |    7 
 91 files changed, 574 insertions(+), 4694 deletions(-)
 delete mode 100644 arch/mips/cavium-octeon/executive/cvmx-l2c.c
 delete mode 100644 arch/unicore32/include/asm/byteorder.h
 delete mode 100644 arch/unicore32/include/asm/kvm_para.h
 delete mode 100644 arch/unicore32/include/asm/sigcontext.h
 delete mode 100644 arch/unicore32/include/asm/unistd.h
 delete mode 100644 include/linux/raid/md_p.h
 delete mode 100644 tools/perf/builtin-test.c
 delete mode 100644 tools/perf/util/dso-test-data.c
 delete mode 100644 tools/perf/util/parse-events-test.c
 delete mode 100644 tools/testing/selftests/epoll/Makefile
 delete mode 100644 tools/testing/selftests/epoll/test_epoll.c

-- 
Signature


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-12-07 15:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26 20:36 [PATCH 0/5] Alter steal time reporting in KVM Michael Wolf
2012-11-26 20:36 ` [PATCH 1/5] Alter the amount of steal time reported by the guest Michael Wolf
2012-11-26 20:36 ` [PATCH 2/5] Expand the steal time msr to also contain the consigned time Michael Wolf
2012-11-27 21:03   ` Konrad Rzeszutek Wilk
2012-11-28 15:23     ` Michael Wolf
2012-11-26 20:36 ` [PATCH 3/5] Add the code to send the consigned time from the host to the guest Michael Wolf
2012-11-26 20:37 ` [PATCH 4/5] Add a timer to allow the separation of consigned from steal time Michael Wolf
2012-11-26 20:37 ` [PATCH 5/5] Add an ioctl to communicate the consign limit to the host Michael Wolf
2012-11-27  8:48 ` [PATCH 0/5] Alter steal time reporting in KVM Glauber Costa
2012-11-27 15:10   ` Michael Wolf
2012-11-28  8:45     ` Glauber Costa
2012-11-28 18:44       ` Michael Wolf
2012-11-28 19:16   ` Anthony Liguori
2012-11-27 23:24 ` Marcelo Tosatti
2012-11-28  0:32   ` Marcelo Tosatti
2012-11-28 18:43   ` Michael Wolf
2012-11-28 20:55     ` Glauber Costa
2012-11-29 17:43       ` Michael Wolf
2012-12-05 12:46         ` Glauber Costa
2012-12-07 15:50           ` Michael Wolf
  -- strict thread matches above, loose matches on Subject: below --
2012-11-26 21:05 [PATCH 0/5] Alter stealtime " Michael Wolf
2012-11-26 21:05 ` [PATCH 3/5] Add the code to send the consigned time from the host to the guest Michael Wolf

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).