Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 14:55:03 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Atom Smasher <atom@smasher.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sysctl way too slow
Message-ID:  <20100714125503.GG1742@hoeg.nl>
In-Reply-To: <1007142345320.5546@smasher>
References:  <1007142345320.5546@smasher>

next in thread | previous in thread | raw e-mail | index | archive | help

--XLWMkxR+mZNQ4WTO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Atom Smasher <atom@smasher.org> wrote:
> http://smasher.org/tmp/zsh-bsd-sysctl-slow.png
>=20
> is there a way to get this information that doesn't take so long?
>=20
> the same info is available on linux via /sys and /proc and on
> comparable hardware, i can get the info about 100x faster.

So what about other sysctls? Is it just these sysctls? It may be the
case that these values are not simply read from some variable in the
kernel, but really performs some hardware calls. Still, 436 msec is
quite a lot of time.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--XLWMkxR+mZNQ4WTO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkw9s6cACgkQ52SDGA2eCwV7agCeKNKu7Cj//giRPWH9aOsK5+mV
eb8AnAsT4RRxb17o688UnmmXNEMrgKt7
=jmCn
-----END PGP SIGNATURE-----

--XLWMkxR+mZNQ4WTO--



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