All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <chris.friesen@genband.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: MK <mk@cognitivedissonance.ca>, linux-kernel@vger.kernel.org
Subject: Re: AVX "Sandy Bridge" hardware issue?
Date: Wed, 13 Jul 2011 10:17:57 -0600	[thread overview]
Message-ID: <4E1DC535.1030000@genband.com> (raw)
In-Reply-To: <m2k4bn57j4.fsf@firstfloor.org>

On 07/12/2011 06:49 PM, Andi Kleen wrote:
> MK<mk@cognitivedissonance.ca>  writes:
>>
>> In which Andreas Schwab points out (rightly or wrongly) that according
>> to the /proc/cpuinfo from the slice, the processor actually does not
>> support AVX.  However,  the "model name", "Intel(R) Xeon(R) CPU
>> E31230", is according to this a Sandy Bridge processor with AVX:
>
> If it's in a VM then the VM may not expose AVX to the guest
> (the VMs have to do that explicitely because AVX has additional state).
> If it's not in /proc/cpuinfo on the guest that's likely the case.

The OP mentioned that he's using OpenVZ, so it's running in a container 
(chroot on steroids), not a "true" VM.

Each instance runs the same kernel, they're isolated from the other 
instances using filesystem/process/network namespaces.

That said, /proc/cpuinfo is virtualized somehow by the containerization 
since it shows only the cpus assigned to the container--it seems 
plausible that they screwed up the cpu flags while doing it.

I think your suggestion of talking to the vendor is the correct next step.

Chris


-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

  reply	other threads:[~2011-07-13 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 20:16 AVX "Sandy Bridge" hardware issue? MK
2011-07-12 21:06 ` Chris Friesen
2011-07-15 13:06   ` MK
2011-07-13  0:49 ` Andi Kleen
2011-07-13 16:17   ` Chris Friesen [this message]
2011-07-15 13:12   ` MK
2011-07-20 13:55 ` Andy Lutomirski

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=4E1DC535.1030000@genband.com \
    --to=chris.friesen@genband.com \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mk@cognitivedissonance.ca \
    /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.