Re: OSPF performance/SPF calculations

2010-04-26 Thread Ondrej Zajicek
On Mon, Apr 26, 2010 at 01:04:44AM +0200, Joakim Tjernlund wrote: BIRD does not use link availability information, therefore if you pull the cable, BIRD keeps the whole subnet in the router-LSA (if it is a stub network). If you do(any plans?), my vote is to leave a host stub in the R-LSA

Re: [PATCH 0/5] IP checksum improvements

2010-04-26 Thread Ondrej Zajicek
On Mon, Apr 26, 2010 at 01:57:29AM +0200, Joakim Tjernlund wrote: Ah, now I think I know. The while(buf end) is optimized for post inc so that is why. tested little and was surprised, only 3-5% slower with the while loop compared to my for loop, it is mainly the post increment that does

Re: [PATCH 0/5] IP checksum improvements

2010-04-26 Thread Joakim Tjernlund
Ondrej Zajicek santi...@crfreenet.org wrote on 2010/04/26 10:09:36: On Mon, Apr 26, 2010 at 01:57:29AM +0200, Joakim Tjernlund wrote: Ah, now I think I know. The while(buf end) is optimized for post inc so that is why. tested little and was surprised, only 3-5% slower with the while

Re: [PATCH 0/5] IP checksum improvements

2010-04-26 Thread Martin Mares
Hello! while(buf != end) got worse in ppc. gcc 4.3.4 got even more worse than gcc 3.4.6. I think it is safe to say that gcc 4.3.4 is busted when it comes to optimization, even on x86. Seen -O1 do better than -O2 for x86 with gcc 3.4.3. BTW have you tried unrolling the loops or using

Re: Patch ping

2010-04-26 Thread Joakim Tjernlund
Ondrej Zajicek santi...@crfreenet.org wrote on 2010/04/26 10:33:20: On Mon, Apr 26, 2010 at 12:49:32AM +0200, Joakim Tjernlund wrote: Haven't seen any action on this patch, forgotten? http://marc.info/?l=bird-usersm=127200916013140w=2 I missed this patch. Shouldn't autoconf also set

RE: OSPF performance/SPF calculations

2010-04-26 Thread Andrew Lemin
Hello. There are users out there who do desperately want multipath routing support in Bird. Please don't just ignore the need for multipath. Regards, Andy. Securepoint user. -Original Message- From: owner-bird-us...@atrey.karlin.mff.cuni.cz

Re: [PATCH 0/5] IP checksum improvements

2010-04-26 Thread Joakim Tjernlund
Martin Mares m...@ucw.cz wrote on 2010/04/26 10:31:31: Hello! while(buf != end) got worse in ppc. gcc 4.3.4 got even more worse than gcc 3.4.6. I think it is safe to say that gcc 4.3.4 is busted when it comes to optimization, even on x86. Seen -O1 do better than -O2 for x86 with gcc

RE: OSPF performance/SPF calculations

2010-04-26 Thread Joakim Tjernlund
Andrew Lemin andrew.le...@monitorsoft.com wrote on 2010/04/26 10:46:36: Hello. There are users out there who do desperately want multipath routing support in Bird. Please don't just ignore the need for multipath. The SPF work to support that should not be very hard I think, but I have no

fletcher checksum

2010-04-26 Thread Joakim Tjernlund
I think I mentioned this in passing but the fletcher checksum impl. is fragile. Try changing u16 length to u32 length and watch it break for no apparent reason. Jocke

RE: OSPF performance/SPF calculations

2010-04-26 Thread Andrew Lemin
Hello. Yes, I believe the changes should not be that difficult. For example, by simply creating two separate 'RIP protocol' instances which listen on different external interfaces, I can get bird's internal core routing table to show all the multiple routing 'options' for common remote subnets

CLI ?

2010-04-26 Thread Joakim Tjernlund
Tried the CLI(birdc) and I am a bit confused as to whait it can do. I only see this when I press ?: bird ? configure [soft] [file]Reload configuration debug ... Control protocol debugging via BIRD logs disable protocol | pattern | all

RE: OSPF performance/SPF calculations

2010-04-26 Thread Joakim Tjernlund
Andrew Lemin andrew.le...@monitorsoft.com wrote on 2010/04/26 12:14:52: Hello. Yes, I believe the changes should not be that difficult. For example, by simply creating two separate 'RIP protocol' instances which listen on different external interfaces, I can get bird's internal core routing

Re: CLI ?

2010-04-26 Thread Ondrej Filip
On 26.4.2010 14:26, Joakim Tjernlund wrote: Tried the CLI(birdc) and I am a bit confused as to whait it can do. I only see this when I press ?: bird ? configure [soft] [file]Reload configuration debug ... Control protocol debugging

RE: OSPF performance/SPF calculations

2010-04-26 Thread Andrew Lemin
Hello. Yes it quite possible that bird does use netlink directly. Regardless I think the issue is still related to the fact that a multipath route needs to be added with a single statement and not by adding separate single route statements. Regarding the error. I cannot say why it is not there,

Re: CLI ?

2010-04-26 Thread Joakim Tjernlund
Ondrej Filip fe...@network.cz wrote on 2010/04/26 14:59:06: On 26.4.2010 14:26, Joakim Tjernlund wrote: Tried the CLI(birdc) and I am a bit confused as to whait it can do. I only see this when I press ?: bird ? configure [soft] [file]Reload configuration debug ...

Re: CLI ?

2010-04-26 Thread Joakim Tjernlund
Arnold Nipper arn...@nipper.de wrote on 2010/04/26 17:40:51: On 26.04.2010 17:06 Joakim Tjernlund wrote OK, but it would be handy if I could config log files from there. BIRD is like a racing car whereas you are talking about a Mercedes-Benz S-type ... you see the difference? :)

Re: CLI ?

2010-04-26 Thread Ladislav Lhotka
Wolfgang Hennerbichler píše v Po 26. 04. 2010 v 17:55 +0200: On 4/26/10 5:50 PM, Joakim Tjernlund wrote: Arnold Nipperarn...@nipper.de wrote on 2010/04/26 17:40:51: On 26.04.2010 17:06 Joakim Tjernlund wrote OK, but it would be handy if I could config log files from there. BIRD

Re: CLI ?

2010-04-26 Thread Joakim Tjernlund
On 26.4.2010 17:50, Joakim Tjernlund wrote: Arnold Nipper arn...@nipper.de wrote on 2010/04/26 17:40:51: On 26.04.2010 17:06 Joakim Tjernlund wrote OK, but it would be handy if I could config log files from there. BIRD is like a racing car whereas you are talking about a

Re: CLI ?

2010-04-26 Thread Joakim Tjernlund
Ondrej Filip fe...@network.cz wrote on 2010/04/26 20:25:19: On 26.4.2010 18:34, Joakim Tjernlund wrote: On 26.4.2010 17:50, Joakim Tjernlund wrote: Arnold Nipper arn...@nipper.de wrote on 2010/04/26 17:40:51: On 26.04.2010 17:06 Joakim Tjernlund wrote OK, but it would be handy if I

Re: [PATCH 3/5] checksum: use pre increment.

2010-04-26 Thread Joakim Tjernlund
Ondrej Filip fe...@network.cz wrote on 2010/04/26 17:40:57: On 25.4.2010 23:40, Joakim Tjernlund wrote: Martin Mares m...@ucw.cz wrote on 2010/04/25 23:33:49: Some archs(RISC like archs) can do pre increment and load in one insn but gcc optimization often fails to take advantage of