search for: tysand

Displaying 20 results from an estimated 40 matches for "tysand".

2019 Oct 03
0
VIRTIO_BALLOON_F_FREE_PAGE_HINT
...t; After the shrinker change the overcommit accounting problem is fixed, but I > have still found that forcibly deflating the balloon under memory pressure is > slow enough that random allocations can still fail (is there a timeout for > allocations?). > For example, I've seen: > tysand at vm ~ $ fallocate -l 5G d/foo? ? // d is tmpfs mount. This command causes > balloon to require deflation. > tysand at vm grep Mem /proc/meminfo > MemTotal: ? ? ? ?8172852 kB > MemFree: ? ? ? ? ?138932 kB > MemAvailable: ? ? ?83428 kB > tysand at vm ~ $ grep Mem /proc/meminfo &gt...
2020 Mar 10
4
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...#39;t killed the "grep balloon >> /proc/vmstat" process then, without the patch, the inflation process >> would never reach the target. >> >> [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html >> >> Reported-by: Tyler Sanderson <tysand at google.com> >> Tested-by: Tyler Sanderson <tysand at google.com> >> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") >> Cc: Michael S. Tsirkin <mst at redhat.com> >> Cc: Wei Wang <wei.w.wang at intel.com> >> C...
2020 Mar 10
4
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...#39;t killed the "grep balloon >> /proc/vmstat" process then, without the patch, the inflation process >> would never reach the target. >> >> [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html >> >> Reported-by: Tyler Sanderson <tysand at google.com> >> Tested-by: Tyler Sanderson <tysand at google.com> >> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") >> Cc: Michael S. Tsirkin <mst at redhat.com> >> Cc: Wei Wang <wei.w.wang at intel.com> >> C...
2020 Mar 09
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
On 08.03.20 05:47, Tyler Sanderson wrote: > Tested-by: Tyler Sanderson <tysand at google.com> > > Test setup: VM with 16 CPU, 64GB RAM. Running Debian 10. We have a 42 > GB file full of random bytes that we continually cat to /dev/null. > This fills the page cache as the file is read. Meanwhile we trigger > the balloon to inflate, with a target size of 53 G...
2020 Mar 09
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
On 08.03.20 05:47, Tyler Sanderson wrote: > Tested-by: Tyler Sanderson <tysand at google.com> > > Test setup: VM with 16 CPU, 64GB RAM. Running Debian 10. We have a 42 > GB file full of random bytes that we continually cat to /dev/null. > This fills the page cache as the file is read. Meanwhile we trigger > the balloon to inflate, with a target size of 53 G...
2020 Mar 10
3
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...on time by 8.6x. But more importantly, if we hadn't killed the "grep balloon /proc/vmstat" process then, without the patch, the inflation process would never reach the target. [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html Reported-by: Tyler Sanderson <tysand at google.com> Tested-by: Tyler Sanderson <tysand at google.com> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Wei Wang <wei.w.wang at intel.com> Cc: Alexander Duyck <alexander.h.duyck at l...
2020 Mar 10
3
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...on time by 8.6x. But more importantly, if we hadn't killed the "grep balloon /proc/vmstat" process then, without the patch, the inflation process would never reach the target. [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html Reported-by: Tyler Sanderson <tysand at google.com> Tested-by: Tyler Sanderson <tysand at google.com> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Wei Wang <wei.w.wang at intel.com> Cc: Alexander Duyck <alexander.h.duyck at l...
2019 Sep 16
4
VIRTIO_BALLOON_F_FREE_PAGE_HINT
On 09/14/2019 02:36 AM, Tyler Sanderson wrote: > Hello, I'm curious about the intent of VIRTIO_BALLOON_F_FREE_PAGE_HINT > (commit > <https://github.com/torvalds/linux/commit/86a559787e6f5cf662c081363f64a20cad654195#diff-fd202acf694d9eba19c8c64da3e480c9>). > > > My understanding is that this mechanism works similarly to the > existing inflate/deflate queues. Pages
2019 Sep 16
4
VIRTIO_BALLOON_F_FREE_PAGE_HINT
On 09/14/2019 02:36 AM, Tyler Sanderson wrote: > Hello, I'm curious about the intent of VIRTIO_BALLOON_F_FREE_PAGE_HINT > (commit > <https://github.com/torvalds/linux/commit/86a559787e6f5cf662c081363f64a20cad654195#diff-fd202acf694d9eba19c8c64da3e480c9>). > > > My understanding is that this mechanism works similarly to the > existing inflate/deflate queues. Pages
2020 Mar 10
0
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...portantly, if we hadn't killed the "grep balloon > /proc/vmstat" process then, without the patch, the inflation process > would never reach the target. > > [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html > > Reported-by: Tyler Sanderson <tysand at google.com> > Tested-by: Tyler Sanderson <tysand at google.com> > Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") > Cc: Michael S. Tsirkin <mst at redhat.com> > Cc: Wei Wang <wei.w.wang at intel.com> > Cc: Alexander Duyck &...
2020 Mar 11
0
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...lloon > >> /proc/vmstat" process then, without the patch, the inflation process > >> would never reach the target. > >> > >> [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html > >> > >> Reported-by: Tyler Sanderson <tysand at google.com> > >> Tested-by: Tyler Sanderson <tysand at google.com> > >> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") > >> Cc: Michael S. Tsirkin <mst at redhat.com> > >> Cc: Wei Wang <wei.w.wang at inte...
2020 Feb 05
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...he OOM path *very* simple. Besically freeing pages and > updating the balloon. If the communication with the host ever > becomes a problem on this call path. > > [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html > > Reported-by: Tyler Sanderson <tysand at google.com> > Cc: Michael S. Tsirkin <mst at redhat.com> > Cc: Wei Wang <wei.w.wang at intel.com> > Cc: Alexander Duyck <alexander.h.duyck at linux.intel.com> > Cc: David Rientjes <rientjes at google.com> > Cc: Nadav Amit <namit at vmware.com> >...
2020 Feb 05
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...he OOM path *very* simple. Besically freeing pages and > updating the balloon. If the communication with the host ever > becomes a problem on this call path. > > [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html > > Reported-by: Tyler Sanderson <tysand at google.com> > Cc: Michael S. Tsirkin <mst at redhat.com> > Cc: Wei Wang <wei.w.wang at intel.com> > Cc: Alexander Duyck <alexander.h.duyck at linux.intel.com> > Cc: David Rientjes <rientjes at google.com> > Cc: Nadav Amit <namit at vmware.com> >...
2020 Mar 08
0
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
Tested-by: Tyler Sanderson <tysand at google.com> Test setup: VM with 16 CPU, 64GB RAM. Running Debian 10. We have a 42 GB file full of random bytes that we continually cat to /dev/null. This fills the page cache as the file is read. Meanwhile we trigger the balloon to inflate, with a target size of 53 GB. This setup causes the...
2020 Feb 14
5
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
On 05.02.20 17:34, David Hildenbrand wrote: > Commit 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") > changed the behavior when deflation happens automatically. Instead of > deflating when called by the OOM handler, the shrinker is used. > > However, the balloon is not simply some slab cache that should be > shrunk when under memory pressure. The
2020 Feb 14
5
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
On 05.02.20 17:34, David Hildenbrand wrote: > Commit 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") > changed the behavior when deflation happens automatically. Instead of > deflating when called by the OOM handler, the shrinker is used. > > However, the balloon is not simply some slab cache that should be > shrunk when under memory pressure. The
2020 Mar 11
2
[PATCH v4 0/1] mm: virtio-balloon fix to go through the -mm tree
@Andrew, as this fix is based on free page reporting, can this go through your tree? Patch #1 contains a proper description. v3 -> v4: - Add Ack from David Rientjes - Minor tweaks to test details in the patch description v2 -> v3: - Use vb->vdev instead of vdev in all feature checks. We'll clean the other ones up later. - Add one empty line virtballoon_probe() to make it look
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...on time by 8.6x. But more importantly, if we hadn't killed the "grep balloon /proc/vmstat" process then, without the patch, the inflation process would never reach the target. [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html Reported-by: Tyler Sanderson <tysand at google.com> Tested-by: Tyler Sanderson <tysand at google.com> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Wei Wang <wei.w.wang at intel.com> Cc: Alexander Duyck <alexander.h.duyck at l...
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...on time by 8.6x. But more importantly, if we hadn't killed the "grep balloon /proc/vmstat" process then, without the patch, the inflation process would never reach the target. [1] https://www.spinics.net/lists/linux-virtualization/msg40863.html Reported-by: Tyler Sanderson <tysand at google.com> Tested-by: Tyler Sanderson <tysand at google.com> Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Wei Wang <wei.w.wang at intel.com> Cc: Alexander Duyck <alexander.h.duyck at l...
2020 Feb 05
0
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
> Am 05.02.2020 um 23:37 schrieb Tyler Sanderson <tysand at google.com>: > > ? > > >> On Wed, Feb 5, 2020 at 8:34 AM David Hildenbrand <david at redhat.com> wrote: >> Commit 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker") >> changed the behavior when deflation happens automatically....