Re: kvm_read() vs ioctl performance

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 22 Mar 2008 07:31:47 +0000
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.
Received on Sat Mar 22 2008 - 06:31:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC