Profil de Herb SutterSutter's MillBlog Outils Aide

Blog


2007-09-24

Suggestion for "Required Viewing": Machine Architecture Talk Online

Over the past 15 years or so that I've been giving software development talks, I've never had the chutzpah to suggest one of my own talks be considered "required viewing" for serious developers regardless of language or platform. But I'm going to suggest it now.

Two years ago, several highly experienced software architects I know (whose names many of you gentle readers would recognize) complained to me privately that "we shouldn't let developers labor in ignorance" of how the enormous complexity of modern commodity computers affects our code's performance and correctness. From that seed and others like it sprang this talk, now freely available online:

Section of a slide imageMachine Architecture: Things Your Programming Language Never Told You (117 minutes)

Video: Google video (recorded live on Sep 19, 2007)
Slides: PDF slides

Abstract: Programmers are routinely surprised at what simple code actually does and how expensive it can be, because so many of us are unaware of the increasing complexity of the machine on which the program actually runs. This talk examines the “real meanings” and “true costs” of the code we write and run especially on commodity and server systems, by delving into the performance effects of bandwidth vs. latency limitations, the ever-deepening memory hierarchy, the changing costs arising from the hardware concurrency explosion, memory model effects all the way from the compiler to the CPU to the chipset to the cache, and more -- and what you can do about them.

Teaser: Would you be surprised to discover that only about 1% (one percent) of all the transistors on your modern CPU exist to ever compute anything? And that the other 99% (ninety-nine percent) of your CPU's transistors are essentially dedicated to nothing but hiding memory latency? Those are round numbers, of course. But you get the idea...

Slide image: So how do we cope with latency...?This is a talk I wish I'd been able to attend years ago. Consider making this required viewing for your team, including for new hires in software development roles. I guarantee it'll be time well invested.

Here's one suggestion: Roll your own training session. Arrange an extended lunch brownbag for your developers in a conference or training room, give each person a printout of the PDF slides to follow along and make notes, and display the video on the big screen. For extra benefit, leave a little time for group discussion, both during the session (the Pause feature is your friend) and afterwards ("how does this apply to our projects?"). Presto, instant training session -- and you don't even have to put your developers on a plane to attend a class somewhere, or arrange for a speaker to fly out to your site.

Finally, if you like the material and agree that it's worthwhile, please help spread the word. For example, you can tell Slashdot by going to Submit Story. Or, if you prefer, you can tell Digg, or Reddit, or one of the others... you know the rest of the usual suspects.

Enjoy!

Commentaires (19)

Veuillez patienter...
Le commentaire entré est trop long. Raccourcissez-le.
Vous n'avez rien entré. Réessayez.
Il est actuellement impossible d'ajouter votre commentaire. Réessayez plus tard.
Pour ajouter un commentaire, tu dois avoir l'autorisation de tes parents. Demander l'autorisation
Tes parents ont désactivé les commentaires.
Il est actuellement impossible de supprimer votre commentaire. Réessayez plus tard.
Vous avez dépassé le nombre maximal de commentaires qu'il est possible d'envoyer le même jour. Réessayez dans 24 heures.
Votre compte a pu laisser les commentaires désactivés parce que nos systèmes indiquent que vous risquez d'arroser d'autres utilisateurs de messages. Si vous pensez que votre compte a été désactivé par erreur, contactez l'assistance en ligne de Windows Live.
Effectuez la vérification de sécurité ci-dessous pour finaliser l'envoi de votre commentaire.
Les caractères entrés pour la vérification de sécurité doivent correspondre à ceux de l'image ou du fichier audio.
Herb Sutter a désactivé les commentaires dans cette page.
Image de Anonyme
wow gold a écrit :

If you really want to be a spellcaster, get armor that ends with "of the Eagle".wow gold "of the Owl", "of Intellect".or "of Spirit".wow gold kaufen These raise intellect or spirit, a spellcaster's two most valuable traits, Yes, most of these tend to be cloth.wow gold but I remember a few leather items with these traits sprinkled about the levels, Druids have it tough.wow po as they need a rogue's gear, a warrior's gear, and a mage's gear.achat wow gold My high level mage friends have a rogue set, an approximation of a warrior set using leather armor.and a mage set (cloth).Cheapest wow goldI haven't played a druid up very high, but I do have a high level Holy paladin.and I worked my way into getting him a cloth armor set suited for a priest.My armor shot down about 70% and I doubled my usefulness as a spellcaster..

2 Avr.
Image de Anonyme
2 Avr.
Aucun noma écrit :
With the dust settling wow gold now on World of Warcraft, it is wow po becoming more and more obvious that this is by far the best MMORPG currently on buy cheap wow gold the market. buy cheap wow gold It manages to walk a line that wow gold makes the game appealing both to the hardened power gamer, and casual weekend wow gold warrior, where both cheap wow gold can enjoy the game in their own special way, without stepping on each other's toes. cheap wow gold If you are looking for a new game wow gold kaufen in the genre, you would be doing yourself a terrible disservice by wow gold kaufen overlooking World of Warcraft.
26 Mar.
Aucun noma écrit :
 As players make their way through the quests wow gold and start leveling up, it quickly becomes wow gold kaufen clear just how well balanced World of Warcraft is at allowing people to decide whether they want to go solo, or group with others to get things done. wow gold This all comes down to how well balanced the different classes are in the game. wow gold kaufen It shouldn’t come as a surprise that something like a warrior, or a rogue, or a hunter in this game can handle themselves quite well going it alone in WoW, but it is very impressive to see magic users like the mages, and priests being able to hold their own while soloing (albeit with a little more difficulty). wow gold Even more impressive is that priests achat wow gold can become very viable damage dealers thanks to the way their talent tree is set up, a very welcome change from the traditional heal-bot nature that priest-like classes have suffered from in the past. wow po As one gets to the higher levels, more of the quests become something designated as "Elite" quests. achat wow gold These involve fighting particularly strong enemies, and will require grouping in order to complete them well. Cheapest wow gold It is a good way to make sure players are Cheapest wow gold well-trained when they hit the end game material, but for those who would prefer to solo all the way to level 60, there are still a decent number of soloable quests available.
26 Mar.
Aucun noma écrit :
The best headphones for mp3 players are the most important mp3 accessory for your mp3 player. mp3 player It isn't really an accessory, as it is mp3 player required for you to enjoy its music. cheap mp3 player As such, you'll want to get the best headphones for your mp3 players.Sometimes they are even disregarded. buy mp3 player People rather look at the colorful and shiny mp3 player itself, with its cheap wow power leveling leek design and attractive graphic display. mp3 player However, no matter if it's the best buy mp3 player sounding mp3 player, the final and most important step between the music and your ears is left to the headphones. MP3 PLAYER kaufen Those are the sole elements responsible for translating the electric audio signals back into the air vibrations commonly known as sound.So, don't go overboard and buy the most expensive mp3 player, and then stick with MP3 PLAYER kaufen some low quality headphones. mp3 player To truly experience mp3 player music any music you need to hear it right. That's why you should get the best headphones for mp3 players you can find.
26 Mar.
Aucun noma écrit :

After Sharkkis wow power leveling dies the DPS moves on to Tidalvess. wow power leveling He is the next target wow level service and will deal a lot of cheap wow power leveling damage to the raid. cheap wow power leveling Until this point the tank of Tidalvess and his healers were being hit by the Firespit totems and healing through the damage, but now you can't ignore the totem any longer. wow powerleveling If you don't damage it the raid will take too much damage. wow powerleveling It must be focused wow powerleveling by ranged wow powerlevelingDPS as soon as it spawns. wow leveln It will help your wow powerleveling healers' mana a lot!.

26 Mar.
23 Mar.
22 Mar.
Image de Anonyme
(没有名字) a écrit :
我以为感情就应该这样杭州写字楼装修一帆风顺,朋友们都羡慕我补漏公司命好,碰到一个这样疼惜我的杭州房屋装修男人。我几乎新房装饰是毫无保留地喜欢洗衣机维修他,学校里针尖大的杭州装潢公司事情都要告诉杭州搬家他,他总是笑着摸摸杭州空调维修的头,说“乖哦”,然后轻轻把我揽进装饰公司怀里。我也帮他做杭州装修家务
7 Mar.
28 Fév.
Aucun noma écrit :
http://www.internetsolutionsireland.com/
Wow guy who submitter 20 links is great! :) Respect
http://www.internetsolutionsireland.com/
28 Fév.
Image de Anonyme
(没有名字) a écrit :

杭州装饰礼服是最近明星们杭州空调维修偏爱的,尤其是出席杭州搬家公共场合,既不会显得杭州补漏随便,也不会不够杭州装修公司性感。当然,深V礼服杭州装饰公司不仅仅是杭州装潢明星们偏爱,要去杭州家政参加派对的你也可以尝试啊!你知道了男人的杭州店面装修这一心理状态,就在他处于办公楼装修低潮的时候主动接近他、鼓励杭州电脑维修他、静听他杭州空调拆装的倾诉无论是装饰工程公司聚会场合,或是出外家居装饰游玩,都一定会拍照装饰公司留下纪念!但回家检视杭州洗衣机维修相簿时杭州开锁高呼后果

27 Fév.
Image de Anonyme
(没有名字) a écrit :
27 Fév.
21 Fév.
11 Fév.
28 Jan.
absolutfor​you .a écrit :
indeed very made this blog..thanks for these instructions that you have put to disposition for all people
have a nice day
21 Jan.
Bryanta écrit :
Herb -
 
Great talk, thanks for sharing.  The slides don't seem to be the same version that you show in the video.  Do you have the updated slides and/or a higher-res video so that the slides can be seen? 
 
thx,
Bryant
 
 
5 Nov.
Johna écrit :
Wow! Excellent talk! Thanks for sharing.
26 Oct.

Rétroliens (2)

L'URL de rétrolien de ce billet est :
http://herbsutter.spaces.live.com/blog/cns!2D4327CC297151BB!304.trak
Blogs Web qui font référence à ce billet