ZFS - poor performance with "large" directories

Mike Tancsa mike at sentex.net
Tue Nov 24 14:30:36 UTC 2015


On 11/24/2015 9:00 AM, Albert Cervin wrote:
> However, we are seeing en exponential decrease in performance to write to
> the file server when the number of files in the directory grows (when it
> goes up to ~6000 files it becomes unusable and the write time has gone from
> a fraction of a second to ten seconds).

Have you tried adjusting

vfs.zfs.arc_meta_limit to a higher value ?

Do you have any memory pressures on your server ?  Have a look at this
thread

https://lists.freebsd.org/pipermail/freebsd-fs/2013-February/016492.html

	---Mike





-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-stable mailing list