7 comments

  • addaon2 hours ago
    It would be interesting to do a write-up like this on &quot;modern microcontrollers.&quot; Some of the content is similar (some µc cores look relatively similar to µp cores with a 10-20 year lag), but there&#x27;s differences too. Things that would come to mind for me:<p>1) Strategic pipeline lengths -- long pipelines drive throughput, short pipelines drive interrupt responsiveness. 5-stage pipelines are still popular for realtime cores.<p>2) Heterogenous cores -- a mix of short- and long-pipeline cores on a single chip, with some optimized for responsiveness and some optimized for throughput. (This could actually be added to the µp article as well, discussing big.LITTLE style heterogeneity with some cores optimized for total throughput and some optimized for power efficiency.) Unlike in the µp case, this is pared with a general assumption that cores are usually developer-managed (asymmetric multiprocessing) rather than magically managed by a scheduled (symmetric multiprocessing). (Dedicated cores for low power come up in µcs too.)<p>3) Fast memories; some very fast memories. Everything fits in SRAM on chip. Some SRAM is tightly coupled to a specific core (tightly coupled memory), which gives as fast as single cycle access; some is hanging off an AXI bus to allow sharing between cores, but adds a few cycles (and possible collisions) to access, making caches still relevant (which has not always been true for µcs). The µp developer approach to performance of &quot;memory accesses rule everything&quot; is not nearly as true on µcs.<p>4) Peripherals and accelerators dominate silicon area, and dominate system performance. (This can also be said of µps these days.) Proper use of DMA engines can completely change the solution to problems. Smart peripherals unload huge amounts of work from the core, making the core less important -- in some cases, it&#x27;s really just there to configure the DMA engine and the peripherals. (This sounds an awful lot like cores on a µp just feeding GPUs these days.)<p>5) Topology awareness. Multiple AXI busses and peripheral busses; software needs to be aware of what peripheral or SRAM chunk hangs off what bus to maximize performance, minimize collisions, or even just to allow the peripheral to be used at all from a given core in a given power state. This has some similarities to NUMA awareness in µp development, but as with AMP vs SMP it&#x27;s generally more visible to developers.<p>I could keep going... there&#x27;s an article here.
  • MarkusQ45 minutes ago
    I&#x27;m still waiting for the update that explains why, after going from clock speed to FLOPS, etc. (which I understood) we suddenly started measuring processing power in GW. It makes as much sense as measuring automotive motors in decibels.
    • hephaes7us31 minutes ago
      Speaking in terms of GW makes sense when we are discussing performance of an individual datacenter since power is, kind of, the limiting factor.<p>Also, FLOPs per watt hasn&#x27;t changed as much lately, so thinking in terms of watts over a few-year time horizon does at least give you a ballpark of how many FLOPs.<p>If you&#x27;re talking about a chip, you obviously want to know about FLOPs moreso, but, even down to the level of individual rack-units, wattage is a serious concern. Not every facility is built for these crazy 200kW racks.
  • tralarpa4 hours ago
    Great article.<p>Wish list of topics to add:<p>- branch predictors that can detect patterns (edit: I guess it&#x27;s already covered in the paragraph about raising prediction accuracy)<p>- LRU-approximations in L1 caches<p>- Data prefetching (sequential, stride)<p>- Return address stack<p>Concerning μops, I think the 68060 did that, too.
  • hashtag-til5 hours ago
    This is the kind of website that needs to come back! No &quot;cookies bs&quot;, ads everywhere, &quot;plz sign up to my mailing list&quot;, &quot;share your location&quot;, &quot;comment where are you from&quot;, &quot;buy my ebook&quot;, subscribe, share.
    • kdhaskjdhadjk46 minutes ago
      It really hurts to see what a dumpster fire the internet of today is compared to the 90s or even the Web 2.0 days. There are some things we have now like Anna&#x27;s Archive that are gems, and I&#x27;m sure a number of other hidden gems out there I don&#x27;t even know about, but it&#x27;s buried in all the noise. The Big Tech sites have infested and taken over everything and ruined it all, and the masses are happy to go along for the ride. I would argue that Eternal September was not an isolated event but a sneak preview of the Hell to come, like the beginning of a tidal wave when the first part surges in.
    • Pay085 hours ago
      I&#x27;ve recently come across a language learning website that was nothing but HTML and a very light bit of CSS. It was beautiful.
      • alberto_ol5 hours ago
        link?
        • Pay085 hours ago
          I should specify, it was explicitly for Hungarian.
          • appplication4 hours ago
            Ah, HungarianText Markup Language.
            • Pay084 hours ago
              I meant the website. It&#x27;s <a href="http:&#x2F;&#x2F;www.hungarianreference.com" rel="nofollow">http:&#x2F;&#x2F;www.hungarianreference.com</a>.
              • kkkqkqkqkqlqlql3 hours ago
                Still has a gigantic blocking ad on mobile
                • Pay082 hours ago
                  Who isn&#x27;t using an adblocker these days?
    • alfiedotwtf4 hours ago
      … and full of page-turning information! That was a really interesting read :)
    • AtlasBarfed4 hours ago
      You forgot notifications
  • tomhow2 hours ago
    Previously...<p><i>Modern Microprocessors – A 90-Minute Guide (2001-2016)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27014027">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27014027</a> - May 2021 (41 comments)<p><i>Modern Microprocessors – A 90-Minute Guide (2001-2016)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18230383">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18230383</a> - Oct 2018 (87 comments)<p><i>Modern Microprocessors – A 90 Minute Guide</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11116211">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11116211</a> - Feb 2016 (12 comments)<p><i>Modern Microprocessors: A 90 Minute Guide</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7174513">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7174513</a> - Feb 2014 (37 comments)<p><i>Modern Microprocessors: A 90 Minute Guide</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2428403">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2428403</a> - April 2011 (30 comments)
  • bschne6 hours ago
    according to the title, I believe this should link here: <a href="https:&#x2F;&#x2F;www.lighterra.com&#x2F;papers&#x2F;modernmicroprocessors&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lighterra.com&#x2F;papers&#x2F;modernmicroprocessors&#x2F;</a>
    • tomhow2 hours ago
      Fixed, thanks!
  • grimmai1432 hours ago
    [flagged]