Re: ARC "pressured out", how to control/stabilize ? (reformatted

看板FB_current作者時間12年前 (2014/02/07 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/24 (看更多)
on 05/02/2014 14:22 Vitalij Satanivskij said the following: > Dear Andriy and FreeBSD community, > > Ok. I'm get coredump on panic. > > What else i need to do? Vitalij, Vladimir, I have been able to reproduce the leak at work, so now I have full access to all debugging information that I need. Thank you for your testing and reports. I have reported my observations to OpenZFS developers. It looks like the author of L2ARC compression code is too busy right now to produce a fix. Unfortunately, I am not very familiar with the L2ARC code, so I can not promise to produce a patch soon. My recommendation would be to completely disable L2ARC _compression_ (not L2ARC itself) on your production systems for time being. The following patch should do that: --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c @@ -5080,20 +5080,22 @@ l2arc_write_buffers * ab->b_buf may be invalid by now due to ARC eviction. */ l2hdr = ab->b_l2hdr; l2hdr->b_daddr = dev->l2ad_hand; +#if 0 if ((ab->b_flags & ARC_L2COMPRESS) && l2hdr->b_asize >= buf_compress_minsz) { if (l2arc_compress_buf(l2hdr)) { /* * If compression succeeded, enable headroom * boost on the next scan cycle. */ *headroom_boost = B_TRUE; } } +#endif /* * Pick up the buffer data we had previously stashed away * (and now potentially also compressed). */ -- Andriy Gapon _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IzAWIkg (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 15 之 24 篇):
文章代碼(AID): #1IzAWIkg (FB_current)