DiscoverMake it WorkHow much CPU & Memory?
How much CPU & Memory?

How much CPU & Memory?

Update: 2024-02-29
Share

Description

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:

  1. First impressions: Parca Agent on K8s 1.28 running as Talos 1.5
  2. See where your Go code allocates memory
  3. How to debug a memory issue with Parca?
  4. See which line of your Go code allocates the most memory

🎁 Access the audio & all videos as a single conversation at makeitwork.gerhard.io

LINKS

EPISODE 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

Comments 
In Channel
I LOVE TLS

I LOVE TLS

2025-05-2901:03:08

DevOps Sushi

DevOps Sushi

2025-04-2958:39

Fast Infrastructure

Fast Infrastructure

2025-02-2845:16

TalosCon 2024

TalosCon 2024

2024-09-2801:11:48

Modern CI/CD - Part 1

Modern CI/CD - Part 1

2024-07-0724:30

KubeCon EU 2024

KubeCon EU 2024

2024-04-3052:47

80ms response SLO

80ms response SLO

2024-02-2937:59

Automation Engine

Automation Engine

2024-02-2924:29

How much CPU & Memory?

How much CPU & Memory?

2024-02-2935:36

00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

How much CPU & Memory?

How much CPU & Memory?

Gerhard Lazu