Listen "How much CPU & Memory?"
Episode Synopsis
This episode looks into the observability tool Parca & Polar Signals Cloud with Frederic Branczyk and Thor Hansen. We discuss experiences and discoveries using Parca for detailed system-wide performance analysis, which transcends programming languages.We highlight a significant discovery related to kube-prometheus and the unnecessary CPU usage caused by Prometheus exporter's attempts to access BTRFS stats, leading to a beneficial configuration change for Kubernetes users globally.We also explore Parca Agent's installation on Kubernetes 1.28 running on Talos 1.5, the process of capturing memory profiles with Parca, and the efficiency of the Parca Agent in terms of memory and CPU usage.We touch upon the continuous operation of the Parca Agent, the importance of profiling for debugging and optimization, and the potential of profile-guided optimizations in Go 1.22 for enhancing software efficiency.🎬 Screensharing videos that go with this episode:First impressions: Parca Agent on K8s 1.28 running as Talos 1.5See where your Go code allocates memoryHow to debug a memory issue with Parca?See which line of your Go code allocates the most memory🎁 Access the audio & all videos as a single conversation at makeitwork.gerhard.ioLINKSGo Profile-guided optimizationView Profiling Data within CodeAnnouncing Continuous Memory Profiling for RustEPISODE CHAPTERS
(00:00) - Intro
(02:21) - kube-prometheus discovery & fix
(06:29) - Parca Agent on K8s 1.28 running as Talos 1.5
(06:49) - How to capture memory profiles with Parca?
(08:42) - pprof.me
(10:42) - Data retention in Parca
(11:42) - A real-world memory issue debugging example
(16:05) - How much memory is Parca Server expected to use?
(17:39) - How much memory is the Parca Agent expected to use?
(19:42) - What about Parca Agent CPU usage?
(21:57) - Is Parca Agent meant to run continously?
(23:03) - Other Parca stories worth sharing
(25:19) - What are the things that you are looking forward to in 2024?
(27:23) - Golang Profile Guided Optimisations with Parca
(30:22) - Frederic's surprise screen share
(34:02) - Wrap-up
More episodes of the podcast Make it Work
Pairing-up on a CDN PURGE with Elixir
29/06/2025
I LOVE TLS
29/05/2025
DevOps Sushi
29/04/2025
Fast Infrastructure
28/02/2025
Keep Alert Chaos in Check
26/01/2025
Let's build a CDN - Part 2
16/12/2024
Move fast & break nothing
26/10/2024
TalosCon 2024
28/09/2024
Access your Kubernetes pods anywhere
12/08/2024
Modern CI/CD - Part 1
07/07/2024
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.