Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199240
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Slow XFS write |
| Date | 2018-08-22 18:00 +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> |
| Organization | linux.* mail to news gateway |
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
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