Tuning GFS on shared storage

In this recipe, we will cover some basic tips for maximizing GFS performance.

Getting ready

This recipe assumes that you already have a GFS cluster configured, and that it consists of at least two nodes and is fully working.

Note

There are lots of performance changes that can be made if you are running GFS on a single node, but these are not covered in this book.

How to do it...

The single-most effective technique for increasing GFS performance is to minimize the number of concurrent changes to the same files, that is, to ensure that only one node at a time is accessing a specific file, if at all possible.

Ironically, the thing most likely to cause this problem is the operating system itself in the form of the updatedb

Get High Availability MySQL Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.