Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 09:30:19 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Albert Cervin <albert@acervin.com>, freebsd-stable@freebsd.org
Subject:   Re: ZFS - poor performance with "large" directories
Message-ID:  <5654747B.10902@sentex.net>
In-Reply-To: <CAMMK2LCB5ocjyufZCMXQScQDgVxvSHOr0vmef6LKzPO35w3TQg@mail.gmail.com>
References:  <CAMMK2LCB5ocjyufZCMXQScQDgVxvSHOr0vmef6LKzPO35w3TQg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5654747B.10902>