-
Notifications
You must be signed in to change notification settings - Fork 88
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
overlayfs hack #351
Comments
Hello, This has become https://gitlab.com/axet/homebin/-/blob/e20238e97b18c9b9258170dbf1cb3bae43b3ab63/homebin.d/firefox-tmpfs . |
As I said above, I think, using fuse-overlayfs saves memory, since it does not keep entier profile in memory. Only profiles changes. If profile is 300M, changes will be 50-100M. Saves RAM. PSD copy entire profile into memory (300M), which can be not optimal (300Mvs100M). |
Maybe https://wiki.archlinux.org/title/Profile-sync-daemon#Overlayfs_mode is relevant |
overlayfs requires root, fuse-overlayfs does not. |
Okay. You initially described the advantage of overlayfs that it
which psd also achieves:
Instead, the advantage of fuse-overlayfs is not requiring root. |
Worth looking into... |
Keep in mind. It fuse-overlayfs may have kernel freeze related issue: |
That is not good. PSD is rock solid for me and 100s of others as it stands. |
I created an initial attempt at using https://github.com/graysky2/profile-sync-daemon/tree/fuse-overlayfs BACKUP your browser profiles first! Why would systemd calling the script in user mode cause |
Ah! Seems as though @axet - Will you please try the latest commit from my https://github.com/graysky2/profile-sync-daemon/tree/fuse-overlayfs branch? Does it behave as you expect? I too am running it and look for inconsistencies in behavior. I would like to avoid the need for root to be in the mix at all, #286 and on the surface, this implementation seems to achieve that. For Arch Linux users, you can install this dev version with this AUR package. |
Can't test it right now. I think I will stuck with my own firefox-tmpfs. I love it. It much lighter, has no systemd dependency. People will appreciate fuse-overlayfs I'm sure of it. |
I am seeing slow downs using fuse-overlayfs vs kernel mount. Others? |
Closing for now due to enormous speed hit using FUSE introduces. |
Hello!
I want to share an idea how you can reduce memory footprint from using profile-sync-daemon. Currently it requires to put whole browser profile into tmpfs disk which equivalent full profiles size. Using overlayfs you can reduce profile size to the changes size only.
I wrote simple script which does the trick for firefox:
The text was updated successfully, but these errors were encountered: