Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #393201 > unrolled thread

Intel's Skylake Prime Number Bug.

Started by"Skybuck Flying" <skybuck2000@hotmail.com>
First post2016-01-11 16:44 +0100
Last post2016-01-11 23:46 -0800
Articles 4 on this page of 64 — 30 participants

Back to article view | Back to sci.electronics.design


Contents

  Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 16:44 +0100
    Re: Intel's Skylake Prime Number Bug. Larc <larc@notmyaddress.com> - 2016-01-11 11:10 -0500
      Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 10:22 -0800
        Re: Intel's Skylake Prime Number Bug. Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 13:42 -0500
          Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 11:12 -0800
            Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:06 +0100
              Re: Intel's Skylake Prime Number Bug. Richard Heathfield <rjh@cpax.org.uk> - 2016-01-12 10:21 +0000
                Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:42 +0100
              t cluttered John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 09:25 -0800
                Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-12 22:05 +0100
                  Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 14:03 -0800
                    Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-12 21:44 -0800
                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-13 15:41 +0800
                        Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:39 -0500
                  Re: t cluttered Rick Jones <rick.jones2@hpe.com> - 2016-01-12 22:41 +0000
                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-12 23:01 +0000
                      Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 16:16 -0800
                        Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 10:35 +0000
                          Re: t cluttered Anonymous <no_email@invalid.invalid> - 2016-01-13 14:36 +0000
                            Re: t cluttered Robert Wessel <robertwessel2@yahoo.com> - 2016-01-14 02:48 -0600
                              Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 10:50 +0000
                          Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-13 11:54 -0800
                            Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 20:41 +0000
                            Re: t cluttered mrs@kithrup.com (Mike Stump) - 2016-01-18 13:37 +0000
                              Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 00:06 +0800
                              Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-18 15:27 -0800
                                Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 09:43 +0000
                                  Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 18:00 +0800
                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 11:25 +0000
                                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:48 +0700
                                        Re: t cluttered Walter Banks <walter@bytecraft.com> - 2016-01-19 09:54 -0500
                                          Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 16:49 +0000
                  Re: t cluttered krw <krw@nowhere.com> - 2016-01-12 20:53 -0500
                    Re: t cluttered Dennis <dennis@none.none> - 2016-01-13 14:56 -0600
                      Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:43 -0500
                Re: t cluttered upsidedown@downunder.com - 2016-01-13 10:15 +0200
          Re: Intel's Skylake Prime Number Bug. JJ <jj4public@vfemail.net> - 2016-01-12 13:11 +0700
          Re: Intel's Skylake Prime Number Bug. "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-12 02:45 -0500
            Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-12 04:38 -0500
            Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-12 12:35 -0500
        Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-11 15:37 -0500
          Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 20:35 -0800
            Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-12 02:38 -0500
              Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 09:27 -0800
            Re: Intel's Skylake Prime Number Bug. Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-01-12 09:11 +0000
              Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-12 13:08 +0000
              Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-12 09:45 -0500
              Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 09:29 -0800
                Re: Intel's Skylake Prime Number Bug. Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-01-12 17:55 +0000
                  Re: Intel's Skylake Prime Number Bug. M Philbrook <jamie_ka1lpa@charter.net> - 2016-01-12 18:25 -0500
                    Re: Intel's Skylake Prime Number Bug. Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2016-01-13 12:03 -0500
                  Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 16:18 -0800
                  Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 20:10 -0800
          Re: Intel's Skylake Prime Number Bug. Joe Hey <joehey@mailinator.com> - 2016-01-12 08:05 +0000
        Re: Intel's Skylake Prime Number Bug. Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-01-11 22:21 +0000
          Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:38 -0500
        Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:37 -0500
        Re: Intel's Skylake Prime Number Bug. Robert Baer <robertbaer@localnet.com> - 2016-01-12 20:23 -0800
        Re: Intel's Skylake Prime Number Bug. John Levine <johnl@iecc.com> - 2016-01-13 05:19 +0000
      Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 21:44 +0100
        Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-11 16:55 -0500
          Re: Intel's Skylake Prime Number Bug. B00ze <B00ze64@hotmail.com> - 2016-01-11 23:48 -0500
        Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-12 16:35 +0100
    Re: Intel's Skylake Prime Number Bug. Keith Thompson <kst-u@mib.org> - 2016-01-11 23:46 -0800

Page 4 of 4 — ← Prev page 1 2 3 [4]


#393259

FromPaul <nospam@needed.com>
Date2016-01-11 16:55 -0500
Message-ID<n7187c$f89$1@dont-email.me>
In reply to#393253
Skybuck Flying wrote:
> Compute well this processor does not - Yoda.
> 
> Wrong is much with this processor - Yoda.
> 
> Breath I would not hold - Yoda.
> 
> Bye,
>  Skybuck ;) =D

Some bugs on the processor can be fixed by microcode.
A typical retail motherboard can have as many as eight
microcode files, covering the compatible CPU table
on the motherboard maker site, and those are stored
in the BIOS flash chip. Microcode is tiny, and variable
length. The last time I took apart that file, the segments
were in multiples of 2KB or so.

Microcode releases have a revision number, and
a patcher loading a microcode, is allowed to
install a patch which has a higher release number
than the one currently in the processor.

The BIOS has its microcode patcher. The microcode must
be good enough, to allow the system to boot into the OS.
So no storage bugs can exist with the shipped BIOS
microcode. All it has to do, is get the system booted.

Windows and Linux also have microcode patchers.
The Windows one does its job early after boot,
and then the service exits. So you don't really
see it.

The Windows one allows deployment of updates.
It's unclear how much faster either a BIOS update
would deploy a new version, versus how fast
Microsoft could push a new file via Windows Update.

If you have a copy of the Intel Processor Identification
Utility (PIU), the field "revision" is actually the
release number of the microcode. There was one incident,
where no microcode was getting loaded, and the number
was zero. Most of the time, you will find a small finite
number for that field. In some cases, the utility
mistakenly masks the value read out, and some digits
may not belong there. (Maybe you see F07 instead
of 07.)

Some bugs in processors are fixed by actual code.
When AMD had a TLB bug in the 9500, they distributed
maybe a 15KB or so code module, to be added to the
BIOS. This code disabled the TLB, or a portion of
it, costing a small amount of performance. A
fixed version of the processor, for the same family,
had "50" added to the lower digits, so if you bought
a 9550 you knew it was fixed, whereas a 9500 wasn't.
So that fix wasn't microcode based, because it
wasn't an actual instruction problem. It was a
problem with virtual to physical address translation
of some sort.

The average processor has 100 errata. Some of the errata
are discovered a year or two after the first batch is
distributed for sale. Testing continues after release.
Many bugs are repaired via microcode updates. Some
are labeled "won't fix", meaning even if a new mask
revision was in the pipe, they had no plan to patch
out the problem. Some issues are innocuous enough they
don't need fixing.

In the case of the Prime95 issue above, the hand-coded FFTs
are perfect material for uncovering bugs. Frequently,
compilers produce "lame" code that doesn't give particularly
good fault coverage. So you don't see bugs, because the
instruction sequences aren't that challenging.

One AMD processor, had an FPU bug caused by actual
electrical noise. It was discovered after release.
It took assembler code to do it. The assembler code
consisted of a nonsensical continuous sequence of
one FPU instruction after another. This drew enough
current to cause a noise problem in the substrate.
Errata like that receive a "will not fix" rating,
because it is not expected that anyone will be
coding with assembler, and using that stupid a sequence
of instructions. Real FPU code needs an occasional
bit test, branch condition, and so isn't solid 100% FPU
instructions one after another. And when a HLL is used,
the compiler/assembler wouldn't even get close to
the required FPU code density to break that processor.
(If I owned such a processor though, I'd be pissed.
For that not being caught in testing, or recognized
as a potential issue during design.)

When it comes to test benches for hardware design, you
run the important ones first (and try to finish them by
design close). The ridiculous tests are saved for later,
after production has begun. And that's when the AMD testers
carried out their artificial 100% density test and discovered
a problem. For our chip designs, some staff were running
simulation test cases a year after we had hardware in hand.
(And ours didn't have microcode to patch with either.
We had another feeble mechanism for emergencies :-) )

The level of bugs is rather constant. I don't recollect ever
looking at an errata sheet for a CPU and seeing zero bugs. It
just doesn't happen. I expect in some cases, staff already know
of multiple errata, even before design close, but the
boss says "ship it". I doubt they would hold up a mask
release, chasing every possible bug and making the CPU
two years late. That just isn't going to happen, especially
when the "good ole microcode" can pull your bacon out of the
fire.

So while it's sad that this "bendable" processor also has
an errata, it probably has another 99 errata to keep that
one company. Most of those errata are invisible to end
users. The janitorial staff already cleaned up the mess :-)

It's the ones that cost you performance, that
make the fanbois crazy. The AMD TLB bug certainly
upset a few happy owners of the affected silicon.
And the Intel FDIV bug certainly cost Intel
(all those Excel spreadsheet jokes). Intel has had
a few wakeup calls, and I like to think that Skylake
is another wakeup call ("staff getting sloppy,
poor decision making"). So far it hasn't cost them
any "big money". I don't know if users are
returning their "bent" processors or not.

    Paul

[toc] | [prev] | [next] | [standalone]


#393311

FromB00ze <B00ze64@hotmail.com>
Date2016-01-11 23:48 -0500
Message-ID<n720dq$lmq$1@dont-email.me>
In reply to#393259
Lol, I read that bug on a few sites; I was SURE Skybuck was going to 
push it to the group before I could ;-)

On 2016-01-11 16:55, Paul <nospam@needed.com> wrote:

> Skybuck Flying wrote:
>>
>> Compute well this processor does not - Yoda.
>> Wrong is much with this processor - Yoda.
>> Breath I would not hold - Yoda.

I decided to wait for the next CPU a while ago. Not for the Bit 
Manipulation bug you posted on this group a while ago (as far as I know, 
all you need is AND OR and XOR, so what if some esoteric bit instruction 
is buggy). I decided to wait because I am not impressed with the "Turbo" 
boosts (0/0/0/2 - since Windoze never runs only 1 core, you will never 
see 4.2GHz). I decided I'd wait for the Skylake equivalent of Devil's 
Canyon...

[big snip, sorry, all good stuff but no need to repeat it]

> It's the ones that cost you performance, that
> make the fanbois crazy. The AMD TLB bug certainly
> upset a few happy owners of the affected silicon.
> And the Intel FDIV bug certainly cost Intel

Ya, I have a tagline or two around that:

- According 2 Intel, 1+1 equals 3, for very large values of 1.
- A bad random number generator: 1, 1, 1, 4.33e+67, 1, 1, 1...
- Hitchhicker's pentium Ed: The meaning of life is 41.9815...

> (all those Excel spreadsheet jokes). Intel has had
> a few wakeup calls, and I like to think that Skylake
> is another wakeup call ("staff getting sloppy,
> poor decision making"). So far it hasn't cost them
> any "big money". I don't know if users are
> returning their "bent" processors or not.

Well, they managed to make it 5-10% faster than previous model, even tho 
it doesn't turbo as well and even tho they dropped 8-way set associative 
L2 cache; it's still pretty impressive...

Best Regards,

-- 
! _\|/_  Sylvain / B00ze64@hotmail.com
! (o o)   Member-+-David-Suzuki-Fdn/EFF/Red+Cross/Planetary-Society-+-
oO-( )-Oo  "What's that?" -Arthur, "Something blue." -Ford

[toc] | [prev] | [next] | [standalone]


#393394

From"Skybuck Flying" <skybuck2000@hotmail.com>
Date2016-01-12 16:35 +0100
Message-ID<8317e$56951d3d$d47876e2$37389@news.ziggo.nl>
In reply to#393253
First of all comparing hardware to software is comparing apples to oranges.

To compare intel processors with operating systems would require intel's 
processors to be mostly software so they can be fixed ! ;)

Second of all some success in the past is no garantee for the future.

Currently Intel's products are a big fat mess.

(Reminds me of my first 80486 which produces weird pixels on the screen... 
never really figured out what caused that though ! ;) for now I assume 
memory or graphics card related or could be co-processors... yes that rings 
a bell... so again here we are...
1. 80486 co-processor problem (fpu)
2. pentium co-processor problem (fpu)
3. skylake co-processor problem ? (fpu)
Seems very much like Intel up to its old bad tricks again ! HA-HA ! :))

Anyway back to skylake, very worrieing reports are in that this processors 
locks up randomly while gaming !

Also intel is being very secretive about what the exact problem is.

This can't be good.

Either they don't know... but then their fix would be bogus.

Or they do know and it's something serious and they ain't telling ! ;)

Bye,
  Skybuck.

[toc] | [prev] | [next] | [standalone]


#393327

FromKeith Thompson <kst-u@mib.org>
Date2016-01-11 23:46 -0800
Message-ID<lnk2nfuto0.fsf@kst-u.example.com>
In reply to#393201
"Skybuck Flying" <skybuck2000@hotmail.com> writes:
> Apperently Intel's Skylake Processors can freeze up when calculating certain 
> Prime Numbers.
>
> I am investigating this story further, for now here is a link about it:
>
> https://communities.intel.com/mobile/mobile-access.jspa#jive-content?content=%2Fapi%2Fcore%2Fv3%2Fcontents%2F524553

Will people replying to this please remove any irrelevant newsgroups,
particularly comp.lang.c?  Thanks.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

[toc] | [prev] | [standalone]


Page 4 of 4 — ← Prev page 1 2 3 [4]

Back to top | Article view | sci.electronics.design


csiph-web