Skip to content
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

Turn off zram when configuration the jetson #1

Open
rdejana opened this issue Apr 9, 2021 · 1 comment
Open

Turn off zram when configuration the jetson #1

rdejana opened this issue Apr 9, 2021 · 1 comment
Assignees

Comments

@rdejana
Copy link
Contributor

rdejana commented Apr 9, 2021

in JP 4.4, zram is turned on. We can move the file /etc/systemd/nvzramconfig.sh to /etc/systemd/nvzramconfig.sh.old to turn off.

@AndreV84
Copy link

AndreV84 commented May 6, 2021

@rdejana after turning off zram it is also handy to setup the swap
as in https://github.com/NVIDIA-AI-IOT/jetson-cloudnative-demo#instructions-to-set-up-nvme-drive

"Next, create a file swap on NVMe by following these instructions:

​ Turn off zram:

cd /etc/systemd
sudo mv nvzramconfig.sh nvzramconfig.sh.orig
sudo reboot

​ Add swap file on nvme and verify:

sudo fallocate -l 32G /home/nvidia/nvme/swapfile
sudo chmod 600 /home/nvidia/nvme/swapfile
sudo mkswap /home/nvidia/nvme/swapfile
sudo swapon /home/nvidia/nvme/swapfile
sudo swapon -s

Add the line below to /etc/fstab so swap file will be automounted going forward:

/home/nvidia/nvme/swapfile swap swap defaults 0 0

Reboot the developer kit after saving the /etc/fstab changes. "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants