#asahi · 2022-12-09 10:28
as400yup, absolutely#asahi · 2022-12-09 10:27
arndtons of other source trees on my disk though, and those likely have very similar patterns, so even the 40% overhead would add up quickly#asahi · 2022-12-09 10:26
arndas400: I would guess no more than 30 source trees, most of them completely obsolete. I tend to have only a handful of active source trees but a lot of separate object trees for testing, and those would be in tmpfs and not count towards disk usage though.#asahi · 2022-12-09 10:23
as400arnd: interesting. So for you, no matter what page size, 4k sectors are the way to go. I wonder how many kernel trees are on your disk at the same time :)#asahi · 2022-12-09 09:37
arnd53920 files in the kernel (source+obj) are between 1 and 4096 bytes long, so storing those in 16KB units uses 4x the space, and storing them in 16KB units uses 16x the space. For the larger files, there is less overhead #asahi · 2022-12-09 09:32
arndas400: absolutely. It's even worse if you just look at the source files. https://docs.google.com/spreadsheets/d/1_hNBVMZe29oAW3CKCm1OYMKSAmcXLARsD0KA6QjC4ic/edit?pli=1#gid=0 has my data if you are interested#asahi · 2022-12-09 09:30
as400arnd: 400% is a lot ! Wouldn't expect overhead to be this big.#asahi · 2022-12-09 09:25
arndthe overhead grows to 400% when you compare 64KB pages to 4KB pages#asahi · 2022-12-09 09:23
arndas400: there is actually one data point I have measured exactly: For my daily work (building a linux kernel from source), there is a 40% space storing all the source and object files (asahi defconfig) in 16KB units (sectors or pages, doesn't matter) compared to 4KB units#asahi · 2022-12-09 09:19
arndI mainly cared about being able to access the same file system from both the 16KB page kernel I use as well as when mounting the drive on a different machine or when testing out a 4KB page kernel#asahi · 2022-12-09 09:17
as400I the end, I'm not doing any io heavy workloads on my lappy. So I guess I should be perfectly fine. These things are insanely fast anyway :)#asahi · 2022-12-09 09:15
arndon the other hand, if you have a lot of files that are smaller than 4KB, it now has to transfer more data across the interface, which adds a little bit of latency on slower devices like USB#asahi · 2022-12-09 09:14
arndI know that for a lot of SSD hardware, it takes the same time to access a 4KB sector as it takes to access a 16KB (or even 64KB) sector on disk since it can parallelize the access across channels#asahi · 2022-12-09 09:14
as400Ok, understood.#asahi · 2022-12-09 09:12
arndfor comparing 4k sectors vs 16k sectors on a 16k page kernel, I would expect the usual workload specific tradeoffs to apply#asahi · 2022-12-09 09:12
arndno idea. there should not be much overhead compared to a 4kb page kernel from the added indirection in the kernel code, that part looks fairly straightforward.#asahi · 2022-12-09 09:11
as400I wonder what is the performance penalty. If any. Do you happen to know arnd ?#asahi · 2022-12-09 09:10
arndgood to hear that you haven't had any issues, that gives me a little more confidence in putting important data on this partition#asahi · 2022-12-09 09:09
arndI'm also using it now on 6.1-rc8#asahi · 2022-12-09 09:09
as400Using it for over 6 months. No problem.#asahi · 2022-12-09 09:09
as400With 16k pages#asahi · 2022-12-09 09:08
as400arnd: I confirm 4k sector btrfs working#asahi · 2022-12-09 09:05
arndchadmed: ok, I see. Apparently it's also been supported for longer than I thought: the btrfs support for 4K sectors already went into 5.19, just after I last tried (and failed) to use btrfs#asahi · 2022-12-09 08:56
chadmedjoske: thanks!#asahi · 2022-12-09 08:56
chadmedso i gave up and just use my ESP as /boot now which works a treat#asahi · 2022-12-09 08:55
chadmedarnd: my rootfs is btrfs on my 14" pro so ik it works in the kernel, i just had 4 attempts at getting grub to see it as a /boot partition it never worked properly#asahi · 2022-12-09 08:33
arndit previously already worked using 4k sectors and 64k pages, so they just had to use the same logic for both#asahi · 2022-12-09 08:32
arndchadmed: in recent kernels btrfs supports 4k sectors in combination with 16k pages. There is still a warning about this being experimental, but the previous data corruption issue has been addressed#asahi · 2022-12-09 07:59
joskechadmed: Jos Dehaes <jos.dehaes@gmail.com>#asahi · 2022-12-09 07:59
joskechadmed: works!#asahi · 2022-12-09 07:55
joskebuilding#asahi · 2022-12-09 07:55
joskeapplies with some offset, so fine#asahi · 2022-12-09 07:49
joskeit's not rebased on latest asahi though?#asahi · 2022-12-09 07:49
joskechadmed: let me actually test it first from your new branch ;-)#asahi · 2022-12-09 06:51
rkilgoredoes anyone know if it's possible to boot into single user mode? I made a mistake trying to change my username and now can't login#asahi · 2022-12-09 05:06
leifyou can easily convert an ext4 partition --> btrfs https://github.com/AsahiLinux/asahi-installer/issues/71#issuecomment-1088853130#asahi · 2022-12-09 05:06
leifthere is absolutely no problem with grub and 16k btrfs. My project has been using grub and a btrfs boot subvolume for ages: https://github.com/leifliddy/asahi-fedora-builder#asahi · 2022-12-09 03:08
vivithecanineAh yeah that's right #asahi · 2022-12-09 03:01
chadmedi do the latter and use sd-boot instead of grub #asahi · 2022-12-09 03:01
chadmedso its worth having an ext4 boot or use your ESP as /boot #asahi · 2022-12-09 03:01
chadmedgrub doesnt seem to like 16k btrfs#asahi · 2022-12-09 03:00
vivithecanineDunno if grub needs special modules for btrfs, iirc it doesn't need anything special#asahi · 2022-12-09 02:59
vivithecanineProbably following one of the guides for a manual install, just make sure btrfs stuff is in your initrd#asahi · 2022-12-09 02:47
TellowKrinkle What's the best way to get an Asahi install on btrfs?#asahi · 2022-12-09 02:47
TellowKrinkleI noticed the installer doesn't seem to give you a chance to set up partitions before installing#asahi · 2022-12-09 01:52
chadmedim pretty sure the trackpad firmware has its own palm rejection type stuff though#asahi · 2022-12-09 01:51
chadmedkde has an option to turn off the trackpad while youre typing #asahi · 2022-12-09 01:47
Tramtristanyone have any tips for palm detection/rejection?#asahi · 2022-12-09 01:42
chadmedjoske: do you have details i can add to a Tested-by on the tas2770 patch?#asahi · 2022-12-08 23:50
psanfordreverting the `LG_PAGE` patch fixed the segfaults for me. I opened an issue with DuckDB to hopefully get that fixed. thanks for the help!