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

Update install.sh #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ if [ "$MANUFACTURER" = "Apple Inc." ]; then
echo "## Running apple_ubuntu.sh, BYE!"
. /usr/local/bin/apple_ubuntu.sh
fi
#####################
# Reduce swappiness #
#####################

echo "#Decrease swap usage to a more reasonable level\nvm.swappiness=10" >> /etc/sysctl.conf
Copy link
Collaborator

@steenburgh steenburgh Feb 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is swappiness, and why are we decreasing it? Given that Mint is meant to be an OS that the less technically inclined can install themselves, I highly doubt the mint devs deliberately set this to a terrible value. Given that, I would not recommend changing it unless you know why our situation is different than that of the average user that the mint team is expecting.

Copy link
Collaborator

@steenburgh steenburgh Feb 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I was wrong. The ubuntu help website recommends a value of 60 for servers yet has left the default at 60 for desktop installs of the OS for god knows what reason. I wish ubuntu/mint performed well outside of the box and didn't require tribal knowledge about settings like swappiness to achieve optimal performance, especially considering their target audience is the less technically inclined. https://help.ubuntu.com/community/SwapFaq#What_is_swappiness_and_how_do_I_change_it.3F


#############
# Finish up #
Expand Down