All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Abel Gordon <ABELG@il.ibm.com>
Cc: abel.gordon@gmail.com, Anthony Liguori <anthony@codemonkey.ws>,
	digitaleric@google.com, Eran Raichstein <ERANRA@il.ibm.com>,
	Eyal Moscovici <EYALMO@il.ibm.com>,
	gleb@redhat.com, jasowang@redhat.com,
	Joel Nider <JOELN@il.ibm.com>,
	kvm@vger.kernel.org, pbonzini@redhat.com,
	Razya Ladelsky <RAZYA@il.ibm.com>,
	Yossi Kuperman1 <YOSSIKU@il.ibm.com>
Subject: Re: Elvis upstreaming plan
Date: Wed, 27 Nov 2013 13:40:03 +0200	[thread overview]
Message-ID: <20131127114003.GG29702@redhat.com> (raw)
In-Reply-To: <OF9155D82E.1926E162-ONC2257C30.003CB265-C2257C30.003CF1A0@il.ibm.com>

On Wed, Nov 27, 2013 at 01:05:40PM +0200, Abel Gordon wrote:
> > > (CCing Eyal Moscovici who is actually prototyping with multiple
> > > policies and may want to join this thread)
> > >
> > > Starting with basic policies: we can use a single vhost thread
> > > and create new vhost threads if it becomes saturated and there
> > > are enough cpu cycles available in the system
> > > or if the latency (how long the requests in the virtio queues wait
> > > until they are handled) is too high.
> > > We can merge threads if the latency is already low or if the threads
> > > are not saturated.
> > >
> > > There is a hidden trade-off here: when you run more vhost threads you
> > > may actually be stealing cpu cycles from the vcpu threads and also
> > > increasing context switches. So, from the vhost perspective it may
> > > improve performance but from the vcpu threads perspective it may
> > > degrade performance.
> >
> > So this is a very interesting problem to solve but what does
> > management know that suggests it can solve it better?
> 
> Yep, and Eyal is currently working on this.
> What the management knows ? depends who the management is :)
> Could be just I/O activity (black-box: I/O request rate, I/O
> handling rate, latency)

We know much more about this than managament, don't we?

> or application performance (white-box).

This would have to come with a proposal for getting
this white-box info out of guest somehow.

-- 
MSR

  reply	other threads:[~2013-11-27 11:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24  9:22 Elvis upstreaming plan Razya Ladelsky
2013-11-24 10:26 ` Michael S. Tsirkin
2013-11-25 11:06   ` Razya Ladelsky
2013-11-26 15:50 ` Stefan Hajnoczi
2013-11-26 18:05 ` Anthony Liguori
2013-11-26 18:53   ` Abel Gordon
2013-11-26 21:11     ` Michael S. Tsirkin
2013-11-27  7:43       ` Joel Nider
2013-11-27 10:27         ` Michael S. Tsirkin
2013-11-27 10:41           ` Abel Gordon
2013-11-27 10:59             ` Michael S. Tsirkin
2013-11-27 11:02               ` Abel Gordon
2013-11-27 11:36                 ` Michael S. Tsirkin
2013-11-27 22:33             ` Anthony Liguori
2013-11-28  8:25               ` Abel Gordon
2013-11-27 15:00         ` Stefan Hajnoczi
2013-11-27 15:30           ` Michael S. Tsirkin
2013-11-28  7:24           ` Joel Nider
2013-11-28  7:31           ` Abel Gordon
2013-11-28 11:01             ` Michael S. Tsirkin
2013-12-02 15:11             ` Stefan Hajnoczi
2013-11-27  9:03       ` Abel Gordon
2013-11-27  9:21         ` Michael S. Tsirkin
2013-11-27  9:49           ` Abel Gordon
2013-11-27 10:29             ` Michael S. Tsirkin
2013-11-27 10:55               ` Abel Gordon
2013-11-27 11:03                 ` Michael S. Tsirkin
2013-11-27 11:05                   ` Abel Gordon
2013-11-27 11:40                     ` Michael S. Tsirkin [this message]
2013-11-26 22:27 ` Bandan Das
2013-11-27  2:49 ` Jason Wang
2013-11-27  7:35   ` Gleb Natapov
2013-11-27  7:45     ` Joel Nider
2013-11-27  9:18     ` Abel Gordon
2013-11-27  9:21       ` Gleb Natapov
2013-11-27  9:33         ` Abel Gordon
2013-11-27  9:48           ` Gleb Natapov
2013-11-27 10:18   ` Abel Gordon
2013-11-27 10:37     ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131127114003.GG29702@redhat.com \
    --to=mst@redhat.com \
    --cc=ABELG@il.ibm.com \
    --cc=ERANRA@il.ibm.com \
    --cc=EYALMO@il.ibm.com \
    --cc=JOELN@il.ibm.com \
    --cc=RAZYA@il.ibm.com \
    --cc=YOSSIKU@il.ibm.com \
    --cc=abel.gordon@gmail.com \
    --cc=anthony@codemonkey.ws \
    --cc=digitaleric@google.com \
    --cc=gleb@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.