lowering OSPF memory requirements
Jack Culpepper
jack at newdream.net
Sat Aug 30 00:20:10 CEST 2003
Hi all,
I am trying to use bird's OSPF implementation in a memory contrained linux
environment. I have only 2 MB of RAM. Can you give me some tips on how to
reduce the memory footprint of bird running OSPF? It is currently using about
1 MB, and I would like to try to cut that by 200 KB or so..
FYI, I am running this on a wireless network. Below I have pasted in my
bird.conf file. The 8 wlan0wdsX interfaces are point-to-point wireless links
(/30 IP networks) that connect repeaters together. Only the ones with cost
less than 1000 are connected. These boxes have 1 ethernet and 1 wlan.
Thanks,
Jack
log stderr all;
debug protocols all;
protocol static {
route 0.0.0.0/0 via 10.96.127.82;
export all;
}
protocol kernel {
persist;
scan time 20;
export all;
}
protocol direct {
interface "eth0";
interface "wlan0";
interface "wlan0wds0";
interface "wlan0wds1";
interface "wlan0wds2";
interface "wlan0wds3";
interface "wlan0wds4";
interface "wlan0wds5";
interface "wlan0wds6";
interface "wlan0wds7";
}
protocol device {
scan time 10;
}
protocol ospf {
export all;
import all;
area 0.0.0.0 {
tick 8;
interface "eth0" {
cost 1;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0" {
cost 5;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds0" {
cost 44;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds1" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds2" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds3" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds4" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds5" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds6" {
cost 1000;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
interface "wlan0wds7" {
cost 47;
hello 15;
priority 100;
retransmit 7;
authentication simple;
password "asdfasdf";
};
};
}
More information about the Bird-users
mailing list