Suggest edits to this article

If you ever felt frustrated that you have such a great linux system but it still works slow. Now you can feel powerful.

How to speed up a perfectly fine Linux system?

It turned out that the bottleneck usually is the disk. And I had found a succcessful solution.

At first I had found

https://github.com/graysky2/profile-sync-daemon

I thought that it’s a very good idea – to put the profiles of a web browser to memory – so that browsers will work faster. Faster than the SSD.

I had tried it,but after it corrupted the profile twice. I am not sure about it.

Instead, I have increased the disk sync size and time. It works well.

edited /etc/sysctl.conf added to the end of the file:

# as suggested by https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/
vm.dirty_background_ratio = 50
vm.dirty_ratio = 80

Better Linux Disk Caching & Performance with vm.dirty_ratio & vm.dirty_background_ratio

It was useful to me because I have installed Linux on a USB disk. My laptop has a large memory. (Linux installation to USB is done by plugging a USB to a Virtual Machine as the main disk and installing from .iso file.)

I had found it doesn’t work on a VPS.
While I had tried to increase the performance of a VPS with an SSD disk – It worked a little slower. I had figured out that VPS computers have a slow memory of about 500Mb/sec not 2000Mb/sec to 3000Mb/sec as normal PC. My VPS benchmark script: https://gist.github.com/shimondoodkin/defae1e5f9c1aaabb1c7