Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Theo de Raadt
Mike Larkin wrote: > On Wed, Sep 29, 2021 at 08:44:54PM -0400, David Anthony wrote: > > After enabling "BIOS Thunderbolt Assist", I experience consistent machine > > slowdown on my T480. Previously, I experienced slowdown after power cycling > > my machine occasionally. Currently, with this BIOS

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Daniel Wilkins
On Wed, Sep 29, 2021 at 06:29:08PM -0700, Mike Larkin wrote: > On Wed, Sep 29, 2021 at 08:44:54PM -0400, David Anthony wrote: > > After enabling "BIOS Thunderbolt Assist", I experience consistent machine > > slowdown on my T480. Previously, I experienced slowdown after power cycling > > my machine

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Mike Larkin
On Wed, Sep 29, 2021 at 08:44:54PM -0400, David Anthony wrote: > After enabling "BIOS Thunderbolt Assist", I experience consistent machine > slowdown on my T480. Previously, I experienced slowdown after power cycling > my machine occasionally. Currently, with this BIOS setting enabled, I >

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread David Anthony
After enabling "BIOS Thunderbolt Assist", I experience consistent machine slowdown on my T480. Previously, I experienced slowdown after power cycling my machine occasionally. Currently, with this BIOS setting enabled, I experience slowdown consistently. I am sorry but I don't know enough

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread David Anthony
Another T480 user who has noticed the same problem. Per advice given, I've just enabled "BIOS Thunderbolt Assist". I will report back if I notice the problem persists. On 9/19/21 4:50 AM, Daniel Wilkins wrote: I've ran into this on my T480, it seems most consistently triggered by power cycles

Re: SOLVED Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Daniel Wilkins
On Wed, Sep 29, 2021 at 11:47:34AM -0600, Theo de Raadt wrote: > It would be great if someone figures out why "BIOS Thunderbolt Assist" > disable, causes a pin to get stuck on resume, and/or figures out how we > can recognize to handle/clear the event. The detail in my BIOS options specifically

SOLVED Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Jonathan Thornburg
Hi, On 2021-09-28 14>18>49, Daniel Wilkins wrote > All you have to do is go into your bios' settings and turn on > "BIOS Thunderbolt Assist" then everything will work 100% fine. > > Thanks to jcs on IRC for pointing me at that (dunno what his > email is.) Success! With this (and the 7.0

Re: SOLVED Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Theo de Raadt
Jonathan Thornburg wrote: > On 2021-09-28 14>18>49, Daniel Wilkins wrote > > All you have to do is go into your bios' settings and turn on > > "BIOS Thunderbolt Assist" then everything will work 100% fine. > > > > Thanks to jcs on IRC for pointing me at that (dunno what his > > email is.) > >

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Stuart Henderson
On 2021-09-29, Andrew Lemin wrote: > And to answer my last question about SMP capabilities, it looks like the > only locking going on is when the driver is talking to the Kernel itself > through kstat which would make sense. So yes it looks like mcx does have > SMP support :) $ cd /sys/dev/pci;

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-29 Thread Daniel Wilkins
On Tue, Sep 28, 2021 at 10:08:47PM -0600, Theo de Raadt wrote: > There are a few people who have experience with this. Maybe one of > them will mail you privately. > I'm glad this thread suddenly got revived, since I tried to find it in my backlog but it got lost. All you have to do is go into

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Andrew Lemin
And to answer my last question about SMP capabilities, it looks like the only locking going on is when the driver is talking to the Kernel itself through kstat which would make sense. So yes it looks like mcx does have SMP support :) Well its enough for me to buy a card from ebay to play with as

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Andrew Lemin
So I think I have figured out some things Theo browsing through https://github.com/openbsd/src/blob/master/sys/dev/pci/if_mcx.c. I can see that some offloading is supported, but have not yet figured out how much is implemented yet. It looks like the offloading capability in these cards are much

Re: problems with outbound load-balancing (PF sticky-address for destination IPs)

2021-09-29 Thread Andrew Lemin
Ah, Your diagram makes perfect sense now :) Thank you - So it does not have to undergo a full rehashing of all links (which breaks _lots_ of sessions when NAT is involved), but also does not have to explicitly track anything in memory like you say  So better than full re-hashing and cheaper

Re: problems with outbound load-balancing (PF sticky-address for destination IPs)

2021-09-29 Thread Claudio Jeker
On Wed, Sep 29, 2021 at 08:07:43PM +1000, Andrew Lemin wrote: > Hi Claudio, > > So you probably guessed I am using 'route-to { GW1, GW2, GW3, GW4 } random' > (and was wanting to add 'sticky-address' to this) based on your reply :) > > "it will make sure that selected default routes are sticky to

Re: problems with outbound load-balancing (PF sticky-address for destination IPs)

2021-09-29 Thread Andrew Lemin
Hi Claudio, So you probably guessed I am using 'route-to { GW1, GW2, GW3, GW4 } random' (and was wanting to add 'sticky-address' to this) based on your reply :) "it will make sure that selected default routes are sticky to source/dest pairs" - Are you saying that even though multipath routing

Re: problems with outbound load-balancing (PF sticky-address for destination IPs)

2021-09-29 Thread Claudio Jeker
On Wed, Sep 29, 2021 at 02:17:59PM +1000, Andrew Lemin wrote: > I see this question died on its arse! :) > > This is still an issue for outbound load-balancing over multiple internet > links. > > PF's 'sticky-address' parameter only works on source IPs (because it was > originally designed for