[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-05-03 Thread Colin Ian King
And if anyone is wondering why this is not the default, the answer is here: https://github.com/zfsonlinux/zfs/issues/443 ** Bug watch added: Github Issue Tracker for ZFS #443 https://github.com/zfsonlinux/zfs/issues/443 -- You received this bug notification because you are a member of Ubuntu

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-05-03 Thread Colin Ian King
Ah, that is a good solution. By default, ZFS on Linux will store xattrs in a hidden folder, so there are multiple seeks per xattr and it's poorly cached, so it will impact on performance especially on the slower block devices. The zfs set xattr=sa will store this in the inodes and will really hel

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-05-02 Thread Colin Leavett-Brown
Hello Colin, I set a couple of ZFS options a day or two ago, and have bee playing videos to see if we still have the problem. The options I set were: o zfs set xattr=sa storage o zfs set xattr=sa storage/vault o zfs set ralatime=on storage o zfs set ralatime=on storage/vault We've pl

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-05-02 Thread Colin Ian King
I've tried to simulate this with very slow media and can't yet reproduce this issue. Can you play the DVD image and also run the following command in another terminal: iostat 1 300 > iostat.log this will capture 5 minutes of activity. please then attach the log to the bug report. -- You receiv

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-30 Thread Colin Leavett-Brown
root@hetty:/home/crlb# blockdev --getpbsz /dev/sdb 512 root@hetty:/home/crlb# blockdev --getpbsz /dev/sdc 512 root@hetty:/home/crlb# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1725859 Title: zfs

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-24 Thread Colin Ian King
Just one more check, what is the block size of the raw devices? One can check this using: sudo blockdev --getpbsz /dev/sdb sudo blockdev --getpbsz /dev/sdc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bu

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-13 Thread Colin Leavett-Brown
Hello Colin, I have a couple more screen shots showing the raw performance of both drives; the first using 512MiB as you suggested and the second with a larger sample and using the dd commands status=progress option to monitor for pauses. Also in the second ss, I performed the test on an iso file f

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-13 Thread Colin Leavett-Brown
** Attachment added: "raw device and zfs performance on a larger sample." https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1725859/+attachment/5114648/+files/dd-2.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-13 Thread Colin Ian King
The iostat -mx shows that the /dev/sdb /dev/sdc devices have a very high read I/O latency of ~80-110 milliseconds which may be the underlying issue. I suggest seeing how long it takes to read data from these raw devices to sanity check their maximum speed. One can do this by doing: sync echo 3 |

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-12 Thread Colin Leavett-Brown
Hello Colin, Thank you for responding. To Answer your questions: 1. I have two external drives, sdb and sdc, in USB 3 Orico enclosure. The drives are mirrored. 2. Atom D525 with 4GiB RAM. The attached screenshot shows "vmstat 5 5" output while VLC is playing a movie. It shows 1.5GiB of fre

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-04-12 Thread Colin Ian King
1. what is your ZFS configuration (number of drives?) 2. size of your system (total memory, free memory). 3. Do your drive(s) suffer from large I/O latencies? - what is the output from iostat -mx You may possibly get some benefit from setting spl_kmem_cache_slab_limit to zero as a module parame

[Bug 1725859] Re: zfs frequently hangs (up to 30 secs) during sequential read

2018-03-28 Thread Colin Leavett-Brown
Just updated to: root@hetty:~# apt list --installed | awk '/zpool|zfs/' libzfs2linux/artful-updates,now 0.6.5.11-1ubuntu3.2 amd64 [installed,automatic] libzpool2linux/artful-updates,now 0.6.5.11-1ubuntu3.2 amd64 [installed] zfs-zed/artful-updates,now 0.6.5.11-1ubuntu3.2 amd64 [installed,automatic]