Memory Bandwidth Napkin Math
forrestthewoods.com
Memory Bandwidth Napkin Math
1–10 of 56 posts
Re: Memory Bandwidth Napkin Math
#2Re: Memory Bandwidth Napkin Math
#3This is a lot more than just Napkin Math. He writes a synthetic benchmark to demonstrate the orders of magnitude difference in performance you can see depending on how you approach a problem.
Re: Memory Bandwidth Napkin Math
#4A lot of work has been already done in this area.
Re: Memory Bandwidth Napkin Math
#5It does seem like there are classes of problems which are completely bandwidth-limited. I've heard this is the next area of expansion for hardware tech, but I haven't seen much yet.
Re: Memory Bandwidth Napkin Math
#6To practise, I created a newsletter last year with a monthly problem that may be of interest to others wanting to sharpen their napkin math: https://sirupsen.com/napkin/
Re: Memory Bandwidth Napkin Math
#7I’ve been fascinated by the 'napkin math' topic recently, but felt a need for a way to routinely practise. It’s an acquired skill once it’s effortless to do the order of magnitude calculations in a meeting, or zipping through possible solutions on a whiteboard (what I imagine Jeff Dean does). Will it be fast enough? How much will it cost? Does the benchmarked performance match the order of magnitude we’d expect? To p…
Re: Memory Bandwidth Napkin Math
#8Sounds like he's trying to reinvent the roofline model. A lot of work has been already done in this area. https://en.wikipedia.org/wiki/Roofline_model
Re: Memory Bandwidth Napkin Math
#9Sounds like he's trying to reinvent the roofline model. A lot of work has been already done in this area. https://en.wikipedia.org/wiki/Roofline_model
Re: Memory Bandwidth Napkin Math
#10Good problem description, good introduction, explained code, meaningful and explained graphs, full source code available, conclusion and even possible further exercises. I wish (all) scientific papers were that well written.