News for hackers. Stuff that matters.
Re:Intel knows it's no longer inside by frik on Wednesday June 01, 2016 @01:29PM (#11816352)
@Intel: how about thinking about 10GHz single core CPUs? And where is Atom? Why are we stuck in 2006 era CPU singe core performance?

@nVidia: how about thinking about affordable high end GPUs? The GPUs got 400% more expensive since 2011.

It's a pitty that AMD bought ATI, and now they can't compete with Intel and nVidia. And we all have to suffer and pay higher prices and get less performance - because no real competition exists any more.

Re:Intel knows it's no longer inside by cfallin on Wednesday June 01, 2016 @01:49PM (#11816568)
> @Intel: how about thinking about 10GHz single core CPUs?

They tried that -- the Pentium 4. The key design goal was to push clock speed as high as possible, and they used some crazy tricks, like 30-some-stage pipelines, a really long instruction scheduling loop with a pretty long lookahead, a double-pumped ALU with staggered 16-bit half-adds, etc. Fascinating from a microarchitecture perspective, but the big lesson was that high clock speeds sacrifice efficiency. The tricks needed to get there cause a lot of performance outliers/bad cases too -- e.g. the instruction scheduling replay system on lookahead conflicts was notorious for "tornados" which would kill IPC. And the branch prediction of the day was somewhat suboptimal for the pipeline lengths involved.

> Why are we stuck in 2006 era CPU singe core performance?

We aren't! The core microarchitecture teams at Intel and their competitors have made a lot of incremental progress -- Intel gets about 15% single-thread performance per generation, for example. No one is evilly scheming and holding back from turning a knob higher. There's just a lot of really hard engineering. Clock speed has topped out due to power limitations so we're at the point of looking for better branch prediction algorithms, cache replacement algorithms, and lots of little tricks everywhere to optimize bad cases. It's hard work (this was my job for a bit).

I'd recommend looking at, e.g., the proceedings of ISCA and MICRO conferences in the 2000-2006 timeframe -- this was when the industry and associated academia figured out that chasing clock speed was a losing battle after a certain point.

Re:Intel knows it's no longer inside by TillE on Wednesday June 01, 2016 @02:23PM (#11816867)
Right, even single CPU performance of mainstream Intel chips has more than doubled in 7 years (Nehalem to Skylake).

Many important things which affect performance have been stagnant for a very long time, especially cache size and RAM latency. But there's been steady progress in raw CPU power, coupled with a significant reduction in TDP.

Re:Intel knows it's no longer inside by gpderetta on Wednesday June 01, 2016 @07:22PM (#11819121)
Do you have a reference for the doubling? How much does the boost from AVX affect the score?

I'm asking because I recently "upgraded" my desktop to a cheap westmere 6 core xeon [1] as in most benchmarks it is competitive with recent i7s.

[1] x5670 @3ghz, but should easily overclock well into the 4ghz range.

Edit: autocorrect

Re:Intel knows it's no longer inside by robocat on Thursday June 02, 2016 @05:31AM (#11821270)
Primatelabs provide benchmarks for: 32 bit 1 CPU, 32 bit threaded, 64 bit 1 CPU, 64 bit threaded.

https://browser.primatelabs.com

Useful information if your workload is single threaded.

Note that their usage of the word browser is nothing to do with www browsers.

Re:Intel knows it's no longer inside by gpderetta on Thursday June 02, 2016 @06:12AM (#11821400)
Oh, Geekbench which can be 'won' by implementing a single encryption instruction in hardware.

Still, even looking at the scores for less broken sub benchmarks, like (possibly) lua and dijkstra show a %50 increase in performance from Westmere to Skylake for the same frequency, which is more than I was expecting. And skylake should potentially clock much higher although I believe the top is currently still 4ghz.

Of course for anything that can take advantage AVX2 (or AVX3 for xeons) skylake would smoke the old xeon.

edit: reword

Re:Intel knows it's no longer inside by sirsar on Wednesday June 01, 2016 @02:10PM (#11816762)
What does it mean to have a "double pumped" ALU? Google is failing me.
Re:Intel knows it's no longer inside by cfallin on Wednesday June 01, 2016 @02:16PM (#11816811)
The ALU performs an operation on half of the machine word (16 of the 32 bits) each half-cycle, i.e., one on the rising edge and one on the falling edge of the clock. Basically they split the carry chain across two (half-)pipe stages and then run it twice as fast.

See Hinton et al., "The microarchitecture of the Pentium 4 processor" [1] for all the nifty details -- pp 8-9, and Fig 7 in particular.

[1] http://www.ecs.umass.edu/ece/koren/ece568/papers/Pentium4.pd...

Re:Intel knows it's no longer inside by userbinator on Wednesday June 01, 2016 @09:15PM (#11819658)
That also makes for some very interesting timings, where the instruction runs faster in the case that there's no carry between the two halves.

From section 2 of this:

https://gmplib.org/~tege/x86-timing.pdf

"Pentium F0-F2 can sustain 3 add r, i per cycle for -32768 <= i <= 32767, but for larger immediate operands it can sustain only about 3/2 per cycle."

Re:Intel knows it's no longer inside by sirsar on Wednesday June 01, 2016 @02:24PM (#11816876)
Makes sense, thanks!
Re:Intel knows it's no longer inside by tcas on Wednesday June 01, 2016 @02:26PM (#11816901)
It runs at 2x the clock rate as the main chip. So if the chip is running at 2Ghz, the ALU is running at 4Ghz.

While this might not make sense at the surface (the next stage of the pipeline won't be ready for the data a half clock cycle earlier), you can minimize logic area by doing 2 quick 16 bit operations. Additionally, for some operations that have dependent instructions, for example a super scalar processor executing two integer instructions at once, if you have an ADD that depends on another ADD, you can forward the result from the first cycle on the first ALU to the second cycle on the second, although I'm not sure if this is actually done.

Another case where this is useful is if the result of an ADD operation needs to be used on a LOAD instruction earlier, you can forward the result a half clock cycle sooner.

Re:Intel knows it's no longer inside by RussianCow on Wednesday June 01, 2016 @01:52PM (#11816602)
> @Intel: how about thinking about 10GHz single core CPUs? And where is Atom? Why are we stuck in 2006 era CPU singe core performance?

Because that's physically impractical (if not impossible) with today's technology. Intel themselves actually have a good article[0] on the topic. Besides, there's way more to CPU performance than clock speed—today's Intel CPUs are several times faster than the Penitum 4, for instance, even at lower frequencies.

> @nVidia: how about thinking about affordable high end GPUs? The GPUs got 400% more expensive since 2011.

What are you talking about? GPU performance is plateauing a little bit, but the cards are only getting cheaper and more energy efficient, especially the high-end ones. Both Nvidia and AMD have announced new high-end cards coming soon that will give you the performance of the current high-end cards (Titan X and Fury X) at a little over half the price. Edit: Apparently they won't be that much cheaper than previous generations, but certainly within the grasp of any enthusiast or professional who really wants/needs them.

Plus, isn't "affordable high end" kind of an oxymoron? "High end" is almost by definition not affordable for most people.

[0]: https://software.intel.com/en-us/blogs/2014/02/19/why-has-cp...

Re:Intel knows it's no longer inside by redtuesday on Wednesday June 01, 2016 @02:39PM (#11817009)
I would guess frik probably means this: in 2010/2011 you had to pay ~350 euros for AMDs 5870 when it launched, or ~450 euros for nvidias GTX 580. Now you have to pay ~700 euros for AMDs Fury X or ~800 euros for nvidias GTX 980ti at launch. That's not 400% more expensive but they are not cheaper either.
Re:Intel knows it's no longer inside by tgb on Wednesday June 01, 2016 @09:45PM (#11819791)
In the US, release price of GTX 580 was $500 and release price of the 1080 at launch is $600. Converting the 580's price to 2016 dollars gives about a 10% increase in price.

The 980 TI I'm not sure is the best comparison to a GTX 580. It was intentionally a very expensive ultra-high end card. The GTX 590 debuted at $700.

There does seem to be a problem with prices being ridiculously high in most non-US regions, though.

Re:Intel knows it's no longer inside by xyience on Wednesday June 01, 2016 @01:49PM (#11816570)
Atom is no longer needed since their non-atom CPUs have a low enough power profile now. We're stuck in single core performance hell because physics.

I don't know where you've been but GPU competition between nvidia and AMD has been pretty healthy for the last few years, and AMDs specifically have been quite affordable. (That's not even taking into account they easily paid for themselves with Litecoin mining at one point.) It's only CPU competition that has been dead, but that's been the case ever since the Core line came out. (I guess you could count ARM too for low-end CPU competition, but both Intel and ARM can actually afford to lose that market entirely as their businesses are propped up by other things.)

Re:Intel knows it's no longer inside by paulmd on Wednesday June 01, 2016 @02:30PM (#11816926)
Competition really hasn't been healthy, beginning with the Kepler generation. Ever since then, AMD has been unable to get a solid win, and most of their cards have been rebrands. They're still running some first-gen GCN chips (dating back to 2012) in their current lineup. Heck, some of their prices have actually increased in the last few years (eg the 390 rebrand raised the price by $100).

NVIDIA held the upper hand with GK110 (780/Titan), then AMD dropped the 290X. This forced NVIDIA to readjust their prices and release the 780 Ti as an interim measure, but they held onto their lead position. Then NVIDIA started with the Maxwell series, which drastically improved both performance and efficiency. AMD tried to respond to the Titan X with the Fury X, but NVIDIA cut the legs out from under them by releasing the 980 Ti. Now once again AMD is behind the performance curve - NVIDIA has staked out the high-end space with the 1080 and the midrange with the 1070, and AMD is stuck in the low-end market with the RX480 until NVIDIA can get GP106 out.

AMD's response to the 1080 is going to be the Vega 10 chip, and unfortunately it's unlikely to be released before Q4 2016 at the earliest (more likely Q1 or Q2 2017). NVIDIA already has GP102 coming down the pipe, which is going to be a Titan/1080 Ti, and they'll drop that when they feel it's necessary to spoil AMD's sales.

That's the story of AMD and NVIDIA recently. AMD has put out some cards that were good value for the money - both the 7950/7970 and 290/290X have been very long-lived performers (and will likely continue to perform well thanks to DX12). But they haven't taken the top since 2012, all they can do at this point is force some price reductions. Like it or not they aren't a serious competitor in the GPU space any more than they are in the CPU space. They are a budget choice, not a serious contender.

Re:Intel knows it's no longer inside by redtuesday on Wednesday June 01, 2016 @02:54PM (#11817142)
To add to that, since Kepler AMD fell from ~45% marketshare to 20%. It seems they want to regain marketshare by starting with the 199 dollar AMD RX 480 which should deliver performance between GTX 970 and GTX 980 (maybe even like the small Fury).

There is also a rumor about AMD pushing Vega forward to october to release it around the new Battlefield (I doubt it, but it would certainly be nice).

Re:Intel knows it's no longer inside by the8472 on Wednesday June 01, 2016 @07:32PM (#11819177)
> We're stuck in single core performance hell because physics.

Wouldn't other semiconductor materials allow higher clock speeds and it's just that the switch would be difficult to do incrementally?

Re:Intel knows it's no longer inside by nl on Wednesday June 01, 2016 @08:28PM (#11819480)
Wouldn't other semiconductor materials allow higher clock speeds and it's just that the switch would be difficult to do incrementally?

Short answer is "no", but other materials may allow smaller manufacturing technologies. "Incrementally" isn't really a factor - every die-shrink is basically a new manufacturing process.

http://arstechnica.com/gadgets/2015/02/intel-forges-ahead-to...

http://arstechnica.com/gadgets/2015/07/ibm-unveils-industrys...

Re:Intel knows it's no longer inside by raverbashing on Wednesday June 01, 2016 @01:44PM (#11816520)
MHz/GHz are overrated. Not to mention today's 3GHz Intel and AMD offerings are much faster (per core) than let's say, the 3GHz offerings of 10y (?) ago

nVidia got their bets right with investing on uses other than gaming for their GPUs now they're eating AMD/ATI in the deep learning field

Affordable and High End are rarely on the same phrase, so there's your answer to when nVidia is going to do that

Re:Intel knows it's no longer inside by protomyth on Wednesday June 01, 2016 @02:03PM (#11816698)
MHz/GHz is basically RPM in a car, not the greatest determinate of speed.
Re:Intel knows it's no longer inside by squeaky-clean on Wednesday June 01, 2016 @02:59PM (#11817176)
What a perfect analogy! Next time I'm having this discussion with people, I'll have to remember this.
Re:Intel knows it's no longer inside by raverbashing on Wednesday June 01, 2016 @02:55PM (#11817154)
Re:Intel knows it's no longer inside by hvidgaard on Wednesday June 01, 2016 @05:43PM (#11818469)
Except that the absolute pinnacle of motorsport go as high as they can because it is what produces the most power.

Not that this matter for normal cars.

Re:Intel knows it's no longer inside by protomyth on Wednesday June 01, 2016 @05:55PM (#11818550)
Sure, some sports car engines turn at over 9,000 RPM, but a car stuck in 1st gear on 9 inch wide street tires is not going to go faster than the same car in 5th with 11.5 inch wide racing tires. Even at the pinnacle of motorsport RPM is a poor determinant of speed, it takes a whole system.
Re:Intel knows it's no longer inside by hvidgaard on Thursday June 02, 2016 @02:20AM (#11820712)
That is true, but at least for engines, it's a fairly safe bet, that if the engines goes beyond 12k rpm, it's build for speed.

That said, I suppose this differs depending on wether or not you think of the gearbox as a part of the engine (CPU) or not.

Re:Intel knows it's no longer inside by protomyth on Thursday June 02, 2016 @09:42AM (#11822364)
My analogy was comparing the CPU to a car, so I do consider the gearbox. An engine, no matter how many RPMs it can turn, is pretty useless without the vehicle.
Re:Intel knows it's no longer inside by slededit on Wednesday June 01, 2016 @06:32PM (#11818799)
The redline is almost never the point of peak horsepower. This is primarily driven by the fact that the valves can't close/open fast enough at these speeds. Its much worse on domestic vehicles that have to care about fuel efficiency (and so can't use stiffer springs) but the effect is still visible even in race cars.
Re:Intel knows it's no longer inside by hvidgaard on Thursday June 02, 2016 @02:15AM (#11820690)
In F1 the previous generation engines was limited to 18k rpm by the regulations. They could go higher, and since they always went up to the 18k, it's safe to say it provided the most power, otherwise they would have shifted before.
Re:Intel knows it's no longer inside by _ihaque on Wednesday June 01, 2016 @01:58PM (#11816655)
A humorous take on answering these questions: http://scholar.harvard.edu/files/mickens/files/theslowwinter...
Re:Intel knows it's no longer inside by rlonstein on Wednesday June 01, 2016 @03:01PM (#11817195)
Everything by James Mickens seems to humorously puncture research. Take his essay The Saddest Moment, https://www.usenix.org/system/files/login-logout_1305_micken..., which had me laughing out loud because I've attended just that kind of conference talk, seen that set of diagrams, and I swear I've had to coordinate lunch via IM with those kinds of people ;)
Re:Intel knows it's no longer inside by NikolaNovak on Wednesday June 01, 2016 @03:41PM (#11817498)
I have found Hacker News to be a very concentrated source of useful material, with a high ratio of "want to read / glad I read" articles.

... but nothing compares, nothing has prepared me, for the sheer awesomeness, of these two links. I now must store the PDFs in a safe repository with GoogleCalendar note to re-read them frequently :->

Re:Intel knows it's no longer inside by throwaway676565 on Friday June 03, 2016 @04:54PM (#11833210)
The man is beyond brilliant. Check out his take on computer security: https://www.youtube.com/watch?v=tF24WHumvIc
Re:Intel knows it's no longer inside by agumonkey on Wednesday June 01, 2016 @02:35PM (#11816972)
I'm curious, what would you do that 10GHz would allow ?

IMO the only issue is commercial pressure killing integration. Until Vulkan GPUs were underutilized. Audio drivers lying about hardware capabilities. Software layers ever shifting. Absurd use cases: ads invaded html5, half accelerated html video....