Skip to navigation

Why does GFS become so slow when the filesystem is close to 100% full?

Updated 2005-09-29T22:00:00+00:00

A GFS filesystem is split up in several resource groups (RGs). The number of resource groups depends on how big the filesystem is, you can check the number by doing a gfs_tool df <mountpoint>

What probably is causing the slowdown is that somebody is trying to create files. The sequence of lock operations to do this is:

  1. Acquire an exclusive lock on the directory.

  2. Acquire a shared lock on the resource index

  3. Wander through the resource groups to find a single RG[...

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.