Re: kvm_read() vs ioctl performance

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 22 Mar 2008 13:02:00 +0000
In message <523743.91444.qm_at_web63914.mail.re1.yahoo.com>, Barney Cordoba writes
:

>Is this a page of memory, or some other "page"

Yes, chunks of 4K (usually).

>concept? As I mentioned, there are n  structures, and
>there could be 20K or more of them. The structures are
>72 bytes. Its also read-only, and not dreadfully
>important that the stats are exactly tied to a precise
>moment in time.

The point about shared memory is that there are no system
calls involved, so they are for all pratical points of
view free.

-- 
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 - 12:02:04 UTC

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