The ext4 file system records information about when a file was last accessed and there is a cost associated with recording it. With the noatime option, the access timestamps on the filesystem are not updated.
The default 5 sec means that if the power is lost, one will lose as much as the latest 5 seconds of work. It forces a full sync of all data/journal to physical media every 5 seconds.
tmpfs is a temporary filesystem that resides in memory and/or swap partition(s). Mounting directories as tmpfs can be an effective way of speeding up accesses to their files, or to ensure that their contents are automatically cleared upon reboot.
An alternative approach is to use about:config settings:
Set browser.cache.disk.enable to false Verify that browser.cache.memory.enable is set to true Add the entry (right click > new > integer) browser.cache.memory.capacity and set it to the amount of KB you want to spare, or to -1 for automatic cache size selection (skipping this step has the same effect as setting the value to -1)
增加会话保存时间间隔(或者关闭)
Firefox stores the current session status (opened urls, cookies, historyand form data) to the disk on a regular basis. It is used to recover a previous session in case of crash.The default setting is to save the session every 15 seconds, resulting in frequent disk access.
1 2 3
To increase the save interval to 10 minutes (600000 milliseconds) for example, change in about:config the setting of browser.sessionstore.interval to 600000
To disable completely this feature, change browser.sessionstore.resume_from_crash to false
Disable Pocket
If you do not use the Pocket-service, you may want to disable it by setting extensions.pocket.enabled to false in about:config.
Profile-sync-daemon(psd):通过tmpfs将所有文件放入内存,Cache the entire profile into RAM via tmpfs
安装:
1
sudo pacman -S profile-sync-daemon
首次运行:
1 2
psd First time running psd so please edit /home/jc/.config/psd/psd.conf to your liking and run again.
1 2 3
#添加firefox vim .config/psd/psd.conf BROWSERS="firefox"