[Olsr-users] High CPU utilization

Adam Wozniak (spam-protected)
Wed Jan 27 23:01:09 CET 2010


I'm using olsrd-0.5.6-r8 on two machines.

One is my laptop, and x86 machine with both a wireless adapter, and a 
wired connection to the internet.
The second is a small ARM based machine with only a wireless adapter.

I start them up and configure the wireless cards in ad-hoc mode and give 
them IP addresses 172.20.0.1 and 172.20.0.2

I start up olsrd on the console of the ARM machine.  Things look fine.

I then start olsrd on the console of the x86 machine, and the ARM 
machine goes nuts, hitting 90% to 95% CPU and spitting all kinds of 
messages to the console.  (see below).

I've also included an olsrd.conf file (below).

What the heck is going on here?  Is this normal / expected behavior?



--- 21:28:44.166656 ---------------------------------------------------- 
LINKS

IP address       hyst         LQ       ETX
172.20.0.2       0.000  0.000/0.000    INFINITE

--- 21:28:44.166809 ----------------------- TWO-HOP NEIGHBORS

IP addr (2-hop)  IP addr (1-hop)  Total cost
76.107.4.0       172.20.0.2       INFINITE
224.110.4.0      172.20.0.2       INFINITE
176.112.4.0      172.20.0.2       INFINITE
188.132.4.0      172.20.0.2       INFINITE
116.144.4.0      172.20.0.2       INFINITE
36.171.4.0       172.20.0.2       INFINITE
228.180.4.0      172.20.0.2       INFINITE
48.208.4.0       172.20.0.2       INFINITE
104.97.110.103   172.20.0.2       INFINITE
232.110.4.0      172.20.0.2       INFINITE
176.114.4.0      172.20.0.2       INFINITE
64.116.4.0       172.20.0.2       INFINITE
48.159.4.0       172.20.0.2       INFINITE
132.168.4.0      172.20.0.2       INFINITE
4.170.4.0        172.20.0.2       INFINITE
100.172.4.0      172.20.0.2       INFINITE
140.206.4.0      172.20.0.2       INFINITE
(and so on, for all kinds of random IP addresses...)

#
# olsr.org configuration file
#

DebugLevel        2

ClearScreen        yes

IpVersion        4

Hna4
{
#    0.0.0.0 0.0.0.0
}

UseHysteresis        no

HystScaling        0.10
HystThrHigh        0.80
HystThrLow        0.30

TcRedundancy        2

MprCoverage        9

LinkQualityLevel    2

LinkQualityWinSize    20

LoadPlugin "olsrd_httpinfo.so.0.1"
{
    PlParam "Port" "8080"
    PlParam "Net" "172.20.0.0 255.255.0.0"
}

# ARM and x86 have different named interfaces here.  NEITHER lists "eth0"

Interface "wlan12"
{
    HelloInterval        2.0
    HelloValidityTime    40.0
    TcInterval        3.0
    TcValidityTime        15.0
    MidInterval        5.0
    MidValidityTime        15.0
    HnaInterval        5.0
    HnaValidityTime     15.0
}






More information about the Olsr-users mailing list