All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Ackaouy <ackaouy@gmail.com>
To: "Petersson, Mats" <Mats.Petersson@amd.com>
Cc: ncmike@us.ibm.com, xen-devel@lists.xensource.com, pak333@comcast.net
Subject: Re: Re: Xen scheduler
Date: Tue, 24 Apr 2007 16:55:48 +0200	[thread overview]
Message-ID: <ddeb35cafec7af3c1d71e0a6d6b77015@gmail.com> (raw)
In-Reply-To: <907625E08839C4409CE5768403633E0B018E1C53@sefsexmb1.amd.com>

On Apr 24, 2007, at 16:42, Petersson, Mats wrote:
>> If you feel two VCPUs would do better co-scheduled on a
>> core or socket, you'd currently have to use cpumasks -- as
>> mike suggested -- to restrict where they can run manually. I'd
>> be curious to know of real world cases where doing this
>> increases performance significantly.
>
> If you have data-sharing between the apps on the same socket, and a 
> shared L2 or L3 cache, and the application/data fits in the cache, I 
> could see that it would help. [And of course, the OS for example will 
> have some data and code-sharing between CPU's - so some application 
> where a lot of time is spent in the OS itself would be benefitting 
> from "socket sharing"].
>
> For other applications, having better memory bandwitch is most likely 
> better.
>
> Of course, for ideal performance, it would also have to be taken into 
> account which CPU owns the memory being used, as the latency of 
> transferring memory from one CPU to another in a NUMA system can 
> affect the performance quite noticably.

I understand in theory what would do better scheduled in either
of these ways. What I'm interested in learning about is actual
applications that people use that exhibit the type of L2/3 cache
sharing that would make it significantly better to co-schedule
the VCPUs in question on whole sockets rather than across
them.

      reply	other threads:[~2007-04-24 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 19:33 Re: Xen scheduler pak333
2007-04-24 11:07 ` Petersson, Mats
2007-04-24 14:47   ` Emmanuel Ackaouy
2007-04-24 14:53     ` Petersson, Mats
2007-04-24 14:34 ` Emmanuel Ackaouy
2007-04-24 14:42   ` Petersson, Mats
2007-04-24 14:55     ` Emmanuel Ackaouy [this message]

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=ddeb35cafec7af3c1d71e0a6d6b77015@gmail.com \
    --to=ackaouy@gmail.com \
    --cc=Mats.Petersson@amd.com \
    --cc=ncmike@us.ibm.com \
    --cc=pak333@comcast.net \
    --cc=xen-devel@lists.xensource.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.