Date: Tue, 15 Jul 2008 13:28:14 -0500 From: Stacey Son <sson@freebsd.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Kostik Belousov <kostikbel@gmail.com>, freebsd-arch@freebsd.org Subject: Re: ksyms pseudo driver Message-ID: <487CEC3E.3060204@freebsd.org> In-Reply-To: <487CC7EC.5060100@cs.duke.edu> References: <4875A5D2.8030902@freebsd.org> <20080711155232.A96384@grasshopper.cs.duke.edu> <48780661.5050002@freebsd.org> <20080712045837.GD17123@deviant.kiev.zoral.com.ua> <487AD49F.6040304@freebsd.org> <20080715093402.GO17123@deviant.kiev.zoral.com.ua> <487CA2B4.7070604@freebsd.org> <487CC7EC.5060100@cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote: > Ah, now everything is perfectly clear to me. Your method is > very clever indeed. > > Just out of curiosity, how much memory will the entire symbol > + strings table require? How often do typical consumers (like dtrace) > request them? On an AMD64 "Generic" kernel with only the ksyms module loaded it is 1523847 bytes. lockstat(1M) will open and read /dev/ksyms once each time it is invoked. For dtrace, it depends on the script but there shouldn't be any reason why it reads it more than once as well. -stacey.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487CEC3E.3060204>