Difference between revisions of "Tweak B3 for better performance"

From BubbaWiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
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>  


1. 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:  
Line 15: Line 15:


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:(In case you need to revert)<br>
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/
Line 27: Line 27:
<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.