Re: Slow XFS write

2018-08-23 Thread Martin LEUSCH
Hi all, After some research on my RAID controller, PERC H310 Mini on a Dell server, I found a lot performance issue. It does not have WriteBack cache or BBU. I do not tested to write directly on the partition because I have some backup to do before but I think reinstall the server on a softwa

Re: Slow XFS write

2018-08-23 Thread Stefan K
Hello, did you really need the hardware controller? I suggest to use Software/MD raid, ob btrfs with raid1 or zfs with raidz1 On Wednesday, August 22, 2018 11:41:08 AM CEST Martin LEUSCH wrote: > Hi, > > > I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a > system partiti

Re: Slow XFS write

2018-08-22 Thread Reco
Hi. On Wed, Aug 22, 2018 at 04:15:30PM +0200, Martin LEUSCH wrote: > To complete the description there is infos about the XFS partition: > > meta-data=/dev/sda4 isize=256agcount=11, agsize=268435455 > blks > = sectsz=512 attr=2, projid32b

Re: Slow XFS write

2018-08-22 Thread Michael Stone
On Wed, Aug 22, 2018 at 11:53:25AM -0400, Michael Stone wrote: Can you rebuild the partition? If so, unmount it then perform the dd directly to the device. To be clear, ^^^ this will destroy the filesystem. Mike Stone

Re: Slow XFS write

2018-08-22 Thread Michael Stone
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

Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH
To complete the description there is infos about the XFS partition: meta-data=/dev/sda4 isize=256agcount=11, agsize=268435455 blks = sectsz=512 attr=2, projid32bit=1 = crc=0finobt=0 data =

Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH
Le 22/08/2018 à 15:17, Michael Stone a écrit : On Wed, Aug 22, 2018 at 02:25:51PM +0200, Martin LEUSCH wrote: I tested write speed with dd command like "dd if=/dev/zero of=/var/srv/nfs/ testfile bs=1G count=1 oflag=direct". The 10 MB/s for the data partition also correspond to the behavior I g

Re: Slow XFS write

2018-08-22 Thread Michael Stone
On Wed, Aug 22, 2018 at 02:25:51PM +0200, Martin LEUSCH wrote: I tested write speed with dd command like "dd if=/dev/zero of=/var/srv/nfs/ testfile bs=1G count=1 oflag=direct". The 10 MB/s for the data partition also correspond to the behavior I get in real situation, when I copy a big file on NF

Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH
Le 22/08/2018 à 13:15, Michael Stone a écrit : On Wed, Aug 22, 2018 at 11:41:08AM +0200, Martin LEUSCH wrote: I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a system partition with ext4 and a data partition with XFS. I get only 10 MB/s in write speed on the XFS data partiti

Re: Slow XFS write

2018-08-22 Thread Michael Stone
On Wed, Aug 22, 2018 at 11:41:08AM +0200, Martin LEUSCH wrote: I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a system partition with ext4 and a data partition with XFS. I get only 10 MB/s in write speed on the XFS data partition and 80 MB/s on the system partition. how a

Slow XFS write

2018-08-22 Thread Martin LEUSCH
Hi, I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a system partition with ext4 and a data partition with XFS. I get only 10 MB/s in write speed on the XFS data partition and 80 MB/s on the system partition. XFS mount option: /dev/sda4 on /var/srv/nfs type xfs (rw,rel