[virtio-dev] Re: [PATCH v2] content: document balloon memory statistics

2018-03-11 Thread Tomáš Golembiovský
On Sat, 10 Mar 2018 00:53:48 +0200 "Michael S. Tsirkin" wrote: > On Thu, Feb 22, 2018 at 01:50:52PM +0100, Tomáš Golembiovský wrote: > > Linux kernel provides some balloon memory statistics that were not > > included in the specs. Include them to avoid any ID

Re: [virtio-dev] [PATCH] content: document balloon memory statistics

2018-02-28 Thread Tomáš Golembiovský
On Tue, 27 Feb 2018 21:56:04 +0200 "Michael S. Tsirkin" wrote: > On Wed, Feb 21, 2018 at 06:44:17PM +0100, Tomáš Golembiovský wrote: > > On Wed, 21 Feb 2018 11:33:28 + > > Stefan Hajnoczi wrote: > > > > > On Wed, Feb 21, 2018 at 12:11:35AM +0100

[virtio-dev] [PATCH v2] content: document balloon memory statistics

2018-02-22 Thread Tomáš Golembiovský
Linux kernel provides some balloon memory statistics that were not included in the specs. Include them to avoid any ID clashes in the future. Signed-off-by: Tomáš Golembiovský --- content.tex | 9 + 1 file changed, 9 insertions(+) diff --git a/content.tex b/content.tex index c7ef7fd

Re: [virtio-dev] [PATCH] content: document balloon memory statistics

2018-02-21 Thread Tomáš Golembiovský
On Wed, 21 Feb 2018 11:33:28 + Stefan Hajnoczi wrote: > On Wed, Feb 21, 2018 at 12:11:35AM +0100, Tomáš Golembiovský wrote: > > On Tue, 20 Feb 2018 17:15:44 + > > Stefan Hajnoczi wrote: > > > > > On Mon, Feb 19, 2018 at 02:10:29PM +0100, Tomáš Gole

Re: [virtio-dev] [PATCH] content: document balloon memory statistics

2018-02-20 Thread Tomáš Golembiovský
On Tue, 20 Feb 2018 17:15:44 + Stefan Hajnoczi wrote: > On Mon, Feb 19, 2018 at 02:10:29PM +0100, Tomáš Golembiovský wrote: > > +\item[VIRTIO_BALLOON_S_CACHES (7)] The amount of memory currently used for > > + caching files and other data from disk (in bytes). > &

[virtio-dev] Re: [Qemu-devel] [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2018-02-20 Thread Tomáš Golembiovský
On Mon, 19 Feb 2018 21:11:27 -0800 Jonathan Helman wrote: > > On Feb 19, 2018, at 5:11 AM, Tomáš Golembiovský wrote: > > > > On Wed, 14 Feb 2018 00:07:53 +0200 > > "Michael S. Tsirkin" wrote: > > > >> On Tue, Feb 13, 2018 at 12:29:39PM -0800

[virtio-dev] Re: [Qemu-devel] [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2018-02-19 Thread Tomáš Golembiovský
On Wed, 14 Feb 2018 00:07:53 +0200 "Michael S. Tsirkin" wrote: > On Tue, Feb 13, 2018 at 12:29:39PM -0800, Jonathan Helman wrote: > > > > > > On 02/05/2018 04:08 AM, Tomáš Golembiovský wrote: > > > ping > > > > > > On Tue,

[virtio-dev] [PATCH] content: document balloon memory statistics

2018-02-19 Thread Tomáš Golembiovský
Linux kernel provides some balloon memory statistics that were not included in the specs. Include them to avoid any ID clashes in the future. Signed-off-by: Tomáš Golembiovský --- content.tex | 8 1 file changed, 8 insertions(+) diff --git a/content.tex b/content.tex index c7ef7fd

[virtio-dev] [PATCH] docs: document virtio-balloon stats

2018-02-19 Thread Tomáš Golembiovský
Document statistics added in commits commit a0d06486b445985b8d128df172daefbae205bffd Author: Denis V. Lunev Date: Wed Feb 24 10:50:48 2016 +0300 virtio-balloon: add 'available' counter and commit bf1e7140ef0b3a149860ab9f05b36665133238f6 Author: Tomáš Go

[virtio-dev] Re: [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2018-02-05 Thread Tomáš Golembiovský
ping On Tue, 5 Dec 2017 13:14:46 +0100 Tomáš Golembiovský wrote: > Signed-off-by: Tomáš Golembiovský > --- > hw/virtio/virtio-balloon.c | 1 + > include/standard-headers/linux/virtio_balloon.h | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) &g

[virtio-dev] [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2017-12-05 Thread Tomáš Golembiovský
Signed-off-by: Tomáš Golembiovský --- hw/virtio/virtio-balloon.c | 1 + include/standard-headers/linux/virtio_balloon.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 37cde38982..8141326a51

[virtio-dev] [PATCH v2 0/1] Disk caches in VirtIO Balloon driver stats

2017-12-05 Thread Tomáš Golembiovský
This is a QEMU counterpart to the patch for VirtIO balloon driver posted here: https://lists.nongnu.org/archive/html/qemu-devel/2017-11/msg02106.html Tomáš Golembiovský (1): virtio-balloon: include statistics of disk/file caches hw/virtio/virtio-balloon.c | 1 + include

[virtio-dev] Re: [PATCH v3] virtio_balloon: include disk/file caches memory statistics

2017-11-20 Thread Tomáš Golembiovský
On Sun, 12 Nov 2017 13:05:38 +0100 Tomáš Golembiovský wrote: > Add a new field VIRTIO_BALLOON_S_CACHES to virtio_balloon memory > statistics protocol. The value represents all disk/file caches. > > In this case it corresponds to the sum of values > Buffers+Cached+SwapCached fro

Re: [virtio-dev] [PATCH 1/1] virtio-balloon: include buffers and chached memory statistics

2017-11-16 Thread Tomáš Golembiovský
ut Windows doesn’t let to distinguish between “cached and buffers” as far as > I see. Thanks for the input, Yan. That's definitely good to know. Tomas > > Best regards, > Yan. > > > On 20 Sep 2017, at 19:05, Tomáš Golembiovský wrote: > >

[virtio-dev] [PATCH v3] virtio_balloon: include disk/file caches memory statistics

2017-11-12 Thread Tomáš Golembiovský
Add a new field VIRTIO_BALLOON_S_CACHES to virtio_balloon memory statistics protocol. The value represents all disk/file caches. In this case it corresponds to the sum of values Buffers+Cached+SwapCached from /proc/meminfo. Signed-off-by: Tomáš Golembiovský --- drivers/virtio/virtio_balloon.c

[virtio-dev] Re: [PATCH v2 1/1] virtio_balloon: include buffers and cached memory statistics

2017-11-03 Thread Tomáš Golembiovský
On Tue, 31 Oct 2017 18:15:48 +0200 "Michael S. Tsirkin" wrote: > On Tue, Oct 31, 2017 at 01:20:19PM +0100, Tomáš Golembiovský wrote: > > ping > > > > +Gil, +Amnon... could you maybe aid in reviewing the patch, please? > > > > > > Tomas >

[virtio-dev] Re: [PATCH v2 1/1] virtio_balloon: include buffers and cached memory statistics

2017-10-31 Thread Tomáš Golembiovský
ping +Gil, +Amnon... could you maybe aid in reviewing the patch, please? Tomas On Sun, 22 Oct 2017 20:05:57 +0200 Tomáš Golembiovský wrote: > On Thu, 19 Oct 2017 16:12:20 +0300 > "Michael S. Tsirkin" wrote: > > > On Thu, Sep 21, 2017 at 02:55:41PM +0200,

[virtio-dev] Re: [PATCH v2 1/1] virtio_balloon: include buffers and cached memory statistics

2017-10-22 Thread Tomáš Golembiovský
On Thu, 19 Oct 2017 16:12:20 +0300 "Michael S. Tsirkin" wrote: > On Thu, Sep 21, 2017 at 02:55:41PM +0200, Tomáš Golembiovský wrote: > > Add a new fields, VIRTIO_BALLOON_S_BUFFERS and VIRTIO_BALLOON_S_CACHED, > > to virtio_balloon memory statistics protocol. The values c

[virtio-dev] Re: [PATCH v2 0/1] linux: Buffers/caches in VirtIO Balloon driver stats

2017-10-19 Thread Tomáš Golembiovský
On Thu, 5 Oct 2017 15:51:18 +0200 Tomáš Golembiovský wrote: > On Thu, 21 Sep 2017 14:55:40 +0200 > Tomáš Golembiovský wrote: > > > Linux driver part > > > > v2: > > - fixed typos > > > > Tomáš Golembiovský (1): > > virtio_ba

[virtio-dev] Re: [PATCH v2 0/1] linux: Buffers/caches in VirtIO Balloon driver stats

2017-10-05 Thread Tomáš Golembiovský
On Thu, 21 Sep 2017 14:55:40 +0200 Tomáš Golembiovský wrote: > Linux driver part > > v2: > - fixed typos > > Tomáš Golembiovský (1): > virtio_balloon: include buffers and cached memory statistics > > drivers/virtio/virtio_balloon.c | 11 ++

[virtio-dev] [PATCH v2 0/1] linux: Buffers/caches in VirtIO Balloon driver stats

2017-09-21 Thread Tomáš Golembiovský
Linux driver part v2: - fixed typos Tomáš Golembiovský (1): virtio_balloon: include buffers and cached memory statistics drivers/virtio/virtio_balloon.c | 11 +++ include/uapi/linux/virtio_balloon.h | 4 +++- mm/swap_state.c | 1 + 3 files changed, 15

[virtio-dev] [PATCH v2 1/1] virtio_balloon: include buffers and cached memory statistics

2017-09-21 Thread Tomáš Golembiovský
l_swapcache_pages() to modules. Signed-off-by: Tomáš Golembiovský --- drivers/virtio/virtio_balloon.c | 11 +++ include/uapi/linux/virtio_balloon.h | 4 +++- mm/swap_state.c | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/vir

[virtio-dev] [PATCH 1/1] virtio-balloon: include buffers and chached memory statistics

2017-09-20 Thread Tomáš Golembiovský
Signed-off-by: Tomáš Golembiovský --- hw/virtio/virtio-balloon.c | 2 ++ include/standard-headers/linux/virtio_balloon.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index a705e0ec55

[virtio-dev] [PATCH 0/1] Buffers/caches in VirtIO Balloon driver stats

2017-09-20 Thread Tomáš Golembiovský
This is a QEMU counterpart to the patch for VirtIO balloon driver posted here: https://lists.nongnu.org/archive/html/qemu-devel/2017-09/msg05720.html Tomáš Golembiovský (1): virtio-balloon: include buffers and chached memory statistics hw/virtio/virtio-balloon.c | 2

[virtio-dev] Re: [PATCH] virtio_balloon: include buffers and chached memory statistics

2017-09-20 Thread Tomáš Golembiovský
On Wed, 20 Sep 2017 17:48:36 +0200 Tomáš Golembiovský wrote: > Add a new fields, VIRTIO_BALLOON_S_BUFFERS and VIRTIO_BALLOON_S_CACHED, > to virtio_balloon memory statistics protocol. The values correspond to > 'Buffers' and 'Cached' in /proc/meminfo. > >

[virtio-dev] [PATCH] virtio_balloon: include buffers and chached memory statistics

2017-09-20 Thread Tomáš Golembiovský
l_swapcache_pages() to modules. Signed-off-by: Tomáš Golembiovský --- drivers/virtio/virtio_balloon.c | 11 +++ include/uapi/linux/virtio_balloon.h | 4 +++- mm/swap_state.c | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/vir

[virtio-dev] Re: [Qemu-devel] [RFC] Buffers/caches in VirtIO Balloon driver stats

2017-09-12 Thread Tomáš Golembiovský
Resending. It did not reach virtio-dev the first time. On Tue, 12 Sep 2017 16:29:47 +0200 Tomáš Golembiovský wrote: > On Tue, 29 Aug 2017 20:01:53 +0800 > Wei Wang wrote: > > > On 08/29/2017 05:57 PM, Stefan Hajnoczi wrote: > > > On Sun, Aug 27, 2017 at 11:30:33PM +