Open in app

Sign In

Write

Sign In

Tungdam
Tungdam

62 Followers

Home

About

Published in Coccoc Engineering Blog

·Pinned

Practical Linux tracing ( Part 1/5) : symbols, debug symbols and stack unwinding

Disclaimer I’m not a professional tracer. What you are going to see here are the results of my adventure so far with Linux tracing tools. I’m still learning them everyday. Most of the background concepts you’ll see are simplified, may be over simplified to let us understand them more easily…

Practical Linux Tracing

11 min read

Things you should know to begin playing with Linux tracing tools ( Part I/X )
Things you should know to begin playing with Linux tracing tools ( Part I/X )
Practical Linux Tracing

11 min read


Dec 1, 2022

Small things that helped

Handy Linux network-related things that helped me. Hopefully they’re helpful with you as well. I’m sick at home, can’t sleep and it’s boring af. Let’s write something to cheer things up. Resolving file descriptor in strace output with -yy Sometimes we want to know which file / socket / device…

Linux

5 min read

Linux

5 min read


Published in Coccoc Engineering Blog

·Apr 12, 2022

A note on Cilium’s iptables usage

About how cilium thinks about iptables and how are they using it. Audiences For people who want to understand why cilium still uses iptables and how. Cilium doesn’t like iptables I’ve been playing with cilium for a while and was impressed by how it is leveraging ebpf to build a high performance, scalable solution for…

Sre

6 min read

A note on Cilium’s iptables usage
A note on Cilium’s iptables usage
Sre

6 min read


Published in Coccoc Engineering Blog

·Jan 6, 2022

Linux network ring buffers

Trying to cover what I don’t know about Linux network Quite often I question myself about the role of Linux kernel memory with its network components. How many of them are allocated and when ? …

Linux

7 min read

Linux network ring buffers
Linux network ring buffers
Linux

7 min read


Dec 31, 2021

Practical tracing: a final recap

What I’ve learned so far about tracing This is a wrap up of my practical linux tracing series. You can see older posts start from here. In this final write-up, I’ll change my style a bit, to make it more straight to the point. Here are my top 10 key…

Sysadmin

3 min read

Practical tracing: a final recap
Practical tracing: a final recap
Sysadmin

3 min read


Published in Coccoc Engineering Blog

·Oct 4, 2021

Practical Linux tracing part 4: tracing container workload

The similarity and difference in comparison with normal workload TL;DR Same same: Tracing kernel events ( syscall, kprobe, tracepoints ) works in the same way Profiling user-space program by perf works in the same way ( Linux 4.14+ ) But different: Namespaces prevent tracing user-space events by kernel tracing infrastructure. (…

Sre

7 min read

Practical Linux tracing part 4: tracing container workload
Practical Linux tracing part 4: tracing container workload
Sre

7 min read


Jul 1, 2021

Our OKR journey so far

A sysadmin’s reflection on several years of practicing OKR Preface This is the very first ever article about management ( ? ) . I even don’t know if a goal-setting framework like Objective Key Result can be classified as a managerial stuff, but as we ( our company / team )…

Okr

7 min read

Our OKR journey so far
Our OKR journey so far
Okr

7 min read


Published in Coccoc Engineering Blog

·Jun 30, 2021

Practical Linux tracing ( part 3 ): Strategies for adhoc analysis

How to pick the right event[s] to drill down. Preface If you’re reading this blog, most likely you’re fan of Linux tracing and BPF based tools. Given its power, it’s very tempting to jump into your new shiny tools box to troubleshoot problems. Sometimes it works, but mostly it doesn’t. In…

Sre

6 min read

Practical Linux tracing ( part 3 ): Strategies for adhoc analysis
Practical Linux tracing ( part 3 ): Strategies for adhoc analysis
Sre

6 min read


Published in Coccoc Engineering Blog

·Apr 2, 2021

Our lessons on Linux writeback: do “dirty” jobs the right way

TL;DR Writeback is innocent. It ensures data consistency and free up memory for other tasks. Understand it then it will pay you back. Unfortunately, sometimes writeback can be the root cause that triggers other things that may affect your very latency-sensitive application: TLB shootdown, high context-switches, stable pages write. Writeback…

Bpftrace

7 min read

Our lessons on Linux writeback: do “dirty” jobs the right way
Our lessons on Linux writeback: do “dirty” jobs the right way
Bpftrace

7 min read


Published in Coccoc Engineering Blog

·Jan 7, 2021

A calm sysadmin

I promised my team to publish a blog post within last week, to actually meet our humble target for public blog posts last quarter ( We’re trying to write more but are all lazy ). This should be an article to continue my tracing series or a new finding about…

Sysadmin

4 min read

Sysadmin

4 min read

Tungdam

Tungdam

62 Followers

Sysadmin. Amateur Linux tracer. Performance enthusiast.

Following
  • hdhoang

    hdhoang

  • Tuấn Anh Phạm

    Tuấn Anh Phạm

  • ducnm

    ducnm

  • Duc Nc

    Duc Nc

  • CocCoc Techblog

    CocCoc Techblog

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech