How to call a function in the kernel from Local APIC timer handler

2005-10-28 Thread Vaibhave Agarwal
Hi, I need some help with the new local APIC functionality added in FreeBSD 6.0 and above. All the code which I am writing is in FreeBSD kernel. I was using LAPIC one shot timer for scheduling some events in the kernel. The problem is that I cannot call the function in my code, directly from the

Re: 6.0-RC1 IPv6 losing local subnet route

2005-10-28 Thread Craig Boston
On Sat, Oct 29, 2005 at 12:04:53AM +0900, SUZUKI Shinsuke wrote: > I tried the same test using my PC with fxp drivers, but your phenomena > did not happen in my environment (at least for five hours). > > Maybe the configured prefix was regarded as off-link by some reason. > (it is theoretically po

Re: distributed bridging [script]

2005-10-28 Thread Julian Elischer
Julian Elischer wrote: spoggle wrote: Greetings, I'm trying to create a configuration that would bridge interfaces on different hosts. Each host would have at least two interfaces, one would be the inter-host connection, the remaining would be the bridged interfaces, so that a packet appeari

Re: distributed bridging

2005-10-28 Thread Julian Elischer
spoggle wrote: Greetings, I'm trying to create a configuration that would bridge interfaces on different hosts. Each host would have at least two interfaces, one would be the inter-host connection, the remaining would be the bridged interfaces, so that a packet appearing on host a's bridged in

Re: distributed bridging

2005-10-28 Thread Phil Regnauld
spoggle (dcornejo) writes: > Does this sound feasible? Anyone have any other suggestions on how to > pull this off? I've done it with openvpn and bridging a tap device on both ends. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.or

distributed bridging

2005-10-28 Thread spoggle
Greetings, I'm trying to create a configuration that would bridge interfaces on different hosts. Each host would have at least two interfaces, one would be the inter-host connection, the remaining would be the bridged interfaces, so that a packet appearing on host a's bridged interface would also

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread G Bryant
Daniel Dias Gonçalves wrote: G Bryant escreveu: Daniel Dias Gonçalves wrote: Complicated ? Its possible ? TELECOM LOAD SHARING PER PACKET ---

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread Corey Smith
On Fri, 2005-10-28 at 14:03 -0200, Daniel Dias Gonçalves wrote: > It would be very good if could make this. > > Which the solution? Linux supports this feature if you build advanced routing options into the kernel. The only FreeBSD code I've seen to do something like this is at: http://www.dsm.f

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread Daniel Dias Gonçalves
Corey Smith escreveu: On Fri, 2005-10-28 at 17:19 +0200, G Bryant wrote: Daniel Dias Gonçalves wrote: It is possible to make this balancing with the PF ? Exists some software that I make this ? Zebra can help me? This type of balancing gives to problems with the navigation of the use

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread Corey Smith
On Fri, 2005-10-28 at 17:19 +0200, G Bryant wrote: > Daniel Dias Gonçalves wrote: > > > > > It is possible to make this balancing with the PF ? Exists some > > software that I make this ? Zebra can help me? > > This type of balancing gives to problems with the navigation of the > > user of NAT o

Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread Vasil Dimov
I would just like to add some numbers: system: freebsd 6.0 i386 job: make buildworld buildkernel When kernel and world are compiled with -g and witness,memguard,invariants are switched on the job takes 120min. With witness,memguard,invariants turned off it takes 66min. 1/3 More speedup when using

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread G Bryant
Daniel Dias Gonçalves wrote: Complicated ? Its possible ? TELECOM LOAD SHARING PER PACKET -- | | |

Re: 6.0-RC1 IPv6 losing local subnet route

2005-10-28 Thread SUZUKI Shinsuke
Hello Craig, > On Fri, 28 Oct 2005 16:18:33 +0900 > [EMAIL PROTECTED](SUZUKI Shinsuke) said: > > Yes, but em0 and em1 are on different computers attached to the same > > network (em0 on the second computer isn't connected to anything right > > now). I think they have to have the same pr

Re: Load Balancing Outgoing, its possible ?

2005-10-28 Thread Łukasz Dudek
Dnia Fri, Oct 28, 2005 at 08:33:34AM -0200, Daniel Dias Gonçalves napisał(a): > > It is possible to make this balancing with the PF ? Exists some software > that I make this ? Zebra can help me? > This type of balancing gives to problems with the navigation of the user > of NAT or IP valid ? > I

Re: Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread ray
At 07:01 AM 10/28/2005 -0500, Sergey Babkin wrote: | >From: Robert Watson <[EMAIL PROTECTED]> | >On Thu, 27 Oct 2005, Vaibhave Agarwal wrote: | > | >> How do u disable malloc debugging flags in the userland? I read | >> somewhere that " ln -s aj /etc/malloc.conf" disables malloc debugging. | >> H

Re: Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread Sergey Babkin
>From: Robert Watson <[EMAIL PROTECTED]> >On Thu, 27 Oct 2005, Vaibhave Agarwal wrote: > >> How do u disable malloc debugging flags in the userland? I read >> somewhere that " ln -s aj /etc/malloc.conf" disables malloc debugging. >> How does it work? >> >> And how to disable verbose features in t

Re: diagram of 4.10 layer 2 spaghetti

2005-10-28 Thread Nuno Antunes
On 10/26/05, Julian Elischer <[EMAIL PROTECTED]> wrote: > at: > >http://people.freebsd.org/~julian/layer2b.pdf > > I'm going to do one for RELENG_4 by add in the bits added, > and then, the big task.. > > one for -current Very nice diagram, thanks! Now all I need is a good mbuf tutorial ;-)

Load Balancing Outgoing, its possible ?

2005-10-28 Thread Daniel Dias Gonçalves
Complicated ? Its possible ? TELECOM LOAD SHARING PER PACKET -- | | | | ||

Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread Robert Watson
On Thu, 27 Oct 2005, Vaibhave Agarwal wrote: How do u disable malloc debugging flags in the userland? I read somewhere that " ln -s aj /etc/malloc.conf" disables malloc debugging. How does it work? And how to disable verbose features in the kernel? Apart from this, are there other ways to ma

Re: 6.0-RC1 IPv6 losing local subnet route

2005-10-28 Thread SUZUKI Shinsuke
> On Thu, 27 Oct 2005 23:09:01 -0500 > [EMAIL PROTECTED](Craig Boston) said: > > In your configuration, em0 and em1 have the same prefix. > > Is it intentionally configured? > > #normally, IPv6 operator does not assign prefix in such manner... > > Yes, but em0 and em1 are on different co