kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: R <19890121wr@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Improving scheduler for KVM
Date: Tue, 29 Oct 2013 09:51:43 +0200	[thread overview]
Message-ID: <20131029075143.GU15657@redhat.com> (raw)
In-Reply-To: <CAF2sySMsBVw8sL0cPiP-rZG9_1V-eEWTN0786ym81RyK95f-sg@mail.gmail.com>

On Tue, Oct 29, 2013 at 10:20:37AM +0800, R wrote:
> Hi, everyone
> 
> I am a graduate student. And now I have some spare time.
> I notice that KVM uses kernel scheduler to schedule VCPUs.
> But there exists many problem beyond the capability of current
> scheduler. (e.g. Lock Waiter Preemption problem)
> 
> And I don't want to reinvent the wheel. So I want to implement a
> module which can be used by the scheduler to schedule VCPUs more
> efficient.
> 
> Is there any documentation about any problem that I should pay attention to?
> Any comment is welcome.
> 
If you are thinking about gang scheduler it was done before, but it will
never be accepted upstream. And IIRC pvticketlock result was close if
not better than gang scheduling. If you are thinking about something
else then implement it in Linux scheduler directly. Linux scheduler is
not pluggable, so you cannot change it from a module.

--
			Gleb.

  parent reply	other threads:[~2013-10-29  7:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  2:20 Improving scheduler for KVM R
2013-10-29  7:16 ` Raghavendra KT
2013-10-29  7:51 ` Gleb Natapov [this message]
2013-10-30  5:24   ` R
2013-11-01  6:51     ` R
2013-11-01 11:03       ` Gleb Natapov

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=20131029075143.GU15657@redhat.com \
    --to=gleb@redhat.com \
    --cc=19890121wr@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).