5 ms·
ZFS, at least on Solaris, has issue with many multiple readers of the same file, blocking after ~31 simultaneous readers (even when there are NO writers). Ran
by peapicker 9y ago
ZFS, at least on Solaris, has issue with many multiple readers of the same file, blocking after ~31 simultaneous readers (even when there are NO writers). Ran into this with a third party library which reads a large TTF to produce business PDF documents. The hundreds of reporting processes all slowed to a crawl when accessing the 20Mb Chinese TTF for reporting because ZFS was blocking.
I can't change the code since it is third party. The only way I saw to easily fix it was on system startup to copy the fonts under a new subdir in /tmp (so in tmpfs, ie RAM, no ZFS at all there ) and then softlink the dir the product was expecting to the new dir off of /tmp, eliminating the ZFS high-volume multiple-reader bottleneck.
Never had this problem with the latest EXT filesystems on my volume groups on my Linux VMs with the same 3rd party library and same volume of throughput.
- nisa 9y agoIf you recreate the bug on Linux and have something like a simple reproduder I guess that the ZoL devs are more than happy to fix or at least understand it: https://github.com/zfsonlinux/zfs https://github.com/zfsonlinux/zfs From reading the pull requests and issues on that repo I've got the impression that the next release 0.7.0 will be quite step forward and there seems to be quite sophisticasted work to tackle performance issues.
- deleted 9y ago[deleted]
- JdeBP 9y agoI suggest getting on to the OpenZFS people and seeing whether this is still a problem in illumos; and fixing it if so. * http://www.open-zfs.org/wiki/Main_Page http://www.open-zfs.org/wiki/Main_Page * https://github.com/openzfs/openzfs https://github.com/openzfs/openzfs * https://wiki.illumos.org/display/illumos/ZFS https://wiki.illumos.org/display/illumos/ZFS