Optimizing Linux Performance
Home > Computing and Information Technology > Operating systems > Open source and other operating systems > Linux > Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools
Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools

Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Readers learn to use Linux's rich set of performance tools to make their applications run better. Readers learn how to find and remove performance bottlenecks and increase the performance of Linux applications. Useful format -- Reader learns tool's purpose, the tool's options, than a hands-on example of how to use the tool. Author is key -- enhanced the industry standard and established benchmarks for greater performance.

Table of Contents:
Preface 1. Performance Hunting Tips.     General Tips.       Take Copious Notes (Save Everything).       Automate Redundant Tasks.       Choose Low-Overhead Tools If Possible.       Use Multiple Tools to Understand the Problem.       Trust Your Tools.       Use the Experience of Others (Cautiously).     Outline of a Performance Investigation.       Finding a Metric, Baseline, and Target.       Track Down the Approximate Problem.       See Whether the Problem Has Already Been Solved       The Case Begins (Start to Investigate).       Document, Document, Document.     Chapter Summary 2. Performance Tools: System CPU.     CPU Performance Statistics       Run Queue Statistics.       Context Switches.       Interrupts.       CPU Utilization.     Linux Performance Tools: CPU.       vmstat (Virtual Memory Statistics).       top (v. 2.0.x).       top (v. 3.x.x).       procinfo (Display Info from the /proc File System).       gnome-system-monitor.       mpstat (Multiprocessor Stat).       sar (System Activity Reporter).       oprofile.     Chapter Summary 3. Performance Tools: System Memory.     Memory Performance Statistics.       Memory Subsystem and Performance.       Memory Subsystem (Virtual Memory).     Linux Performance Tools: CPU and Memory.       vmstat  (Virtual Memory Statistics) II.       top (2.x and 3.x).       procinfo II.       gnome-system-monitor (II).       free.       slabtop.       sar (II).       /proc/meminfo.     Chapter Summary 4. Performance Tools: Process-Specific CPU.     Process Performance Statistics.       Kernel Time Versus User Time.       Library Time Versus Application Time.       Subdividing Application Time.     The Tools.       time.       strace.       ltrace.       ps (Process Status).       ld.so (Dynamic Loader).       gprof.       oprofile (II).       Languages: Static (C and C++) Versus Dynamic (Java and Mono).     Chapter Summary. 5. Performance Tools: Process-Specific Memory.     Linux Memory Subsystem.     Memory Performance Tools.       ps.       /proc/.       memprof.       valgrind (cachegrind).       kcachegrind.       oprofile (III).       ipcs.       Dynamic Languages (Java, Mono).     Chapter Summary. 6. Performance Tools: Disk I/O.     Introduction to Disk I/O.     Disk I/O Performance Tools.       vmstat (ii).       iostat.       sar.       lsof  (List Open Files).     What’s Missing?     Chapter Summary. 7. Performance Tools: Network.     Introduction to Network I/O.       Network Traffic in the Link Layer.       Protocol-Level Network Traffic.     Network Performance Tools.       mii-tool (Media-Independent Interface Tool).       ethtool.       ifconfig (Interface Configure).       ip.       sar.       gkrellm.       iptraf.       netstat.       etherape.     Chapter Summary 8. Utility Tools: Performance Tool Helpers.     Performance Tool Helpers.       Automating and Recording Commands.       Graphing and Analyzing Performance Statistics.       Investigating the Libraries That an Application Uses.       Creating and Debugging Applications.     Tools.       bash.       tee.       script.       watch.       gnumeric.       ldd.       objdump.       GNU Debugger (gdb).       gcc (GNU Compiler Collection).     Chapter Summary 9. Using Performance Tools to Find Problems.     Not Always a Silver Bullet.     Starting the Hunt.     Optimizing an Application.       Is Memory Usage a Problem?       Is Startup Time a Problem?       Is the Loader Introducing a Delay?       Is CPU Usage (or Length of Time to Complete) a Problem?       Is the Application’s Disk Usage a Problem?       Is the Application’s Network Usage a Problem?     Optimizing a System.       Is the System CPU-Bound?       Is a Single Processor CPU-Bound?       Are One or More Processes Using Most of the System CPU?       Are One or More Processes Using Most of an Individual CPU?       Is the Kernel Servicing Many Interrupts?       Where Is Time Spent in the Kernel?       Is the Amount of Swap Space Being Used Increasing?       Is the System I/O-Bound?       Is the System Using Disk I/O?       Is the System Using Network I/O?     Optimizing Process CPU Usage.       Is the Process Spending Time in User or Kernel Space?       Which System Calls Is the Process Making, and How Long Do They Take to Complete?       In Which Functions Does the Process Spend Time?       What Is the Call Tree to the Hot Functions?       Do Cache Misses Correspond to the Hot Functions or Source Lines?     Optimizing Memory Usage.       Is the Kernel Memory Usage Increasing?       What Type of Memory Is the Kernel Using?       Is a Particular Process’s Resident Set Size Increasing?       Is Shared Memory Usage Increasing?       Which Processes Are Using the Shared Memory?       What Type of Memory Is the Process Using?       What Functions Are Using All of the Stack?       What Functions Have the Biggest Text Size?       How Big Are the Libraries That the Process Uses?       What Functions Are Allocating Heap Memory?     Optimizing Disk I/O Usage.       Is the System Stressing a Particular Disk?       Which Application Is Accessing the Disk?       Which Files Are Accessed by the Application?     Optimizing Network I/O Usage.       Is Any Network Device Sending/Receiving Near the Theoretical Limit?       Is Any Network Device Generating a Large Number of Errors?       What Type of Traffic Is Running on That Device?       Is a Particular Process Responsible for That Traffic?       What Remote System Is Sending the Traffic?       Which Application Socket Is Responsible for the Traffic?     The End.     Chapter Summary. 10. Performance Hunt 1: A CPU-Bound Application (GIMP).     CPU-Bound Application.     Identify a Problem.     Find a Baseline/Set a Goal.     Configure the Application for the Performance Hunt.     Install and Configure Performance Tools.     Run Application and Performance Tools.     Analyze the Results.     Jump to the Web.     Increase the Image Cache.     Hitting a (Tiled) Wall.     Solving the Problem.     Verify Correctness?     Next Steps.     Chapter Summary 11. Performance Hunt 2: A Latency-Sensitive Application (nautilus).     A Latency-Sensitive Application.     Identify a Problem.     Find a Baseline/Set a Goal.     Configure the Application for the Performance Hunt.     Install and Configure Performance Tools.     Run Application and Performance Tools.     Compile and Examine the Source.     Using gdb to Generate Call Traces.     Finding the Time Differences.     Trying a Possible Solution.     Chapter Summary 12. Performance Hunt 3: The System-Wide Slowdown (prelink).     Investigating a System-Wide Slowdown.     Identify a Problem.     Find a Baseline/Set a Goal.     Configure the Application for the Performance Hunt.     Install and Configure Performance Tools.     Run Application and Performance Tools.     Simulating a Solution.     Reporting the Problem.     Testing the Solution.     Chapter Summary. 13. Performance Tools: What’s Next?     The State of Linux Tools.     What Tools Does Linux Still Need?       Hole 1: Performance Statistics Are Scattered.       Hole 2: No Reliable and Complete Call Tree.       Hole 3: I/O Attribution.     Performance Tuning on Linux.       Available Source.       Easy Access to Developers.       Linux Is Still Young.     Chapter Summary. Appendix A. Performance Tool Locations. Appendix B. Installing oprofile.     Fedora Core 2 (FC2).     Enterprise Linux 3 (EL3).     SUSE 9.1. Index.


Best Sellers


Product Details
  • ISBN-13: 9780131486829
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Language: English
  • Returnable: N
  • ISBN-10: 0131486829
  • Publisher Date: 14 Apr 2005
  • Binding: Paperback
  • No of Pages: 384
  • Sub Title: A Hands-On Guide to Linux Performance Tools


Similar Products

Add Photo
Add Photo

Customer Reviews

     0     
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
     0     
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools
    Pearson Education (US) -
    Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools
    Writing guidlines
    We want to publish your review, so please:
    • keep your review on the product. Review's that defame author's character will be rejected.
    • Keep your review focused on the product.
    • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
    • Refrain from mentioning competitors or the specific price you paid for the product.
    • Do not include any personally identifiable information, such as full names.

    Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools

    Required fields are marked with *

    Review Title*
    Review
      Add Photo Add up to 6 photos
      Would you recommend this product to a friend?
      Tag this Book Read more
      Does your review contain spoilers?
      What type of reader best describes you?
      I agree to the terms & conditions
      You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

      CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

      These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


      By submitting any content to Bookswagon, you guarantee that:
      • You are the sole author and owner of the intellectual property rights in the content;
      • All "moral rights" that you may have in such content have been voluntarily waived by you;
      • All content that you post is accurate;
      • You are at least 13 years old;
      • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
      You further agree that you may not submit any content:
      • That is known by you to be false, inaccurate or misleading;
      • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
      • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
      • For which you were compensated or granted any consideration by any unapproved third party;
      • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
      • That contains any computer viruses, worms or other potentially damaging computer programs or files.
      You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


      For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


      All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

      Accept

      New Arrivals

      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!