| Deutsch English Français Italiano |
|
<87tt7ji0lr.fsf@DEV.NULL> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Salvador Mirzo <smirzo@example.com> Newsgroups: comp.misc Subject: Re: UNIX systems Date: Mon, 24 Mar 2025 00:11:44 -0300 Organization: A noiseless patient Spider Lines: 41 Message-ID: <87tt7ji0lr.fsf@DEV.NULL> References: <67b21894$14$17$882e4bbb@reader.netnews.com> <87a5aau8bz.fsf@example.com> <8a7e56c9-779d-2250-2e9c-6dd67af88570@example.net> <87r03mq9po.fsf_-_@example.com> <2f52e086-7adf-663a-2bd7-0e328bdba87c@example.net> <87a5a7hhbd.fsf@example.com> <1e0008ef-b322-6a14-5842-d1f10eac4b58@example.net> <87h644gz5i.fsf@example.com> <9f05f9e2-c7cd-4d03-0e32-44dc9537e2f0@example.net> <87v7sj8284.fsf@example.com> <842580d0-aceb-b942-2043-4908be386f97@example.net> <87wmcx4drc.fsf_-_@example.com> <41920ba9-0dfe-1d5f-a6ed-804e20b6e548@example.net> <87ikoh2in3.fsf@example.com> <541183c5-4bd0-6552-ed24-8b6bce3a4ea8@example.net> <87r030tyt9.fsf@example.com> <e884ac4e-243e-241d-c753-4181d9a47510@example.net> <87wmcojuw3.fsf@example.com> <5085869c-628a-949d-7bea-f058a2a0b450@example.net> <874izmi3ri.fsf@antartida.xyz> <865xk2b1ot.fsf@matto.nl> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 25 Mar 2025 17:21:38 +0100 (CET) Injection-Info: dont-email.me; posting-host="e475a5154c4e65e4bcac6cc32be2d4d0"; logging-data="3896222"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S1M++fHn+96jmY07QS33MA53RcRKJ3Ew=" Cancel-Lock: sha1:JFoBVTcqRddzRQ2RZHySiKLZdDo= sha1:FYAWJA7OzBsBd6mnmLUkpDI689I= Bytes: 3041 Matto Fransen <mattof@sdf.org> writes: > On 21 March 2025 16:26 Salvador Mirzo, wrote: > >>>> Right now I get 1 hour, so 3 is a major upgrade. My notebook is quite >>>> new. It's a Lenovo 15IMH05 with 24 GiB of RAM. >>> >>> Hmm, sounds like something is wrong somewhere. I'd install powertop >>> and/or tlp and also make sure to disable Intel VMD in case it is >>> enabled in your bios. >> >> I run OpenBSD and I believe we don't have programs such as powertop or >> tlp around here. > > Perhaps you could take a look at `obsdfreqd'. > It is available as package. > > Put the following in your /etc/rc.conf.local: > > apmd_flags=-L > pkg_scripts=obsdfreqd Thanks a lot. I'm trying it out. My apmd_flags were -A -Z 6. It seems adding -L didn't play well together, but, instead of figuring it out what's exactly wrong, I just added -L alone to let obsdfreqd run in peace. I'm using the battery right now. It used to last an hour. Let's see how much it lasts now. With the naked eye, it seems we got a slight improvement, but it could be an illusion. $ sysctl hw | grep perf hw.setperf=0 hw.perfpolicy=manual $ ps ax | egrep apmd'|'obsdfreqd 31819 ?? SU 0:00.00 /usr/sbin/apmd -L 60082 p2 R+/4 0:00.00 egrep apmd|obsdfreqd 68196 C0- S<U 0:00.12 /usr/local/sbin/obsdfreqd Thanks!