Optimizing Linux Performance


Book Description

Profiler for Linux systems.




Performance Tuning for Linux Servers


Book Description

The ultimate guide to performance tuning mission critical Linux servers - including web servers, database servers, and application servers.




System Performance Tuning


Book Description

Introduction to system performance; Monitoring system activity; Managing the workload; Memory performance; Disk performance issues; Network performance; Terminal performance; Kernel configuration.




Linux Debugging and Performance Tuning


Book Description

&Quot;This is the definitive guide to Linux software debugging and performance optimization at both the kernel and application levels. Using extensive Linux code examples, Steve Best systematically introduces open source tools and best-practice techniques for delivering bug-free, well-tuned code."--BOOK JACKET.




Systems Performance


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(R) and Unix(R) 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(R), Fedora(R), CentOS, and the illumos-based Joyent(R) SmartOS(TM) and OmniTI OmniOS(R). 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.




Optimizing NFS Performance


Book Description

In this comprehensive guide that details "behind the scenes" tuning secrets and explains many previously undocumented features, there are real-world performance examples that illustrate how widely available tools can be used to troubleshoot and tune an NFS environment.




Performance Optimization and Tuning Techniques for IBM Power Systems Processors Including IBM POWER8


Book Description

This IBM® Redbooks® publication focuses on gathering the correct technical information, and laying out simple guidance for optimizing code performance on IBM POWER8® processor-based systems that run the IBM AIX®, IBM i, or Linux operating systems. There is straightforward performance optimization that can be performed with a minimum of effort and without extensive previous experience or in-depth knowledge. The POWER8 processor contains many new and important performance features, such as support for eight hardware threads in each core and support for transactional memory. The POWER8 processor is a strict superset of the IBM POWER7+TM processor, and so all of the performance features of the POWER7+ processor, such as multiple page sizes, also appear in the POWER8 processor. Much of the technical information and guidance for optimizing performance on POWER8 processors that is presented in this guide also applies to POWER7+ and earlier processors, except where the guide explicitly indicates that a feature is new in the POWER8 processor. This guide strives to focus on optimizations that tend to be positive across a broad set of IBM POWER® processor chips and systems. Specific guidance is given for the POWER8 processor; however, the general guidance is applicable to the IBM POWER7+, IBM POWER7®, IBM POWER6®, IBM POWER5, and even to earlier processors. This guide is directed at personnel who are responsible for performing migration and implementation activities on POWER8 processor-based systems. This includes system administrators, system architects, network administrators, information architects, and database administrators (DBAs).




Performance Analysis and Tuning on Modern CPUs


Book Description

Performance tuning is becoming more important than it has been for the last 40 years. Read this book to understand your application's performance that runs on a modern CPU and learn how you can improve it. The 170+ page guide combines the knowledge of many optimization experts from different industries.




Systems Performance


Book Description

Systems Performance, Second Edition, covers concepts, strategy, tools, and tuning for operating systems and applications, using Linux-based operating systems as the primary example. A deep understanding of these tools and techniques is critical for developers today. Implementing the strategies described in this thoroughly revised and updated edition can lead to a better end-user experience and lower costs, especially for cloud computing environments that charge by the OS instance. Systems performance expert and best-selling author Brendan Gregg summarizes relevant operating system, hardware, and application theory to quickly get professionals up to speed even if they have never analyzed performance before. Gregg then provides in-depth explanations of the latest tools and techniques, including extended BPF, and shows how to get the most out of cloud, web, and large-scale enterprise systems. Key topics covered include Hardware, kernel, and application internals, and how they perform Methodologies for rapid performance analysis of complex systems Optimizing CPU, memory, file system, disk, and networking usage Sophisticated profiling and tracing with perf, Ftrace, and BPF (BCC and bpftrace) Performance challenges associated with cloud computing hypervisors Benchmarking more effectively Featuring up-to-date coverage of Linux operating systems and environments, Systems Performance, Second Edition, also addresses issues that apply to any computer system. The book will be a go-to reference for many years to come and, like the first edition, required reading at leading tech companies. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.




Optimizing Scale


Book Description

In today’s era of rapid technological advancement, ensuring system performance, scalability, and optimization is crucial for both businesses and developers. As applications become increasingly complex, the importance of identifying and addressing bottlenecks, optimizing database queries, enhancing response times, and ensuring system reliability has never been more significant. This comprehensive guide is specifically crafted to empower software engineers, system architects, and database administrators with the necessary tools and knowledge to effectively tackle performance challenges in modern software systems. From profiling tools and advanced caching strategies to microservices architecture and query optimization, this guide covers a wide array of topics essential for constructing and upholding high-performance systems. Whether you are grappling with sluggish database queries, high latency in microservices, or scalability issues, this resource offers practical insights, hands-on techniques, and real-world examples to assist you in diagnosing, analyzing, and rectifying performance issues at every level of the system. At the core of performance tuning lies the ability to pinpoint the root causes of inefficiency. This guide delves into potent tools such as FlameGraphs, PGAnalyze, and AWS Performance Insights to aid in identifying bottlenecks within your system. It explores detailed strategies for optimizing reads and writes, denormalization, indexing, and query execution plans to ensure optimal database performance. Beyond databases, topics like distributed caching, connection pooling, and API gateways are covered, providing a comprehensive view of performance optimization in cloud-native and microservices architectures. Moreover, you will discover best practices for designing and scaling microservices, maintaining consistency in distributed systems, and employing advanced observability techniques to monitor and troubleshoot live systems. This guide addresses both theoretical concepts and practical tools necessary for modern developers to guarantee the robustness, resilience, and scalability of their systems. By the conclusion of this guide, you will not only possess a profound understanding of how to approach and resolve performance issues but also gain valuable insights into designing systems that can scale efficiently with minimal latency and maximum throughput. Whether you are optimizing databases, constructing microservices, or enhancing API performance, this guide will serve as your indispensable companion in mastering performance engineering in today’s fast-paced software landscape.