Book review: Linux® Debugging and Performance Tuning: Tips and Techniques <i>by Steve Best</i>

Book review: Linux® Debugging and Performance Tuning: Tips and Techniques by Steve Best


Debugging and tuning of Linux, though not a romantic subject, is a necessary one for the health of any well-run free software biased network. A slight change here and a nudge there in the background can make the difference between user discomfort and a quiet Sunday afternoon for the poor old administrator. Linux Debugging and Performance Tuning as written by Steve Best is an excellent zoom in on this complex and detailed subject area.

The book’s coverThe book’s cover

One significant issue I have with Linux, and yes of course it is a positive one of success, is that luckily for the poor power user there is a large collection of tools for debugging and performance tuning. Which set of optimized tools should any tidy administrator or power user choose? My first impression of the content of this book was that the author knows what he is doing and is leading the reader to the gold nuggets and the range and depth of the book accurately reflects the technical markets reality.

Steve Best has led the Journal File System (JFS) for Linux project. This fact implies that he has experience right down into the kernel of the kernel. His book of 476 pages and 14 chapters contains a dense set of descriptions of the tools you need to get a grip on the debugging and performance tuning requirements of your situation. He starts by simply explaining how to profile using such tools as time and date. However, that was only a well thought out tactic to bring the user gently into the warm folds of the subject area. Moving through code coverage, debugging, memory management, system information and speeding towards dynamic probes, the book reflects the clear wealth of knowledge required to get the majority of issues to a positive resolution. Best mentions many tools to the expected detail so that you will have a clearly developed understanding of which of the current range of tools best serves you under any given condition. I personally liked the description of the “Magic Key Sequence” to get a Back trace (page 174). Such details would be hard to discover under pressure. I would not have found this nugget by googling alone.

A well thought out tactic to bring the user gently into the warm folds of the subject area

Who’s this book for?

Quoting from the introduction of the book, and I have no reason to disagree, this book is intended for the person who is developing or supporting Linux applications or even the Kernel. I would go further and say that the power user that likes to run the make command raw may also enjoy this work. I even dare to say that this is a development team book and would sit nicely on the team room bookshelf next to the coffee pot and the almost dead potted plant.

Relevance to free software

Linux has many features that are significantly better than the proprietary competitor’s attempts. The kernel has a reputation for stability and predictability. Keeping this hard won reputation during the fight for Enterprise dominance is supported by maintenance of real instances by system administrators. Further, device driver makers play a crucial role in the wide spread support of the hardware real users use. If a device driver is buggy then the kernel may panic. Wide range device driver support requires wide range debugging. Steve Bests book helps quickly to get the relevant parties up to speed on the tools of the trade. Thus, this is a potentially important book focused on a crucial target audience and delivered at the correct moment.

If a device driver is buggy then the kernel may panic

Pros

Linux Troubleshooting being a book with a fast pace that veritably speeds through a large toolset, this book would sit snuggly on most Linux developer’s tables. The density of information allows for a broad overview. The title exactly describes the content. Thus, a well thought out book

Cons

Being a practical book about tools that help with performance or debugging it is unlikely that the average desktop user would gain value. Further, if you have one tool in mind that you particularly wish to explore in detail then you may need to look elsewhere. However, once you knew a product defined in the book exists you could then zoom in on the technical details via documents found on the internet.

Title Linux® Debugging and Performance Tuning. Tips and Techniques
Author Steve Best
Publisher Prentice Hall
ISBN 0131492470
Year 2005
Pages 456
CD included No
FS Oriented 9
Over all score 8

In short

Category: 
License: 

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!