https://rancher.com/ logo
#k3s
Title
# k3s
a

adamant-kite-43734

03/15/2023, 11:04 PM
This message was deleted.
c

creamy-pencil-82913

03/15/2023, 11:11 PM
Unfortunately if that IS the case I’m not sure there’s much you can do about it unless Asahi offers a kernel with 4k pages.
d

delightful-author-23241

03/15/2023, 11:16 PM
This was the closest issue I could find as well. However, running
getconf PAGESIZE
returns
16384
for me, but it's certainly not 4k. On the Asahi project page it says "The Asahi Linux kernel is compiled to use 16K pages. This both performs better, and is required with our kernel branch right now in order to work properly with the M1’s IOMMUs. Unfortunately, some Linux software has problems running with 16K pages", so yeah, that's probably it... I take it there's not much I can do about it then?
c

creamy-pencil-82913

03/15/2023, 11:18 PM
ah yeah. anything not 4k will blow up.
I’m not sure if theres any way for you to use the amd64 binary instead?
I don’t know much about Linux on M1 so I’m not sure if that’s a thing thats possible, or if it only works on OS X?
d

delightful-author-23241

03/15/2023, 11:21 PM
I think it's possible to get it to work on Asahi as well. I may give this a try. Would this mean that I am restricted to running all my containers on amd64 as well? If so, this would be a big hit on performance
c

creamy-pencil-82913

03/15/2023, 11:24 PM
well, some number of the binaries in arm64 container images will probably crash for the same reason. Most stuff expects a 4k page size since that’s the standard for most distros.
d

delightful-author-23241

03/15/2023, 11:29 PM
dang, that's a bummer. Looks like Linux on Apple Silicon still has some ways to go. Thanks for the quick help though! Much appreciated
237 Views