Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 07:31:47 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Julian Elischer <julian@elischer.org>
Cc:        Barney Cordoba <barney_cordoba@yahoo.com>, current@freebsd.org
Subject:   Re: kvm_read() vs ioctl performance 
Message-ID:  <9428.1206171107@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 21 Mar 2008 18:53:06 MST." <47E46682.4020403@elischer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <47E46682.4020403@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9428.1206171107>