From: Chris Friesen <chris.friesen@genband.com>
To: MK <mk@cognitivedissonance.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: AVX "Sandy Bridge" hardware issue?
Date: Tue, 12 Jul 2011 15:06:48 -0600 [thread overview]
Message-ID: <4E1CB768.6060304@genband.com> (raw)
In-Reply-To: <20110712161616.b5196a3b.mk@cognitivedissonance.ca>
On 07/12/2011 02:16 PM, MK wrote:
> So I filed a glibc bug with fedora to that effect:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=720176
>
> 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:
>
> http://en.wikipedia.org/wiki/Sandy_Bridge#Server_processors
>
> And while I do not have access to the hardware, the provider is very
> unequivocal about the fact that these are Sandy Bridges, which
> apparently include AVX.
>
> So I am looking for a next step to take in debugging this. The kernel
> used on the slice (nb, openVZ does not allow for rolling your own) is
> 2.6.32 built with gcc 4.1.2. I think this may be prior to AVX support
> in the kernel and gcc, but the glibc is 2.13, which apparently includes
> it.
>
> Does anyone have any idea why I would get this identical backtrace, and
> a failed reproducer test, on hardware which supposedly supports AVX
> (but not according to the kernel in /proc/cpuinfo)?
For what it's worth, Intel says the E31230 supports AVX as well:
http://ark.intel.com/Product.aspx?id=52271
so it's interesting that /proc/cpuinfo doesn't mention it. Certainly
I'd consider that worth following up.
As far as I can tell, support for saving/restoring AVX registers was
added in 2.6.30, but gcc 4.6 is needed for proper support to actually
use the new instructions. However, given that you're using openVZ then
if there is a bug in the kernel all it would take is one VPS slice using
code built with a new compiler.
Chris
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com
next prev parent reply other threads:[~2011-07-12 21:07 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 [this message]
2011-07-15 13:06 ` MK
2011-07-13 0:49 ` Andi Kleen
2011-07-13 16:17 ` Chris Friesen
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=4E1CB768.6060304@genband.com \
--to=chris.friesen@genband.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox