-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f2fs support as a root fs during installation #1522
Comments
This and xfs seem fairly reasonable to me. Needs to be at least validated with clr-boot-manager support in addition to the installer support though. |
I agree, this is for me the last 'papercut' issue I have with Clear Linux. Benchmarks have shown that in raw performance ext4 is competitive, albeit still slower. With the biggest advantage is that f2fs has a significantly faster application start-up time over other file-systems. And it was an average of 28% faster than ext4, calculated from a geometric mean over different workloads, according to Phoronix benchmarks done on an Intel Optane 900 pci-e nvme. It wouldn't make sense to switch the default of course, but for the advanced user the installer should allow both ext4 and f2fs if used with manual partitioning. It seems to be an easy performance win for SSD users to allow the option, especially considering that Clear Linux prides itself on speed and high performance. |
what we'd need is to get @miguelinux to consider adding these filesystems as |
@dorileo for |
@dorileo I'd want to know the clear-boot-manager will work with root as f2fs before we consider installer changes. |
That is a great idea! F2FS is being added to other distros out there, such as Debian, which will now allow it to be used on the root disk. For those who use source-based distributions, this has not been a problem for a long time! |
This issue is still open. There is still enabling work for this file system type to be usable. |
I validated CBM with F2FS when I was trying to use F2FS on Solus, they grab CBM straight from the CLR repos so it should be fine. The only thing left should be the installer. |
Alright I added F2FS support to the installer, I'll be submitting a patch within a day or two. |
Thank you so much man! I excited to test this. 😁 |
@ZVNexus Look forward to the PR. |
Ah thought everything went through the mailing list, RIP already submitted a patch there. Should I submit a pull request? I find that's easier for code review than a mailing list. |
Alright now that installer is done is adding F2FS support as a possible /boot fstype something that's viable? I saw the F2FS maintainer added it for GRUB but not sure if he'd do it for CBM. Not even sure if there's benefits to doing that either. |
efi wants that to be vfat
…On Thu, Feb 13, 2020, 17:19 Alexander Koskovich ***@***.***> wrote:
Alright now that installer is done is adding F2FS support as a possible
/boot fstype something that's viable? I saw the F2FS maintainer added it
for GRUB but not sure if he'd do it for CBM.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1522?email_source=notifications&email_token=AAJ54FNUTSNZKJOG37PLM53RCXWQXA5CNFSM4JQZPM5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELXG6MQ#issuecomment-586051378>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ54FOFXLV2LOMLP34GF53RCXWQXANCNFSM4JQZPM5A>
.
|
Oh is EXT4 support on CBM just for legacy BIOS? |
For EFI you need a FAT32 partition. Grub already support F2FS for UEFI and BIOS mode. |
@bkdwt but clearlinux doesn't use GRUB... |
Ops, my mistake. 😅 |
@ZVNexus what is your use case for f2fs /boot partition? Can't you boot EFI? I'll not add anything to support f2fs boot partitions as long as we have a strong requirement to that, look at the clr-boot-manager README file and see all the possible fs combinations. You can boot on legacy mode with vfat and ext fs which I think is just good enough for most use cases, feel free to open a new issue on the clr-boot-manager project asking for f2fs /boot partition support however bare in mind that it may sit there for a while - until we have some real requirement to that. |
Nah I just thought it was interesting. There's no real demand for that. |
Please ignore this entirely. UEFI doesn't support FSF2 (full stop). On UEFI systems, we will always use |
The change is already in the -native kernel |
Now is just wait the next build release, right? |
No, it's not merged into the installer yet. It's currently blocked on adding F2FS to the clr-installer bundle, and then it can be merged (which a patch does exist for on the mailing list https://lists.clearlinux.org/hyperkitty/list/dev@lists.clearlinux.org/thread/MKNECVT34KV2UCYHURTAHHZFAYC2PGTI/). Then it should come probably a release or two after everything goes in, I thinnkkkk. |
@miguelinux Please let me know when you are able to add the same f2fs support to both the LTS kernels; 2017, 2018 as those are both selectable at installation time. We do not want the installer to be able to create an installation that can not be booted. |
f2fs was added to the clr-installer bundle. |
@miguelinux |
I just updated the LTS, 17, 18 and 19, you will see them in the next release. |
Thank you @miguelinux |
commit clearlinux-pkgs/linux@a6347f8 native resolves clearlinux/distribution#1522
I saw a new build iso for download on the CL homepage. Is the build with F2FS support on the installer? |
Yep, I reinstalled yesterday on it. |
Thanks buddy! :) |
@mdhorn @miguelinux Would it be possible to remove the requirement to have a swap partition in the system? |
@bkdwt The kernel really wants to have a swap partition for performance reasons even if it is just a small one. |
There is already an open issue for not requiring a swap partition |
Ok, no problem. I'll delete the swap partition after installation and use zram instead. |
f2fs is available in clr-installer 2.4.1 starting with Clear Linux OS release 32510 or higher. |
f2fs is probably one of the fastest file systems for SSD right now. Clear Linux has added the f2fs-tools package and enabled f2fs as a kernel module (#154). Would it be possible to enable f2fs as a root file system and give it as a choice during installation?
The text was updated successfully, but these errors were encountered: