Re: System very slow on cold boot

2018-10-24 Thread Martijn Rijkeboer
On 9/12/18 9:23 AM, Mike Larkin wrote:
> On Wed, Sep 12, 2018 at 09:13:40AM +0200, Mark Kettenis wrote:
>>> Date: Tue, 11 Sep 2018 15:31:15 -0700
>>> From: Mike Larkin 
>>>
>>> Just trying to read through the goop, does disabling acpibat help?
>>
>> I doubt it.  The interesting bit is at the end.  _L6F is triggering
>> again and again.  But the AML doesn't provide me any clues on what
>> this is about.
> 
> Yes, I saw that too. And I saw it called into the battery state methods
> a few times...

FYI: After reading Jan Klemkow's response [0] to Mark's "Add acpipci(4)
on amd64" mail [1], I recognized Jan's issue with resume after suspend.
So I also disabled Thunderbold on my Thinkpad T480 (Bios -> Security ->
I/O Port Access -> Thunderbold (TM) 3) and now my system is no longer
slow when doing a cold boot.

Kind regards,


Martijn Rijkeboer

[0] https://marc.info/?l=openbsd-tech=154032549524712=2
[1] https://marc.info/?l=openbsd-tech=154023758628853=2



Re: System very slow on cold boot

2018-09-09 Thread Mike Larkin
On Thu, Sep 06, 2018 at 09:02:42AM +0200, Martijn Rijkeboer wrote:
> On 09/05/18 23:23, Mike Larkin wrote:
> > On Wed, Sep 05, 2018 at 06:38:28PM +0200, Martijn Rijkeboer wrote:
> >> On 09/05/18 16:31, Mark Kettenis wrote:
> >>> Not unexpectedly, lots of acpi interrupts when booted cold.
> >>>
> >>
> >> If that is the problem, than the system should become faster after a
> >> while isn't it? Unfortunately the system remains slow (even when running
> > 
> > No. It's likely something the BIOS is setting up that OpenBSD isn't
> > clearing. Does a zzz/resume cycle also fix it?
> 
> Unfortunately doing a zzz/resume cycle does not fix the problem. That
> would have been a nice workaround...
> 
> 
> >> for more than an hour) and CPU0 keeps at 85% sys. Furthermore, the CPU
> >> frequency scaling doesn't work so the CPU remains at 100% although
> >> hw.perfpolicy is set to auto. This also keeps the fans running at full
> >> speed and drains the battery rather quickly.
> 
> Kind regards,
> 
> 
> Martijn Rijkeboer
> 

Could be a stuck GPE, building with ACPI_DEBUG and sending the output 
might help there.

-ml



Re: System very slow on cold boot

2018-09-06 Thread Martijn Rijkeboer
On 09/05/18 23:23, Mike Larkin wrote:
> On Wed, Sep 05, 2018 at 06:38:28PM +0200, Martijn Rijkeboer wrote:
>> On 09/05/18 16:31, Mark Kettenis wrote:
>>> Not unexpectedly, lots of acpi interrupts when booted cold.
>>>
>>
>> If that is the problem, than the system should become faster after a
>> while isn't it? Unfortunately the system remains slow (even when running
> 
> No. It's likely something the BIOS is setting up that OpenBSD isn't
> clearing. Does a zzz/resume cycle also fix it?

Unfortunately doing a zzz/resume cycle does not fix the problem. That
would have been a nice workaround...


>> for more than an hour) and CPU0 keeps at 85% sys. Furthermore, the CPU
>> frequency scaling doesn't work so the CPU remains at 100% although
>> hw.perfpolicy is set to auto. This also keeps the fans running at full
>> speed and drains the battery rather quickly.

Kind regards,


Martijn Rijkeboer



Re: System very slow on cold boot

2018-09-05 Thread Mike Larkin
On Wed, Sep 05, 2018 at 06:38:28PM +0200, Martijn Rijkeboer wrote:
> On 09/05/18 16:31, Mark Kettenis wrote:
> > Not unexpectedly, lots of acpi interrupts when booted cold.
> > 
> 
> If that is the problem, than the system should become faster after a
> while isn't it? Unfortunately the system remains slow (even when running

No. It's likely something the BIOS is setting up that OpenBSD isn't
clearing. Does a zzz/resume cycle also fix it?

> for more than an hour) and CPU0 keeps at 85% sys. Furthermore, the CPU
> frequency scaling doesn't work so the CPU remains at 100% although
> hw.perfpolicy is set to auto. This also keeps the fans running at full
> speed and drains the battery rather quickly.
> 
> Kind regards,
> 
> 
> Martijn Rijkeboer
> 



Re: System very slow on cold boot

2018-09-05 Thread Martijn Rijkeboer
On 09/05/18 16:31, Mark Kettenis wrote:
> Not unexpectedly, lots of acpi interrupts when booted cold.
> 

If that is the problem, than the system should become faster after a
while isn't it? Unfortunately the system remains slow (even when running
for more than an hour) and CPU0 keeps at 85% sys. Furthermore, the CPU
frequency scaling doesn't work so the CPU remains at 100% although
hw.perfpolicy is set to auto. This also keeps the fans running at full
speed and drains the battery rather quickly.

Kind regards,


Martijn Rijkeboer



Re: System very slow on cold boot

2018-09-05 Thread Mark Kettenis
Not unexpectedly, lots of acpi interrupts when booted cold.