xfs
[Top] [All Lists]

Re: XFS Block size

To: ROGER NOEL <xis@xxxxxxx>
Subject: Re: XFS Block size
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Sat, 7 May 2005 16:13:50 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <374JegRox6768S14.1115486089@xxxxxxxxxxxxxxxxxxxx>
References: <374JegRox6768S14.1115486089@xxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sat, May 07, 2005 at 11:14:49AM -0600, ROGER NOEL wrote:

> I'm new to Linux, recently installed SUSE Ent 9 and was disappointed
> to find the max disk block size in XFS was only 4K even though
> documentation on XFS indicated it could support block size up to
> 64K.

Strictly speaking this is a Linux limitation not an XFS limitation
(well, it depnds how you look at it I guess).

> I found a reference on you pake that indicated other block size as a
> 'kernel compile option' on Intel 64 platform.

If you use ia64 with 64k pages yes, ia64 with 16k page will have a 16k
block size limit.

x86-64 has a 4k limit.

> Please advise or provide me with a good source on how this can be
> accomplished.

man mkfs.xfs

> It is of particular importance to my application that writes typical
> files above 20GB.

I do this all the time.  4K blocks work just fine and I doubt there
will be much benefit using larger blocks even on platforms where you
can.

> Having bigger block size has made a huge performance difference
> under windows and I would like to give Linux an honest shot and
> providing comparable performance.

I don't think under Linux is will make that much of a difference.  If
you really want to use larger blocks (assuming your platform is
4K-page-size inflicted) you might want to use a realtime subvolume
volume.


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