Official CuBox-i XBian 1.0 RC3 Thread
|
18th Mar, 2015, 02:15 AM
Post: #60
|
|||
|
|||
RE: Official CuBox-i XBian 1.0 RC3 Thread
I've found that you can improve the performance (If it is even required) by changing the swappiness value.
By default it is set to 70 which means that the system will start swapping fairly often The value set can be seen by: Terminal cat /proc/sys/vm/swappiness I've found that setting this to 10 reduces the swapping to almost nil when using just XBian. Obviously each system is different so a bit of tweaking maybe needed. To set the value temporarily: Terminal sudo sysctl vm.swappiness=yy To get an idea of the new value, it might be necessary to refresh the swap file with: Terminal sudo swapoff -a & sudo swapon -a To set the value permanently: Terminal sudo nano /etc/sysctl.conf vm.swappiness=yy (Where yy is between 0 (don't swap) and 100 (Always swap)) I'm sure this also applies to the RPi2 - not sure about the RPi A,B and+models. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Official CuBox-i XBian 1.0 Beta 2 thread | IriDium | 184 | 591,169 |
20th Nov, 2015 10:43 PM Last Post: evianway123 |