Book description
The Complete Guide to Optimizing Systems Performance
Written by the winner of the 2013 LISA Award for Outstanding Achievement in System Administration
Large-scale enterprise, cloud, and virtualized computing systems have introduced serious performance challenges. Now, internationally renowned performance expert Brendan Gregg has brought together proven methodologies, tools, and metrics for analyzing and tuning even the most complex environments. Systems Performance: Enterprise and the Cloud focuses on Linux® and Unix® performance, while illuminating performance issues that are relevant to all operating systems. You’ll gain deep insight into how systems work and perform, and learn methodologies for analyzing and improving system and application performance. Gregg presents examples from bare-metal systems and virtualized cloud tenants running Linux-based Ubuntu®, Fedora®, CentOS, and the illumos-based Joyent® SmartOS™ and OmniTI OmniOS®. He systematically covers modern systems performance, including the “traditional” analysis of CPUs, memory, disks, and networks, and new areas including cloud computing and dynamic tracing. This book also helps you identify and fix the “unknown unknowns” of complex performance: bottlenecks that emerge from elements and interactions you were not aware of. The text concludes with a detailed case study, showing how a real cloud customer issue was analyzed from start to finish.
Coverage includes
• Modern performance analysis and tuning: terminology, concepts, models, methods, and techniques
• Dynamic tracing techniques and tools, including examples of DTrace, SystemTap, and perf
• Kernel internals: uncovering what the OS is doing
• Using system observability tools, interfaces, and frameworks
• Understanding and monitoring application performance
• Optimizing CPUs: processors, cores, hardware threads, caches, interconnects, and kernel scheduling
• Memory optimization: virtual memory, paging, swapping, memory architectures, busses, address spaces, and allocators
• File system I/O, including caching
• Storage devices/controllers, disk I/O workloads, RAID, and kernel I/O
• Network-related performance issues: protocols, sockets, interfaces, and physical connections
• Performance implications of OS and hardware-based virtualization, and new issues encountered with cloud computing
• Benchmarking: getting accurate results and avoiding common mistakes
This guide is indispensable for anyone who operates enterprise or cloud environments: system, network, database, and web admins; developers; and other professionals. For students and others new to optimization, it also provides exercises reflecting Gregg’s extensive instructional experience.
Table of contents
- Cover Page
- About This eBook
- Title Page
- Copyright Page
- Contents
- Preface
- Acknowledgments
- About the Author
- 1. Introduction
- 2. Methodology
- 3. Operating Systems
- 4. Observability Tools
- 5. Applications
- 6. CPUs
- 7. Memory
- 8. File Systems
- 9. Disks
- 10. Network
- 11. Cloud Computing
- 12. Benchmarking
- 13. Case Study
- Appendix A. USE Method: Linux
- Appendix B. USE Method: Solaris
- Appendix C. sar Summary
- Appendix D. DTrace One-Liners
-
Appendix E. DTrace to SystemTap
- Functionality
- Terminology
- Probes
- Built-in Variables
- Functions
- Example 1: Listing syscall Entry Probes
- Example 2: Summarize read() Returned Size
- Example 3: Count syscalls by Process Name
- Example 4: Count syscalls by syscall Name, for Process ID 123
- Example 5: Count syscalls by syscall Name, for “httpd” Processes
- Example 6: Trace File open()s with Process Name and Path Name
- Example 7: Summarize read() Latency for “mysqld” Processes
- Example 8: Trace New Processes with Process Name and Arguments
- Example 9: Sample Kernel Stacks at 100 Hz
- References
- Appendix F. Solutions to Selected Exercises
- Appendix G. Systems Performance Who’s Who
- Glossary
- Bibliography
- Index
Product information
- Title: Systems Performance: Enterprise and the Cloud
- Author(s):
- Release date: October 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133390124
You might also like
book
The DevOps Handbook
Increase profitability, elevate work culture, and exceed productivity goals through DevOps practices.
book
Cloud FinOps
Despite many uncertainties in cloud computing, one truth is evident: costs will always tend to go …
book
Systems Performance, 2nd Edition
covers concepts, strategy, tools, and tuning for operating systems and applications, using Linux-based operating systems as …
book
Distributed Systems Observability
Network infrastructure is in the midst of a paradigm shift. As systems become more distributed, methods …