Tuesday, February 1, 2011

A quick Linux network performance tip: iptables

.FLYINGHEAD LINUX LOVE
.TITLE A quick Linux network performance tip: iptables
.AUTHOR Joe Dolittle
.SUMMARY Here’s a quick tip if you want to improve your system’s performance and you’re not doing any routing.
.TIP
Here’s a quick tip if you want to improve your system’s performance and you’re not doing any routing: turn off iptables.

The iptables system uses a few cycles from your CPU — constantly — and doesn’t really add value if you’re not routing traffic. So turn it off.

Here’s how:

.BEGIN_CODE
#service iptables stop
#service ip6tables stop
#chkconfig iptables off
#chkconfig ip6tables off
.END_CODE

Pretty simple. Enjoy faster Linux computing!

.BIO