#
✕ nick:marcan
#asahi · 2022-03-12 07:51
marcanhttps://www.tomshardware.com/reviews/usb-3.1-performance-benchmark,4037-2.html
#asahi · 2022-03-12 07:51
marcanthat depends on a lot of factors
#asahi · 2022-03-12 07:50
marcando you get 200 MB/s more in macOS?
#asahi · 2022-03-12 07:46
marcanthat sounds about right for USB 3.0
#asahi · 2022-03-12 07:46
marcan320 mega *bytes*?
#asahi · 2022-03-12 07:45
marcanhopefully once sven is done with the PHY drivers Asahi will have better type C support than macOS though ;)
#asahi · 2022-03-12 07:44
marcanthat they aren't the same applies to everything; that the TB ports only run at 2.0 applies to Asahi
#asahi · 2022-03-12 07:12
marcanbut then of course you're still going to have "interesting" things going on at the userspace<->kernel interface, no idea how macOS handles that
#asahi · 2022-03-12 07:11
marcanIIRC macOS just stuck all the PTE management behind an ops structure so they can have two versions and choose at process creation time/exec
#asahi · 2022-03-12 07:11
marcan(pipe dream, but it'd solve ~all problems of course)
#asahi · 2022-03-12 07:10
marcanthe question is how hard would it be to pull a macOS and actually have mixed 4K/16K mode userspace :)
#asahi · 2022-03-11 18:26
marcan(which is coming soon, but not yet)
#asahi · 2022-03-11 18:26
marcanno promises until the first official release
#asahi · 2022-03-11 18:26
marcanlennylxx[m]: wifi is broken, this is all alpha, don't expect anything to work, etc
#asahi · 2022-03-11 17:22
marcanneeds dt update
#asahi · 2022-03-11 17:22
marcanand a breaking change to aic2/t6000
#asahi · 2022-03-11 10:11
marcanah, people tested this in VMs too: https://twitter.com/AtTheHackOfDawn/status/1333895115174187011
#asahi · 2022-03-11 10:09
marcanlike either there is some big cache difference, or TLB thrashing really is a lot worse with 4K
#asahi · 2022-03-11 10:09
marcanthis seems pretty extreme though
#asahi · 2022-03-11 10:08
marcanah, so it's not just apple
#asahi · 2022-03-11 10:06
marcanit is of course possible that rosetta pokes some other magic sysregs to make it not suck at 4K
#asahi · 2022-03-11 10:05
marcanI don't buy it
#asahi · 2022-03-11 10:05
marcanfor rosetta?
#asahi · 2022-03-11 10:05
marcanbut would apple really do that?
#asahi · 2022-03-11 10:05
marcanthat is... a good point
#asahi · 2022-03-11 10:05
marcanha
#asahi · 2022-03-11 10:04
marcanboth have merits either way; 16K is always going to be faster to some extent even if we figure out a solution for that large gap, and 4K is the only way to e.g. emulate x86 software sanely
#asahi · 2022-03-11 10:03
marcanOTOH there is software out there that does silly things like assume compile time page size == runtime page size
#asahi · 2022-03-11 10:03
marcanzorun: IIRC someone benchmarked compiles at 20% faster on 16K, which is kind of ridiculous and deserves further research
#asahi · 2022-03-11 09:39
marcanin the end we're going to offer both options and other distros probably should too
#asahi · 2022-03-11 09:32
marcanmakes sense!
#asahi · 2022-03-11 09:27
marcanuh... no :p
#asahi · 2022-03-11 09:26
marcanzv was asking about our release to coordinate with the announcement :')
#asahi · 2022-03-11 07:47
marcanyes
#asahi · 2022-03-11 07:45
marcanand is self-documenting
#asahi · 2022-03-11 07:45
marcanI'm not booted but just grep /sys for macsmc-reboot, it has an obvious name
#asahi · 2022-03-11 07:44
marcanif it can't be made to work from a shutdown state coming from cold AC power up though, it's not very useful unfortunately
#asahi · 2022-03-11 07:44
marcanI've gotten it to work on the mini in the past, but there seem to be different kinds of shutdown state; it was a long time ago and I don't remember exactly how that worked
#asahi · 2022-03-11 07:34
marcanthat module also lets you (when loaded) configure power restore on AC loss via sysfs, so you could set it once then blacklist it
#asahi · 2022-03-11 07:34
marcanalso, if you have a PDU/switch and you want to be ultra safe, you could blacklist the macsmc-reboot module (which you might not even have in that kernel); reboot will still work using the watchdog driver as a fallback, but clean shutdown will be impossible at least from linux, which I guess is a good thing for you :)
#asahi · 2022-03-11 07:32
marcanoh, that was already mentioned, sorry
#asahi · 2022-03-11 07:32
marcanthough I hope to work out a way to handle the LOM features of the 10G model with FOSS in the future
#asahi · 2022-03-11 07:32
marcannot the most remote management friendly machines
#asahi · 2022-03-11 07:32
marcanzv: also fwiw, apparently Amazon has servos pressing the power switch for their Mac Minis in the cloud so... yeah :-)
#asahi · 2022-03-11 07:25
marcanzv: great, I'll let you know once the date is set! thanks!
#asahi · 2022-03-11 06:06
marcanit says 4 cores / 4 threads though, that sounds wrong? it should be 8/8 unless you're completely ignoring the E-cores
#asahi · 2022-03-11 06:05
marcan5.17.0-rc6-asahi-next-20220301-25570-gc09fe28af1d3 <- nice
#asahi · 2022-03-11 06:03
marcanbut given chainloading is in place I'm less worried about fixing things after the fact, so that should make things happen Pretty Soon Now
#asahi · 2022-03-11 06:03
marcanzv: I'd love to get a release out this weekend/monday, though it depends a bit on how well this weekend goes with tying up loose ends
#asahi · 2022-03-10 14:35
marcanasahi, some recent commit thereof

plus ›