kvm_read() vs ioctl performance
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Mar 22 00:31:51 PDT 2008
In message <47E46682.4020403 at elischer.org>, Julian Elischer writes:
>>> tried a shared memory page?
>>
>> No, but I built a test and kvm_read is 70 times
>> faster, in
>> case anyone is interested.
The shared memory approach is much better than that, you should
go that way.
Look at the adlink driver for an example.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list