Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 13:02:00 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Barney Cordoba <barney_cordoba@yahoo.com>
Cc:        Julian Elischer <julian@elischer.org>, current@freebsd.org
Subject:   Re: kvm_read() vs ioctl performance 
Message-ID:  <10924.1206190920@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 22 Mar 2008 05:58:17 MST." <523743.91444.qm@web63914.mail.re1.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <523743.91444.qm@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@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?10924.1206190920>