Difference between revisions of "Tweak B3 for better performance"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'Tweak B3 for better performance<br> The following changes could make your B3 more stable however there are no guarantees for that.<br> Many users have reported that it helps.<b...')
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Tweak B3 for better performance<br>
Tweak B3 for better performance<br>  


The following changes could make your B3 more stable however there are no guarantees for that.<br>
The following changes could make your B3 more stable however there are no guarantees for that.<br>  


Many users have reported that it helps.<br>
Many users have reported that it helps.<br>  


You should watch your syslog and always make a backup before any such change.<br>
You should watch your syslog and always make a backup before any such change.<br>  


Moving the cron jobs:<br>
1. Removing two cron jobs:<br>  


To do that, log into B3 via a shell and become root. Then issue:
To do that, log into B3 via a shell and become root. Then issue:  
<pre>mv /etc/cron.d/bubba-horde /root/
<pre>mv /etc/cron.d/bubba-horde /root/


and
and


mv /etc/cron.d/bubba-notify /root/</pre>
mv /etc/cron.d/bubba-notify /root/</pre>  
To move the jobs out. And to restore them:
To move the jobs out. And to restore them:(In case you need to revert)<br>
<pre>mv /root/bubba-horde /etc/cron.d/
<pre>mv /root/bubba-horde /etc/cron.d/
mv /root/bubba-notify /etc/cron.d/
mv /root/bubba-notify /etc/cron.d/
</pre>
</pre>  
This should make B3 overall more stable, samba loading, etc.<br>
This should make B3 overall more stable, samba loading, etc.<br>  


Increasing the virtual memory size might also help:<br>
2. Increasing the virtual memory size might also help if you are doing heavy tasks such as rsync:<br>  
<pre>nano /etc/sysctl.conf
<pre>nano /etc/sysctl.conf
</pre>
</pre>  
Add the line below:<br>
Add the line below:<br>  
<pre>vm.min_free_kbytes = 8192
<pre>vm.min_free_kbytes = 8192
</pre>
</pre>  
reboot<br>
reboot<br>  
 
Networking issues:
 
To avoid networking problems, it is recommended to connect your WAN cable directly to Bubbas WAN port.

Latest revision as of 21:22, 14 January 2011

Tweak B3 for better performance

The following changes could make your B3 more stable however there are no guarantees for that.

Many users have reported that it helps.

You should watch your syslog and always make a backup before any such change.

1. Removing two cron jobs:

To do that, log into B3 via a shell and become root. Then issue:

mv /etc/cron.d/bubba-horde /root/

and

mv /etc/cron.d/bubba-notify /root/

To move the jobs out. And to restore them:(In case you need to revert)

mv /root/bubba-horde /etc/cron.d/
mv /root/bubba-notify /etc/cron.d/

This should make B3 overall more stable, samba loading, etc.

2. Increasing the virtual memory size might also help if you are doing heavy tasks such as rsync:

nano /etc/sysctl.conf

Add the line below:

vm.min_free_kbytes = 8192

reboot

Networking issues:

To avoid networking problems, it is recommended to connect your WAN cable directly to Bubbas WAN port.