xfs
[Top] [All Lists]

Re: xfsrepair memory consumption

To: xfs@xxxxxxxxxxx
Subject: Re: xfsrepair memory consumption
From: "Daniele P." <daniele@xxxxxxxxxxxx>
Date: Wed, 21 Mar 2007 09:34:50 +0100
In-reply-to: <20070320221305.GR32602149@melbourne.sgi.com>
Organization: Interline
References: <200703201532.06076.daniele@interline.it> <20070320221305.GR32602149@melbourne.sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.5
On Tuesday 20 March 2007 23:13, you wrote:
> On Tue, Mar 20, 2007 at 03:32:05PM +0100, Daniele P. wrote:
> 6 million inodes in your filesystem, and a certain points in
> repair we have to hold indexes of them all (plus some state) in
> memory. Phase 6 is one of these points.

Hi David,
thanks for the explanation. 

> In terms of inode count, I generally use the rule that for every
> 10million inodes you need a gigabyte of RAM for repair - you needed
> about 500MB for 6million inodes.

This is true for 2.6.20-1, but 2.8.18-1 use a lot of memory in
phase 2.
I just want to point out the *increasing* memory requirements rather
than the total amount of memory needed to repair an xfs file system.

Regards,
Daniele P.



<Prev in Thread] Current Thread [Next in Thread>