Re: ZFS directory with a large number of files

看板FB_stable作者時間15年前 (2011/08/02 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/24 (看更多)
On 02.08.11 12:46, Daniel O'Connor wrote: > I am pretty sure UFS does not have this problem. i.e. once you > delete/move the files out of the directory its performance would be > good again. UFS would be the classic example of poor performance if you do this. > If it is a limitation in ZFS it would be nice to know that, perhaps it > truly, really is a bug that can be avoided (or it's inherent in the > way ZFS handles such things) It is possible that there is not enough memory in ARC to cache that large directory. Other than that, perhaps in ZFS it would be easier to prune the unused directory entries, than it is in UFS. It looks like this is not implemented. Another reason might be some FreeBSD specific implementation issue for fstatfs. In any case, the data available is not sufficient. More information would help, like how much RAM this system has, how much ARC uses, some ARC stats. What made me wonder is .. how exactly the kernel and zpool disagree on zpool version? What is the pool version in fact? Daniel _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1EDzZla2 (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1EDzZla2 (FB_stable)