Optimizing memory latency for faster Rust code
👉Join the Rust Live Accelerator waitlist: https://letsgetrusty.com/join/wv-E2khZ_H-v4cWhy can doing more work make your Rust code faster? Learn how CPU caches, memory latency, and cache-friendly partitioning affect performance. We walk through counting user IDs across 99 million rows, use perf stat to identify memory stalls, and split the data into smaller partitions—reducing the example's warm-run time from 3.6 seconds to 2.7 seconds.
Based on Maor Kern's blog post:
https://pivotlake.io/blog/its-the-memory-latency-stupid/
Chapters
0:16 CPU caches and memory latency
2:14 Finding memory stalls with perf stat
3:01 Splitting data into cache-friendly partitions
3:35 Counting each partition
5:08 Comparing runtime and memory access Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to Optimizing memory latency for faster Rust code
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.