Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 02:49:22 +1200 (NZST)
From:      Atom Smasher <atom@smasher.org>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sysctl way too slow
Message-ID:  <1007150245460.5546@smasher>
In-Reply-To: <4C3DBCC7.8060500@bsdforen.de>
References:  <1007142345320.5546@smasher> <4C3DBCC7.8060500@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jul 2010, Dominic Fandrey wrote:

> It probably depends on your BIOS. This is the same call on my
> system:
> % time sysctl -n hw.acpi.battery.life hw.acpi.battery.time hw.acpi.battery.state
> 100
> -1
> 0
> sysctl -n hw.acpi.battery.life hw.acpi.battery.time hw.acpi.battery.state  0.00s user 0.01s system 96% cpu 0.013 total
>
> As you can see 33 times faster than on your system.
===================

next time i reboot this laptop, i'll stick an ubuntu CD in and see if it 
takes as long to get the info. i guess if it does take as long, then we 
can blame the hardware.


-- 
         ...atom

  ________________________
  http://atom.smasher.org/
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"Since I entered politics, I have chiefly had men's views
 	 confided to me privately. Some of the biggest men in the
 	 United States, in the Field of commerce and manufacture,
 	 are afraid of something. They know that there is a power
 	 somewhere so organized, so subtle, so watchful, so
 	 interlocked, so complete, so pervasive, that they better
 	 not speak above their breath when they speak in
 	 condemnation of it."
 		-- Woodrow Wilson, The New Freedom (1913)




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