Skip to content

VNC server memory savings

Peter Lieven qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vnc: make the Buffer capacity increase in powers of twoui/vnc.c+4 -13 replies
2/4vnc: allow the Buffer to shrink againui/vnc.c+13 -19 replies
3/4vnc-jobs: move buffer_reset to vnc_async_encoding_endui/vnc-jobs.c+1 -20 replies
4/4vnc: destroy server surface if no client is connectedui/vnc.c+16 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] VNC server memory savings

While debugging increased memory footprint of Qemu (since qemu-kvm-1.2.0) I found some culprits in the VNC code. This series includes some first optimizations.

Peter Lieven (4):
vnc: make the Buffer capacity increase in powers of two
vnc: allow the Buffer to shrink again
vnc-jobs: move buffer_reset to vnc_async_encoding_end
vnc: destroy server surface if no client is connected

 ui/vnc-jobs.c |  3 +--
 ui/vnc.c      | 36 +++++++++++++++++++++++++++++++++---
 2 files changed, 34 insertions(+), 5 deletions(-)
Signature · 1 line
1.9.1