If you successfully installed Ubuntu or other GNU/Linux on your Chromebook device, maybe want to optimize your new OS on your Chromebook. Note that isn’t specifically for Chromebook and can be used on most GNU/Linux systems, but is a good starting point to get more performance on your Chromebook. Warning: this document comes.
Warning: this document comes without warranty of any kind. I do not issue any guarantee that this will work for you!
Update information repositories and all the packages we have installed so far.
sudo apt-get update && sudo apt-get upgrade
1. Tuning Swappiness
sudo nano /etc/sysctl.conf
2. Concurrent booting
sudo nano /etc/init.d/rc
sudo apt-get install prelink
sudo nano /etc/default/prelink
sudo prelink -ua
4. Install preload
Preload is an adaptive readahead daemon. It monitors applications that users run, and by analyzing this data, predicts what applications users might run, and fetches those binaries and their dependencies into memory for faster startup times.
sudo apt-get install preload
sudo /etc/init.d/preload restart
5. Blacklist ipv6
If you are using ipv6 please skip this tip. Else if you disable IPv6 you can get reasonable Internet connection and DNS speeds. Edit the file /etc/modprobe.d/blacklist.conf:
sudo nano /etc/modprobe.d/blacklist.conf
# disable ipv6 blacklist ipv6
6. TCP tuning
Like most modern OSes, Linux now does a good job of auto-tuning the TCP buffers, but the default maximum Linux TCP buffer sizes are too small. You can edit the /etc/sysctl.conf:
sudo nano /etc/sysctl.conf
Then add the following:
#ipv4 net.ipv4.tcp_fin_timeout = 60 net.ipv4.tcp_retries1 = 3 net.ipv4.tcp_keepalive_probes = 9 net.ipv4.tcp_keepalive_time = 7200 net.ipv4.tcp_syn_retries = 5 net.ipv4.tcp_timestamps = 1 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_sack = 1 net.ipv4.tcp_no_metrics_save = 1
Now reload the changes:
sudo sysctl -p
7. Ubuntu tweak
Ubuntu Tweak is a must have application for Ubuntu, it is an application to configure Ubuntu easier for everyone.
Install Ubuntu Tweak in Ubuntu via repository, open terminal and enter the following command:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update && sudo apt-get install ubuntu-tweak
There are more tips, I’ll try to add more If I’ve time, if you want please share your favorite tips and tricks on comments.
Josh Goldman, Managing Editor, is a laptop expert who has been writing about and evaluating them since built-in Wi-Fi was an optional feature. He also covers practically anything that is connected to a computer, such as keyboards, mouse, USB-C docks, and PC gaming devices. He also writes on cameras, such as action cameras and drones. And, while he doesn’t consider himself a gamer, he devotes much too much time to them.