public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Tommaso Cucinotta <tommaso.cucinotta@sssup.it>
To: kvm@vger.kernel.org
Subject: Asynchronous interruption of a compute-intensive guest
Date: Wed, 13 Apr 2011 02:09:02 +0200	[thread overview]
Message-ID: <4DA4E99E.1030200@sssup.it> (raw)

Hi,

I'd like to "intercept" from the host the exact times at which an 
incoming network packet directed to a guest VM:
a) is delivered from the host OS to the KVM process;
b) is delivered to the "CPU thread" of the KVM process.

Specifically, I don't have a clean idea of how b) happens when the CPU 
thread is doing compute-intensive activities within the VM. How is the 
flow of control of such thread asynchronously interrupted so as to hand 
over control to the proper network driver in kvm ? Any pointer to the 
exact points to look at, in the KVM code, are also very well appreciated.

Just in case you're interested, we need this for playing with some 
custom CPU scheduling policy we have at our lab, for the purpose of 
facing with the problem of responsiveness of VMs while doing 
CPU-intensive activities (i.e., a mixed batch/interactive guest).

Thanks very much for your kind help.

Regards,

     T.

-- 
Tommaso Cucinotta, Computer Engineering PhD, Researcher
ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy
Tel +39 050 882 024, Fax +39 050 882 003
http://retis.sssup.it/people/tommaso


             reply	other threads:[~2011-04-13  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13  0:09 Tommaso Cucinotta [this message]
2011-04-13  8:52 ` Asynchronous interruption of a compute-intensive guest Stefan Hajnoczi

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=4DA4E99E.1030200@sssup.it \
    --to=tommaso.cucinotta@sssup.it \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox