Date: Mon, 21 Nov 2005 10:37:25 -0800 From: Nate Lawson <nate@root.org> To: Hajimu UMEMOTO <ume@freebsd.org> Cc: Pierre-Luc Drouin <pldrouin@pldrouin.net>, acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday Message-ID: <438213E5.70508@root.org> In-Reply-To: <ygek6f9g83g.wl%ume@mahoroba.org> References: <4377775B.3080606@pldrouin.net> <20051114105854.GA1041@galgenberg.net> <4378CC14.2020109@pldrouin.net> <ygek6f9g83g.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO wrote: > Hi, > > >>>>>>On Mon, 14 Nov 2005 12:40:36 -0500 >>>>>>Pierre-Luc Drouin <pldrouin@pldrouin.net> said: > > > pldrouin> Yep, smart battery is definately the problem. The performance of my > pldrouin> laptop is back to normal when I remove the xfce4-battery-plugin. > pldrouin> acpiconf -i loop reproduces the problem for me too. So it looks like > pldrouin> there is something wrong in smart battery. > > The cmbat has similar issue on some laptops. So, acpi_cmbat.c uses > cache for retrieval to reduce its influence, and its expiration > time is set by hw.acpi.battery.info_expire. > However, acpi_smbat.c doesn't use cache. So, I made a patch. Since I > don't have a laptop which has smbat, I cannot test it by myself. > Please test it and let me know the result. The patch looks good to me, you should commit please. -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?438213E5.70508>