书籍 BPF Performance Tools的封面

BPF Performance Tools

Brendan Gregg

出版时间

2019-11-03

ISBN

9780136554820

评分

★★★★★
书籍介绍

BPF (eBPF) tracing is the superpower that can analyze everything, helping you find performance wins, troubleshoot software, and more. This book covers over one hundred and fifty BPF observability tools for the analysis of CPUs, memory, disks, file systems, networking, languages, applications, containers, hypervisors, security, and the

Linux kernel. These tools range from basic to advanced, producing new metrics, stack traces, and custom latency histograms.

This is a book for everyone: sysadmins, developers, SREs, performance engineers, database engineers, researchers, and students. While prior knowledge is helpful, this book summarizes performance engineering and

kernel internals to help even relative beginners understand the included BPF tools. No programming is necessary, either, unless you want to. These easy-to-use tools can be run as-is, and this book also teaches you how to customize and develop your own BPF observability tools using different interfaces, with a focus on the high-level

bpftrace front-end.

Brendan Gregg is a senior performance engineer at Netflix and a major contributor to BPF (eBPF), leading its use for observability. In the past fifteen years he has used BPF and prior tracers in many different production environments, and has published tools, visualizations, and books about his work. He has also developed and delivered training classes worldwide to teach perfor...

(展开全部)

目录
Table of Contents
Preface
Part I: Technologies
1. Intro
2. Technology Background

显示全部
用户评论
入门学第一部分,剩下的当手册翻翻,总体来说很不错,就是纸质版的字太小了,眼睛要瞎了。
因为之前就对ebpf有了解,因此书里的内容没有太多惊喜,很多内容在作者的博客上都有。但是还是买了一本做为收藏。
结合陈莉君老师的linux内核之旅的视频可以很快的入门
读论文的感觉。
对于希望了解Linux下各种tracer的人来说还是值得推荐的。建议先通读第一部分,再通过关键词搜索了解整个生态系统及BPF的位置,第二部分往后基本上是工具的reference,可以略看,或有需要时查阅。
大家都说是工具书,其实在我积累了更多疑难杂症并且对bpf入门之后再读此书,觉得并不是,只是需要读者结合自己经验二次消化。比如CPU那章的sampling和event tracing在什么时候用哪个,书上并没有给出非常明确的说明,只能读者自己仔细想,而这没有一定经验是不行的。我觉得本书最大的缺点是太集中于系统级调试,但是大家更多遇到的是特定进程的debug,如何把书中工具用于指定进程,什么时候用什么,其实展开来讲又是一本书了。但我依然给五星,因为成体系,对罗列工具却有启发性,适合一个一个工具地仔细读仔细想,想这个工具能用在自己遇到的哪个问题上。