qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] migration: fix rate limiting
@ 2012-11-20 16:45 Paolo Bonzini
  2012-11-20 16:45 ` [Qemu-devel] [PATCH v2 1/4] buffered_file: reset bytes_xfer on every tick Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Paolo Bonzini @ 2012-11-20 16:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: quintela

Here is v2 of the rate limiting fix (now fixes).  The rate-limiting
condition "s->freeze_output || s->bytes_xfer > s->xfer_limit" is
changed to "s->buffer_size > s->xfer_limit", separating the limits
used by the producer (s->buffer_size) from those used by the
consumer (s->freeze_output and s->bytes_xfer).

Paolo


Paolo Bonzini (4):
  buffered_file: reset bytes_xfer on every tick
  buffered_file: do not send more than s->bytes_xfer bytes per tick
  buffered_file: rate-limit producers based on buffer size
  buffered_file: do not automatically unfreeze output on
    buffered_put_buffer

 buffered_file.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

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

end of thread, other threads:[~2012-11-26  8:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 16:45 [Qemu-devel] [PATCH v2 0/4] migration: fix rate limiting Paolo Bonzini
2012-11-20 16:45 ` [Qemu-devel] [PATCH v2 1/4] buffered_file: reset bytes_xfer on every tick Paolo Bonzini
2012-11-20 16:45 ` [Qemu-devel] [PATCH v2 2/4] buffered_file: do not send more than s->bytes_xfer bytes per tick Paolo Bonzini
2012-11-20 16:45 ` [Qemu-devel] [PATCH v2 3/4] buffered_file: rate-limit producers based on buffer size Paolo Bonzini
2012-11-24 19:53   ` Blue Swirl
2012-11-26  8:17     ` Paolo Bonzini
2012-11-20 16:45 ` [Qemu-devel] [PATCH v2 4/4] buffered_file: do not automatically unfreeze output on buffered_put_buffer Paolo Bonzini

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