Pointer compression in Oilpan

Optimizing AWS F1 DMA

Integrations on Rails: How we build and deploy integrations at FireHydrant

How we diagnosed and resolved Redis latency spikes with BPF and other tools

Issue #302

12/1/2022

{{PreviewText}} 

Hey-yo
You know when you're eating something and accidentally inhale, causing a piece of food to stick to the back of your throat, causing a violent coughing fit? Yeah I hate that. Coughed oatmeal all over my keyboard this morning.
Looks like we have an optimization themed issue today! Woo. Computer go brrrrrrrrrrrr.
Anyway, here's the issue.

====================================================================

Today's Sponsor: FireHydrant

Incident management for every developer. Stop simply putting out fires and start improving reliability with a full-cycle incident management platform.

====================================================================

Pointer compression in Oilpan

Published: 28 November 2022
Tags: c++, memory, optimization


Anton Bikineev and Michael Lippautz go through implementing pointer compression in Oilpan.
Some highlights:

  • Oilpan is "a traced-based garbage collector for C++ which is among other things used to host the Document Object Model in Blink" (Blink is a browser engine for Chromium)
  • "Pointer compression is a mechanism to reduce the size of pointers on 64-bit platforms"
  • 21% improvement on Blink's memory usage on Windows, 6% on Android


====================================================================

Optimizing AWS F1 DMA

Published: 1 December 2022
Tags: aws, fpga, optimization, rust


Tony Wu discusses a pain point that occurs "when transferring large amounts of data from a software application running on a typical x86 host machine to an FPGA for accelerated computation".
Some highlights:

  • "Multi-Scalar-Multiplication is one of the major computational bottlenecks at the core of many Zero-Knowledge-Proof systems"
  • "Xilinx/AWS provides a Linux-based driver running in kernel space that manages the low-level configuration of the DMA hardware on the FPGA"
  • "Using CPU cores to transfer data usually has low latency, however it is very inefficient for large amounts of data and can result in low performance, so we would much rather use a DMA for the task"


====================================================================

Integrations on Rails: How we build and deploy integrations at FireHydrant

Published: 28 November 2022
Tags: postgres, ruby, sponsored, web


FireHydrant presents how they develop integrations for their software with other software and dive deep into the supporting infrastructure.


====================================================================

How we diagnosed and resolved Redis latency spikes with BPF and other tools

Published: 28 November 2022
Tags: optimization, redis


Matt Smiley tells a tale concerning "a Redis instance acting exclusively as a least recently used (LRU) cache".
Some highlights:

  • Redis cache would suffer from bursts of very high latency and corresponding throughput drop
  • Redis pretty much single threaded
  • There's a "Key insights summary" section you should check out


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2993

Opens: 1364

Clicks: 286

Link Clicks Clicks % Unique Clicks Unique Clicks %
Pointer compression in Oilpan 59 33.15% 59 32.07
Optimizing AWS F1 DMA 33 18.54% 34 18.48
Integrations on Rails: How we build and deploy integrations at FireHydrant Awaiting Update Awaiting Update Awaiting Update Awaiting Update
How we diagnosed and resolved Redis latency spikes with BPF and other tools 86 48.31% 91 49.46

Previous

Back to Issues

Next