Some FreeBSD performance Issues
adrian at freebsd.org
Mon Nov 12 00:06:57 PST 2007
On 12/11/2007, Randall Hyde <randyhyde at earthlink.net> wrote:
> At this point I'm not sure why FreeBSD's API call is so slow (btw, it's not
> the system call that's responsible, if I make several additional API calls
> on each read, e.g., doing lseeks, this has only a marginal impact on
> performance). But it's pretty clear that if I expect reasonable performance
> in my own library I'm going to have to do the same thing that glib does and
> switch over to buffered I/O. Pain in the butt, but there's nothing else to
> do at this point.
Why give up at this point? Why not actually do some pmcstat profiling
to see where all the CPU time is going?
Adrian Chadd - adrian at freebsd.org
More information about the freebsd-hackers