sysctl way too slow
joerg at britannica.bec.de
Wed Jul 14 14:48:16 UTC 2010
On Wed, Jul 14, 2010 at 11:49:07PM +1200, Atom Smasher wrote:
> the same info is available on linux via /sys and /proc and on
> comparable hardware, i can get the info about 100x faster.
Are you sure that Linux is not just caching the data? I know of at least
one system where it takes more than 100ms to query the battery state due
to extremely slow hardware, I wouldn't be surprised if you can do worse.
More information about the freebsd-hackers