PDA

View Full Version : tips on howto speed up hdd loading times



chrcoluk
01-09-15, 23:25
As some may know I complained about how newer versions of vix were more laggy to use, especially e.g. when loading the recordings screen it would take time to load the list of recordings.

I used some of my linux knowledge as well as reading some documentation to retune my box with two setting adjustments, I waited weeks before posting to make sure was consistent, and was confirmed when after updating to 3.2 (which reset the tunables) that my settings work well.

So basically you login to the shell as root on the vix box. (mine is a solo2).

Type 2 commands

sysctl vm.dirty_writeback_centisecs=30
sysctl vm.dirty_background_ratio=5

thats it really.

Now at this point its not persistent, so rebooting the box will undo this change.

If you decide you prefer the performance with these settings then add them to /etc/sysctl.conf, remembering to comment out the conflicting existing values. The default settings seem to allow a excessive filesystem cache to build up which has to be flushed when viewing the recording list hence the delay.