Skip to content

Profile-sync-daemon installation on Debian and examining memory/disk usage of the Firefox browser after it is using RAMdisk/memory #387

@slrslr

Description

@slrslr

Setting up a Profile-sync-daemon so the browsers profiles are in RAM and synchronized to disk:

sudo apt install fatrace && sudo fatrace -t|grep irefox # list disk writing done by Firefox
sudo apt install profile-sync-daemon # install deb/ubuntu
psd p # show what will daemon do
# Check the .conf file it outputs ( $HOME/.config/psd/.psd.conf ), I have NOT enabled overlayfs option since it is claimed to be insecure #286
# stop your browsers now manually
systemctl --user enable psd && systemctl --user stop psd && systemctl --user start psd
# start your browsers now manually
sudo fatrace -t|grep irefox # list disk writing done by Firefox. I can see that these are done at the /tmp
ncdu -x /tmp # directory sizes viewer shows 800MB of a disk space used by /tmp/cache2/entries
ps -eo rss,cmd | awk '/firefox/{sum+=$1} END {print sum/1024" MB"}' # shows 2547.52 MB of memory used
ps_mem tool shows "1.5 GiB" RAM and 5.2 GiB SWAP.

I hope that all is right, or I have missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions