All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-exp still has sometimes around 90% CPU load
@ 2008-10-25 15:30 Stephan Enderlein (Freifunk Dresden)
  2008-10-27  4:03 ` Axel Neumann
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Enderlein (Freifunk Dresden) @ 2008-10-25 15:30 UTC (permalink / raw)
  To: b.a.t.m.a.n


Hi,

I'm using batman-experimental rev1145. I test this release since
2 days. I found that a thread of batmand was consuming around 90%
of cpu resources.

Mem: 15064K used, 15560K free, 0K shrd, 1152K buff, 5176K cached
CPU: 10.0% usr 90.0% sys  0.0% nice  0.0% idle  0.0% io  0.0% irq  0.0%
softirq
Load average: 0.98 1.00 0.97
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 4464  1941 root     R     1216  3.9 84.1 /sbin/batmand -s 10.12.0.1  -a
10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules
 1151     1 root     S     1216  3.9  0.0 /sbin/batmand -s 10.12.0.1  -a
10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules
 1941  1151 root     S     1216  3.9  0.0 /sbin/batmand -s 10.12.0.1  -a
10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules

it was not possibe to connect to the running batmand.
A call "batmand -c" just hangs without printing current parameters.

I had this error in previous revision where you disabled the debug task.
Batmand was running without problems.Have you enabled the debug task again
in current revision?

any idea or solution?
Regards
 /Stephan


---------------------------------------
Dipl.Informatiker(FH) Stephan Enderlein
Freifunk Dresden



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] batman-exp still has sometimes around 90% CPU load
  2008-10-25 15:30 [B.A.T.M.A.N.] batman-exp still has sometimes around 90% CPU load Stephan Enderlein (Freifunk Dresden)
@ 2008-10-27  4:03 ` Axel Neumann
  2008-10-28 11:11   ` Stephan Enderlein (Freifunk Dresden)
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Neumann @ 2008-10-27  4:03 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi,

On Samstag 25 Oktober 2008, Stephan Enderlein (Freifunk Dresden) wrote:
[...]
>
> it was not possibe to connect to the running batmand.
> A call "batmand -c" just hangs without printing current parameters.

grrr, I know that really ugly

>
> I had this error in previous revision where you disabled the debug task.
> Batmand was running without problems.Have you enabled the debug task again
> in current revision?
Well, the debug functionality has never been disabled. It has just been moved 
to the main thread. Iam already thinking whether it makes sense to do the 
same with the tunnel thread - but not tonight. According to your debug output 
Iam sure its the tunnel thread. Just wondering why the same peace of code 
works since days on several mipsel and x86 devices here. Please test with 
r1146.

cheers,
axel




>
> any idea or solution?
> Regards
>  /Stephan
>
>
> ---------------------------------------
> Dipl.Informatiker(FH) Stephan Enderlein
> Freifunk Dresden
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] batman-exp still has sometimes around 90% CPU load
  2008-10-27  4:03 ` Axel Neumann
@ 2008-10-28 11:11   ` Stephan Enderlein (Freifunk Dresden)
  0 siblings, 0 replies; 3+ messages in thread
From: Stephan Enderlein (Freifunk Dresden) @ 2008-10-28 11:11 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi,

I will try the release 1146. Just for information I use the following
compile/linker switches:

CFLAGS =        -Wall -O1 -DMEMORY_USAGE -DPROFILE_DATA -DDEBUG_MALLOC
LDFLAGS =       -lpthread


Cheers,
 Stephan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-28 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25 15:30 [B.A.T.M.A.N.] batman-exp still has sometimes around 90% CPU load Stephan Enderlein (Freifunk Dresden)
2008-10-27  4:03 ` Axel Neumann
2008-10-28 11:11   ` Stephan Enderlein (Freifunk Dresden)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.