Sunday, 16 June 2013

Free lunch for programers

In my blog post Why shared mutable state is the root of all evil. I commented on the fact that for the last 10 years the free lunch for programers was over and significant performance gains were only possible by developing concurrent programs.

Last night I came across Herb Sutter who described this idea for the first time in early 2005 in his article in the Dr. Dobb's Journal titled "The Free Lunch Is Over - A Fundamental Turn Toward Concurrency in Software". Credit where credit is due I thought I write a blog post about this article.

Herb really hit the nail on the head and it is actually surprising to find a 8 year old text about computer performance which is pretty much still up-to-date.

Here is a quote from the article:

Quick: What’s the clock speed on the CPU(s) in your current workstation? Are you running at 10GHz? On Intel chips, we reached 2GHz a long time ago (August 2001), and according to CPU trends before 2003, now in early 2005 we should have the first 10GHz Pentium-family chips. A quick look around shows that, well, actually, we don’t. What’s more, such chips are not even on the horizon—we have no good idea at all about when we might see them appear. Well, then, what about 4GHz? We’re at 3.4GHz already—surely 4GHz can’t be far away? Alas, even 4GHz seems to be remote indeed. In mid-2004, as you probably know, Intel first delayed its planned introduction of a 4GHz chip until 2005, and then in fall 2004 it officially abandoned its 4GHz plans entirely. As of this writing, Intel is planning to ramp up a little further to 3.73GHz in early 2005 (already included in Figure 1 as the upper-right-most dot), but the clock race really is over, at least for now; Intel’s and most processor vendors’ future lies elsewhere as chip companies aggressively pursue the same new multicore directions.

It is almost scary to see that even now 8 years later the article was first published the fastest Intel CPU is the i7-3970X which has 3.5GHz with 6 Cores and 15MB of cache. For a while the CPU can increase its clockspeed for a bit (turbo mode) but this happens only if the CPU temperature it not too high already. In other words there are still no common CPUs with 4GHz or more in the market.

However the trend to more transistors and multicore processors is continuing. Intel's forthcoming Xeon Phi uses the Many Integrated Core Architecture and will have up to 61 cores, 30MB of L2 cache and only 1.25GHz clockspeed per core.

Conclusion

To improve throughput, latency and utilization in a world of CPUs with ever growing number of cores applications need to able to run in parallel. As a consequence higher-level concurrent programming techniques like message passing, which don't rely on shared mutable, will become more and more important in the future.

16 comments:

  1. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download Now

      >>>>> Download Full

      Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download LINK

      >>>>> Download Now

      Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download Full

      >>>>> Download LINK TN

      Delete
  2. We are The Best MBBS Medical College in the Philippines...Thank you!!!
    UV Gullas Medical College

    ReplyDelete
  3. We Provide the best Vlsi projects and Mini project centers in chennai
    vlsi projects and vlsi mini project centers in chennai

    ReplyDelete
  4. 1croreprojects offers the best ieee 2019 android projects chennai
    http://projectcentrechennai.in/
    Phone : +91 97518 00789 / +91 77081 50152

    ReplyDelete
  5. Did you hear there's a 12 word sentence you can say to your crush... that will trigger intense emotions of love and instinctual attractiveness to you buried inside his heart?

    Because hidden in these 12 words is a "secret signal" that triggers a man's instinct to love, please and look after you with his entire heart...

    12 Words That Fuel A Man's Love Response

    This instinct is so built-in to a man's brain that it will make him try harder than before to make your relationship the best part of both of your lives.

    Matter of fact, fueling this dominant instinct is so essential to having the best ever relationship with your man that as soon as you send your man one of the "Secret Signals"...

    ...You'll instantly notice him open his heart and mind for you in such a way he haven't expressed before and he will perceive you as the only woman in the galaxy who has ever truly fascinated him.

    ReplyDelete
  6. What a resourceful piece of information thank you for sharing. When it becomes hard to manage your resources, you can check this. I am very happy to read your post. I'm also sharing my nice stuff to you guys please go through it and take a review.

    Offshore Software Development
    seo india
    india seo service company

    ReplyDelete
  7. First You got a great blog. I will be interested in more similar topics. I see you got really very useful topics, I will be always checking your blog thanks.

    B.A. Part I Uniraj Result
    BA 2 Year Result Rajasthan University Name Wise
    Jaipur Raj University BA Final Year Result

    ReplyDelete
  8. Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download Now

    >>>>> Download Full

    Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download LINK

    >>>>> Download Now

    Henrik Eichenhardt'S Blog: Lunch For Programers >>>>> Download Full

    >>>>> Download LINK e0

    ReplyDelete
  9. Amazing Blog. Visit AAR Fragrance for Perfumes for Men Online at Best Prices in India, Buy Perfumes for Women Online in India, Davidoff Cool Water For Men EDT 125ml, and Versace Pour Homme Dylan Blue EDT 100ml.
    Perfumes for Men Online at Best Prices in India

    ReplyDelete