Date: Thu, 2 Feb 2006 13:13:28 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: freebsd-current@freebsd.org Subject: hwpmc & kernel modules? Message-ID: <17378.19400.856354.995643@grasshopper.cs.duke.edu>
next in thread | raw e-mail | index | archive | help
I'm currently doing a driver for a 10GbE nic, and now that it works, I'm disappointed to find that FreeBSD is considerably slower than Linux & Solaris on the same hardware (8Gb/s vs 5Gb/s). My driver is currently a module, and I'm having problems figuring out how much time my driver is using. Is there any way to profile kernel modules with hwpmc? It seems like the kgmon samples ignore loadable modules entirely. Is it possible to do what solaris does for crashdumps, and build an elf file with the modules linked in at their current locations? This would be helpful for post-mortum debugging too.. Thanks, Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17378.19400.856354.995643>