![]() ![]() The same recovery features psd uses in its default mode are also active when running in overlayfs mode. The magic is in how the overlay mount only writes out data that has changed rather than the entire profile. Starting with psd version 5.54, overlayfs can be used to reduce the memory footprint of psd's tmpfs space and to speed up sync and unsync operations. Overlayfs is a simple union file-system mainlined in the Linux kernel version 3.18.0. Psd will automatically detect the overlayfs available to your kernel if it is configured to use one of them. Versions 22 and lower have a module called 'overlayfs' while newer versions (23 and higher) have a module called 'overlay' - note the lack of the 'fs' in the newer version. Note: There are several versions of overlayfs available to the Linux kernel in production in various distributions. See systemd.timer(5) for additional options. ~/.config/systemd/user//nf ĭescription=Timer for Profile-sync-daemon - 10min The example below changes the timer to sync once every ten minutes (note that OnUnitActiveSec needs to be cleared before being re-assigned ): Users may optionally redefine this behavior simply by extending the systemd unit. The package provided re-sync timer triggers once per hour. Tips and tricks Sync at more frequent intervals It will also provide useful information such as profile size, paths, and if any recovery snapshots have been created. ![]() Run psd parse to view what psd will do/is doing based on $XDG_CONFIG_HOME/psd/psd.conf. The resync-timer is started automatically with psd.service so there is no need to manually start the timer. Additionally, a provided resync-timer will run an hourly resync from tmpfs back to the disk. heftig's version of Aurora: An Arch Linux-only browser.Firefox (all flavors including stable, beta, and nightly).This feature requires at least a Linux kernel version of 3.18.0 or greater.Ĭurrently, the following browsers are auto-detected and managed: Do this in the BACKUP_LIMIT variable.Įxample: Let us say that Chromium, Opera and Midori are installed but only Chromium and Opera are to be sync'ed to tmpfs since the user keeps Midori as a backup browser and it is seldom used:īeginning with version 5.54 of psd, native support for overlayfs is included. Optionally define the number of crash-recovery snapshots to keep.Optionally disable the use of crash-recovery snapshots (not recommended).If none are defined, the default is all detected browsers. Optionally define which browsers are to be managed in the BROWSERS array.See #Overlayfs mode for additional details. The user will require sudo rights to /usr/bin/psd-overlay-helper to use this option and the kernel must support overlayfs version 22 or higher. Optionally enable the use of overlayfs to improve sync speed and to use a smaller memory footprint.Note: Any edits made to this file while psd is active will be applied only after psd.service has been restarted. You can run the psd command before using psd.service to create this file without starting synchronization. ![]() When you run psd for the first time, it will create $XDG_CONFIG_HOME/psd/psd.conf (referred to hereafter as the configuration file) which contains all settings. psd can slow down login, as that is when it copies your browser cache to RAM.On Arch Linux, pacman should notify the user to do this. The user copy $XDG_CONFIG_HOME/psd/psd.conf will need to be diffed against it. Occasionally, updates/changes are made to the default configuration file /usr/share/psd/psd.conf upstream.It is not within the scope of profile-sync-daemon to modify this behavior users are encouraged to refer to the Chromium tweaks#Cache in tmpfs section for Chromium and to the Firefox on RAM article for several workarounds. Some browsers such as Chrome/Chromium, Firefox (since v21) and Midori actually keep their cache directories separately from their profile directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |