Date: Fri, 12 Jul 2013 10:01:07 -0400 From: Ed Maste <emaste@freebsd.org> To: Vincent Hoffman <vince@unsane.co.uk> Cc: hackers@freebsd.org, Jordan Hubbard <jkh@mail.turbofuzz.com>, Kevin Day <toasty@dragondata.com> Subject: Re: Kernel dumps [was Re: possible changes from Panzura] Message-ID: <CAPyFy2BjW5SzyAYWwHCyo9fu0Ca4XkvDMWk=0rEz_Q%2BEpzY2CA@mail.gmail.com> In-Reply-To: <51DDE91E.4000400@unsane.co.uk> References: <FDEEB55D-823B-4899-8EEC-7F5306D91F5B@elischer.org> <9890DFF1-892A-4DCA-9E33-B70681154F43@mail.turbofuzz.com> <4F0DFAB7-D6D5-4068-A543-C9DF885D1A7D@dragondata.com> <51DDE91E.4000400@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10 July 2013 19:07, Vincent Hoffman <vince@unsane.co.uk> wrote: > > There was some work on something similar at one point, not sure what > came of it. > http://lists.freebsd.org/pipermail/freebsd-current/2010-September/020164.html The code referenced there has been used in production since 2005 or so, and is based on an earlier implementation for FreeBSD 4.x that dates to 2000. Despite some shortcomings in the implementation it has proved quite reliable in practice. It hasn't made it into the tree yet for reasons raised in this thread. The primary issue is that it allocates mbufs in the packet sending path, and so relies on a number of kernel subsystems to be in a consistent state. It doesn't use the stack, routing table, or driver interrupt interfaces though. It could likely be made committable with a relatively small effort to switch to preallocating an mbuf+cluster or two at configuration time. More information is on the FreeBSD wiki, at https://wiki.freebsd.org/Netdump
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BjW5SzyAYWwHCyo9fu0Ca4XkvDMWk=0rEz_Q%2BEpzY2CA>