You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull request type (bug fix/improvement): not yet submitted
Description:
Problem description
By design, the Ubuntu distro tailored for the PYNQ framework boots from an external SD card. In the default configuration, some settings will significantly reduce the durability of that flash storage device (extensive write requests), which can cause early failures and higher wear than necessary. The most prominent one is swapping.
Solution
An extensive list of measures can be found in the thread on raspberrypi.stackexchange.com. At the very least, I would disable the swap functionality.
This could be done by adding the following snippet to sdbuild/scripts/setup_host.sh:
sudo swapoff -a
sudo rm /var/swap
Let me know if I should open a PR with that code change.
The text was updated successfully, but these errors were encountered:
Environment
Problem description
By design, the Ubuntu distro tailored for the PYNQ framework boots from an external SD card. In the default configuration, some settings will significantly reduce the durability of that flash storage device (extensive write requests), which can cause early failures and higher wear than necessary. The most prominent one is swapping.
Solution
An extensive list of measures can be found in the thread on raspberrypi.stackexchange.com. At the very least, I would disable the swap functionality.
This could be done by adding the following snippet to
sdbuild/scripts/setup_host.sh
:Let me know if I should open a PR with that code change.
The text was updated successfully, but these errors were encountered: