r/askscience • • Mar 05 '13

Computing Is Moore's Law really still in effect?

So about 5 years ago, I was explaining to a friend that computing processing power doubles about once every year-and-a-half, approximately, according to Moore's law.

At that time Microprocessors were around 3 GHz in speed.

Thus at that time we estimated by the year 2013 microprocessors would be approaching speeds of 24 Ghz by the year 2013, approximately (don't we wish!).

And yet here we are... 5 years later, still stuck around the 3 to 4 Ghz range.

Many people I know feel disappointed, and have lamented that processing speeds have not gotten significantly better, and seem trapped at the 3 to 4 GHz range.

I've even begun to wonder if perhaps this failure to increase microprocessor speeds might in fact be a reason for the decline of the PC computer.

I recall that one of the big reasons to upgrade a PC in the last couple of decades (80's and 90's) was in fact to purchase a system with significantly faster speeds.

For example, if a PC arrived on the market today with a processing speed of 24 GHz, I'm pretty confident we would see a sudden surge and spike of interest in purchasing new PC computers, without a doubt.

So what gives here... has Moore's law stalled and gotten stuck in the 3 to 4 GHz range?

Or have I (in my foolishness!) misunderstood Moore's law, and perhaps Moore's law measures something else other than processing speeds?

Or maybe I've misunderstood how micro-processing speeds are rated these days?

152 Upvotes

63 comments sorted by

View all comments

Show parent comment

9

u/Snowkaul Mar 05 '13

Its worth noting that all operating systems benifit from more cores. Since each OS in modern desktops is built on the premise of the process and parrallel computing to maximize cpu usage. The more cores we have increases the efficency of the OS. This is because processes are cycled between based on there current state. While one process waits for an IO call it is suspended and another process begins running. With multiple cores we can switch between more processes and spread out the load. With more cores the processor wont get tied up as much and improves responsiveness of interrupts and ultimately user experience.

Hopefully this made sense. I wrote this on my phone so its hard to edit.

2

u/spdorsey Mar 05 '13

Would you know if a 12-core computer (my Mac) is particularly faster than a 4-core regarding OS tasks? I ask because I wonder if the OS "tops out" at 4 (or 8 or 12) cores, making it only beneficial to get a machine with a huge number of cores only if you do something like animation/rendering.

4

u/moor-GAYZ Mar 05 '13 edited Mar 05 '13

There was an article by Herb Sutter, "Welcome to the Jungle", about the further directions of computing technology. Given that his previous article from 2004 has hit the nail on the head with uncanny precision regarding the last seven years of tech, it's reasonable to pay attention to what he had to say in 2012 about the next five to ten years.

tl;dr: we already have enough processing power in our personal computers for our immediate needs. More processing power is cheaper and easier to buy from the cloud. The race regarding personal computers is not for processing power any more, but for miniaturization: I'm not going to buy an 8-core desktop, I'm going to buy a 4-core laptop, and then a 4-core smartphone (that I can dock into a real monitor and keyboard at home or at work). And then there would be a separate race for the hardware powering the cloud.

edit: I, personally, do not agree entirely, for example I envision one hell of a demand for personal computing power as soon as we get viable wearable computers, for image processing and stuff. But yeah, there's no place for desktops and laptops in this new brave world either way.

4

u/KaiserTom Mar 05 '13 edited Mar 05 '13

Alright, so here is something fun about multicore processors, you end up getting a virtual maximum speed up somewhere around 64 cores in a processor for most every processor task.This has to do with something wonderful called Amdahl's Law http://en.wikipedia.org/wiki/Amdahl's_law

The basic premise of it is that for lots of programs, there is still a phase that requires the progran to run in sequence, which makes sense, certain functions require the output of other functions to run, so it requires those functions to run first, it can't run those 2 functions parrallel to each other without having them talk to each other. This is why video encoding speed speeds up nearly linearly with more cores because there is very little sequential calculation involved with it, just parrallel encoding of different sections of video.

A practical limit to cores will probably be around 16 because many daily programs are highly sequential most of the time. From there we will probably use the spare transistors for specialization of certain functions within the processor, such as the recent speed increase in vector calculation in the upcoming Haswell processors. We will also start seeing processors utilizing Strained Silicon, improving performance by quite a bit.

1

u/fathan Memory Systems|Operating Systems Mar 15 '13 edited Mar 15 '13

you end up getting a virtual maximum speed up somewhere around 64 cores in a processor for most every processor task

What in the world makes you say this? Parallel speed-ups vary wildly between different tasks, and putting any single number to them is misleading at best.

A practical limit to cores will probably be around 16 because many daily programs are highly sequential most of the time

This is equally arbitrary. It reminds me of the famous IBM quote that "there is a world market for maybe 4 computers" -- which was correct when it was said! Technology changes, and this prediction is wrong.

we will probably use the spare transistors for specialization of certain functions within the processor, such as the recent speed increase in vector calculation in the upcoming Haswell processor

Vector calculation presumes parallelism, so this sentence contradicts the previous one (sequentiality).

Also bear in mind that people already use chips with hundreds of cores--GPUs. And the trend is then being used for more tasks not less.

1

u/KaiserTom Mar 15 '13

Did you even look at the link about Amdahl's Law that I posted that has to do a lot with everything you just said?

1

u/fathan Memory Systems|Operating Systems Mar 16 '13

Your link doesn't mention the magic numbers "64" and "16" that you included which are based on no scientific evidence whatsoever. Your post is filled with layman's speculation, and for that reason alone it should be removed. It also gives a simplistic explanation of the issues involved with getting speedup from multicore. There are issues beyond data parallelism, chiefly with efficient use of the memory system, and even non-data-parallel workloads can get ideal speedup in the right conditions if carefully written (e.g. http://www.jilp.org/vol6/v6paper8.pdf). Even Amdahl's law is a simplistic notion by the standards of publication (see http://software.intel.com/en-us/blogs/2010/05/24/parallel-programming-talk-77-charles-leiserson for how to think about parallelism).

This is /r/askscience, not ELI5.

2

u/NAG3LT Lasers | Nonlinear optics | Ultrashort IR Pulses Mar 05 '13

For OS tasks it would be perceptibly faster when some other task takes a lot of cores for itself. F.e. if you have some renderer that uses 8 threads to the max, on 4-core system you might experience slower system, while 12-core will perform well enough during the task (if RAM isn't maxed).

However I have a question for you - does your Mac have 2 Xeon CPUs?

1

u/fathan Memory Systems|Operating Systems Mar 15 '13

This presumes that your computation can do useful things on 4 cores (or however many you have). For many programs this is not true. Sometimes its because the programmer is lazy or incompetent, but other times its because the problem itself is fundamentally hard to parallelize (eg, TCP processing of a single connection). The former case is changing because people are starting to learn multicore. The latter case is a much harder nut to crack.

1

u/Snowkaul Mar 16 '13

that's only true in a micro scale. While a single process may not be able to utilize multiple cores the OS can. It will allow multiple processes to be executed more often. It would be ideal to always utilize all cores if it will increase efficiency but its not always required to get the job done.

1

u/fathan Memory Systems|Operating Systems Mar 16 '13

Again, this presumes you have 400% CPU utilization-worth of tasks to run. For most people's computer usage this is not the case, and they do not see much benefit from multicore. This is one of the main reasons Intel has stayed at fairly modest core counts, except in some high-end server systems.

Source: I am a researcher in distributed OS and multicore computer architecture.

1

u/Snowkaul Mar 16 '13

I assumed since we are talking about moore's law and power we would consider maximum efficiency as the goal.

1

u/fathan Memory Systems|Operating Systems Mar 16 '13

If your task comes in under 100% CPU load then you gain nothing from additional CPUs. If you have one task that runs at 100% (not parallel), and the remaining load on the system is 5-10% (this is a very common scenario for end user systems), then having an extra core can help quite a bit (more than 5-10%) by preventing interrupts and context switches from disrupting the bottlenecked job. However there is still no benefit from a third, fourth, etc core. You need CPU load that can make use of those cores. Too many desktop applications don't do this, and that's why Intel hasn't pushed high core counts into the end user market.

I'm not sure what you mean by efficiency. Performance or performance-per-watt?

1

u/Snowkaul Mar 16 '13

I was talking about performance. Thanks for the info. I figure an end user wouldn't benefit from more cores unless they had a need for it.