xfs
[Top] [All Lists]

Re: High Fragmentation with XFS and NFS Sync

To: Nick Fisk <friskyfisk10@xxxxxxxxxxxxxx>
Subject: Re: High Fragmentation with XFS and NFS Sync
From: Stefan Ring <stefanrin@xxxxxxxxx>
Date: Sun, 3 Jul 2016 14:34:07 +0200
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LhNwCdQoMQcz9m430IoG838KEUNGMGxjv9h0OvIoxLM=; b=EzRach8DEcVDBbZTUVP6bNlURpJPif0ExPm6tz/tXoO74Eip9U4eJIlZRNgKOGRnSD Ph4G/APdk3t3eZ9sX9CYKVdSpTuUKMrTOsoC+SkjSwsWg6PzpSPktD5RJZoUESzhlOMJ 0EG7pNYQ2S3wnPWF9ivsS4+CUVB544k6BD0Uoj998bndsQZRi9yjiEPDc3Z3VQScDbVf zT0PFK7cNaJiOSRlSlRtxOepkN3rXligGBbH4gTbycx7D0VDC9MLzMP4VYgVmRxK0wMN leV7v98xZg1bdIAMxyL4o7xuQ1PLvyecB9/Lqp8NwSqNhMVLPGNfNIw/qZhV3vo1fgib nlaw==
In-reply-to: <CAC5UwBi8Skjx90_XC5Z5B8P+CadawBZ3iUabKtm-2ZvrkgocZQ@xxxxxxxxxxxxxx>
References: <CAC5UwBi8Skjx90_XC5Z5B8P+CadawBZ3iUabKtm-2ZvrkgocZQ@xxxxxxxxxxxxxx>
On Sat, Jul 2, 2016 at 10:52 AM, Nick Fisk <friskyfisk10@xxxxxxxxxxxxxx> wrote:
> Hi, hope someone can help me here.
>
> I'm exporting some XFS fs's to ESX via NFS with the sync option enabled. I'm
> seeing really heavy fragmentation when multiple VM's are copied onto the
> share at the same time. I'm also seeing kmem_alloc failures, which is
> probably the biggest problem as this effectively takes everything down.
>

The same thing happens with MySQL's InnoDB files if O_DIRECT is in use.

The kmem_alloc failure taking everything down is most likely a result
of you calling xfs_bmap on these files and does not happen during
normal use. I've had the same experience some time ago.

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