Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199240

Re: Slow XFS write

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: Slow XFS write
Date Wed, 22 Aug 2018 18:00:01 +0200
Message-ID <wpDI5-SL-5@gated-at.bofh.it> (permalink)
References <wpy5I-606-7@gated-at.bofh.it> <wpzl8-6TX-5@gated-at.bofh.it> <wpAqR-7up-9@gated-at.bofh.it> <wpBdf-7ZL-3@gated-at.bofh.it> <wpBZD-8va-1@gated-at.bofh.it>
X-Original-To Martin LEUSCH <sce.tech@imereos.fr>
X-Mailbox-Line From debian-user-request@lists.debian.org Wed Aug 22 15:53:45 2018
Old-Return-Path <mstone@debian.org>
X-Amavis-Spam-Status No, score=-9.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .harad.mathom. - helo-domain: .mathom.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Mail-Followup-To Martin LEUSCH <sce.tech@imereos.fr>, debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Disposition inline
X-PGP-Fingerprint 02D5 315F F11F 1861 860E 1E02 F61A ACDC FA11 FFDE
User-Agent NeoMutt/20170113 (1.7.2)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/739167
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/26cbbf20-a620-11e8-9b6a-00163eeb5320@msgid.mathom.us
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-user@lists.debian.org
X-Original-Date Wed, 22 Aug 2018 11:53:25 -0400
X-Original-Message-ID <26cbbf20-a620-11e8-9b6a-00163eeb5320@msgid.mathom.us>
X-Original-References <aba95eea-d6a1-d0f0-c707-0c49477e1a58@imereos.fr> <7c224b70-a5fc-11e8-9b6a-00163eeb5320@msgid.mathom.us> <eb48fcfc-b483-4a1f-7ce1-4312d93ff5e6@imereos.fr> <5afa9e06-a60c-11e8-9b6a-00163eeb5320@msgid.mathom.us> <bf7e764a-585f-5dff-323a-eca8092f985a@imereos.fr>
Xref csiph.com linux.debian.user:199240

Show key headers only | View raw


On Wed, Aug 22, 2018 at 04:02:42PM +0200, Martin LEUSCH wrote:
>>what happens with
>>dd if=/dev/zero of=/var/srv/nfs/testfile bs=64k count=16k conv=fsync
>>
>>And this is direct on the server, not via NFS, right?
>>
>I've got same result as previous test.
>tests with dd command are executed directly on the server.

Can you rebuild the partition? If so, unmount it then perform the dd 
directly to the device. (of=/dev/sda2 or whatever) What's the hardware 
raid vendor? Honestly, the performance of ext4 partition is also 
horrible, just not as bad as the xfs partition. What's the hardware raid 
model? Does it have a battery backed cache? (I will guess not, because 
the test is only 1G and that should fit into most current caches?) If 
the test directly to the partition shows good performance, then it might 
be an alignment issue; try recreating the fs with `mkfs.xfs -d 
su=64k,sw=2 ...`. If the performance is the same to the raw partition 
(and still much worse than the root partition) then the partition 
alignment itself might be off--which means recreating the partitions. 
(fsck and mkfs.xfs normally handle this automatically, but that depends 
on the raid controller+driver passing the information up, and per your 
xfsinfo output, that didn't happen.)

Mike Stone

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Slow XFS write Martin LEUSCH <sce.tech@imereos.fr> - 2018-08-22 12:00 +0200
  Re: Slow XFS write Michael Stone <mstone@debian.org> - 2018-08-22 13:20 +0200
    Re: Slow XFS write Martin LEUSCH <sce.tech@imereos.fr> - 2018-08-22 14:30 +0200
      Re: Slow XFS write Michael Stone <mstone@debian.org> - 2018-08-22 15:20 +0200
        Re: Slow XFS write Martin LEUSCH <sce.tech@imereos.fr> - 2018-08-22 16:10 +0200
          Re: Slow XFS write Michael Stone <mstone@debian.org> - 2018-08-22 18:00 +0200
            Re: Slow XFS write Michael Stone <mstone@debian.org> - 2018-08-22 18:00 +0200
  Re: Slow XFS write Martin LEUSCH <sce.tech@imereos.fr> - 2018-08-22 16:20 +0200
    Re: Slow XFS write Reco <recoverym4n@gmail.com> - 2018-08-22 19:40 +0200
  Re: Slow XFS write Stefan K <shadow_7@gmx.net> - 2018-08-23 09:10 +0200
    Re: Slow XFS write Martin LEUSCH <sce.tech@imereos.fr> - 2018-08-23 11:20 +0200

csiph-web