Linux Format

Observability of the kernel and containers

OUR EXPERT

Mihalis Tsoukalos is currently working on Time Series. You can reach him at: @mactsouk.

For our final delve into eBPF, we’re tackling applications, the kernel and Docker containers. At the end of the day, all Linux machines execute code for applications or services, and we want to be able to understand why our programs are running slowly or misbehaving. Although the issue is usually with the app itself, there are times when the Linux kernel is misconfigured or is running slowly due to system limitations (memory, hard disk, network and so on). Additionally, many apps are now executed as Docker containers. So, in this last tutorial of the eBPF series we’re here to get you started with observability at the app, kernel or container level. While reading, please bear in mind that everything you have learned so far about eBPF in this series can be used for application, kernel and container observability.

Observability strategy

When you need to perform application observability, there is no single tool or technique that is going to solve all your performance issues. The key, and the difficulty, to application observability is not knowing all the available tools but choosing the appropriate ones. This section presents a generic strategy for dealing with app observability. The proposed steps are:

1. Ensure you understand the way the desired application operates, whether it accepts network connections or not, and if it performs lots of file I/O, and so on. This is going to help you select the appropriate eBPF tools for the job.

Get a

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format14 min read
Beginners’ Distributions
MX Linux » Ubuntu » Linux Mint » Pop!_OS » Linux Lite This month, we’re looking at five Linux distributions that are suitable for newcomers to Linux. A beginner in this context can mean a couple of things. On the one hand, it can mean a novice comput
Linux Format4 min read
Mailserver
A robust and simple solution to the LXF315 question entitled Deep Search in Answers lies in the single graphical application, available in the repos: Recoll. It was reviewed in Hot Picks in a past edition of your top-class magazine (LXF311). You can
Linux Format9 min read
Inside the AI PC
Remember when 3D screens were the next big thing? What about virtual reality? Or 5G? The truth is that the technology industry loves buzzwords almost as much as it loves the tech itself, and its latest crush is AI PCs. The trouble is, if you ask five

Related Books & Audiobooks