[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] i386: turn off l3-cache property by default

From: Roman Kagan
Subject: Re: [Qemu-devel] [PATCH] i386: turn off l3-cache property by default
Date: Wed, 29 Nov 2017 09:25:24 +0300
User-agent: Mutt/1.9.1 (2017-09-22)

On Wed, Nov 29, 2017 at 06:17:40AM +0200, Michael S. Tsirkin wrote:
> On Tue, Nov 28, 2017 at 11:20:27PM +0300, Denis V. Lunev wrote:
> > > There's one thing I don't understand in your test case: if you
> > > just found out that Linux will behave worse if it assumes that
> > > the VCPUs are sharing a L3 cache, why are you configuring a
> > > 8-core VCPU topology explicitly?
> > >
> > > Do you still see a difference in the numbers if you use "-smp 8"
> > > with no "cores" and "threads" options?
> > >
> > This is quite simple. A lot of software licenses are bound to the amount
> > of CPU __sockets__. Thus it is mandatory in a lot of cases to set topology
> > with 1 socket/xx cores to reduce the amount of money necessary to
> > be paid for the software.
> This answers the first question but not the second one.

The answer to the second one is no, there's no difference (from memory,
I don't have the numbers at hand.)

> If the answer to the second one is negative, then I don't understand why
> changing the default makes sense.

Because the setting adversly affected the performance in some

That said, we may be well past the point where that would matter because
the new setting has been there for a few releases already...

> I would expect qemu by default to be as close to emulating a physical
> system as possible.  If one has to deviate from that for some workloads,
> that is fine, but probably not a good default.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]