Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Joshua Goodall wrote: > On Sat, May 18, 2002 at 05:48:19PM -0700, Terry Lambert wrote: > > Joshua Goodall wrote: > > > On Sat, May 18, 2002 at 03:28:34PM -0700, Terry Lambert wrote: > > > > No. TCP. RPC over UDP is really a silly idea. If you need > > > > reliable delivery, then don't use a pro

Re: new zero copy sockets patches available

2002-05-18 Thread Kenneth D. Merry
On Sat, May 18, 2002 at 13:15:43 -0400, Don Bowman wrote: > > Andrew Gallatin writes: > >> Kenneth D. Merry writes: > >> > > >> > I have released a new set of zero copy sockets patches, against > -current > >> > from today (May 17th, 2002). > > > > Hi Ken, > > > > I'm glad to see that you're

Re: new zero copy sockets patches available

2002-05-18 Thread Kenneth D. Merry
On Sat, May 18, 2002 at 13:12:09 -0400, Andrew Gallatin wrote: > > Kenneth D. Merry writes: > > > > I have released a new set of zero copy sockets patches, against -current > > from today (May 17th, 2002). > > > > The main change is to deal with the vfs_ioopt changes that Alan Cox made in

Re: new zero copy sockets patches available

2002-05-18 Thread Kenneth D. Merry
On Sat, May 18, 2002 at 09:03:38 -0400, John Baldwin wrote: > > On 18-May-2002 Kenneth D. Merry wrote: > > On Fri, May 17, 2002 at 23:02:55 -0700, Alfred Perlstein wrote: > >> * Kenneth D. Merry <[EMAIL PROTECTED]> [020517 22:40] wrote: > >> > > >> > I have released a new set of zero copy socket

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Joshua Goodall
On Sat, May 18, 2002 at 05:48:19PM -0700, Terry Lambert wrote: > Joshua Goodall wrote: > > On Sat, May 18, 2002 at 03:28:34PM -0700, Terry Lambert wrote: > > > No. TCP. RPC over UDP is really a silly idea. If you need > > > reliable delivery, then don't use a protocol with "unreliable" > > > as

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Joshua Goodall wrote: > On Sat, May 18, 2002 at 03:28:34PM -0700, Terry Lambert wrote: > > No. TCP. RPC over UDP is really a silly idea. If you need > > reliable delivery, then don't use a protocol with "unreliable" > > as the first word of it's name. 8-). > > UDP may well be perfectly viable

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Joshua Goodall
On Sat, May 18, 2002 at 03:28:34PM -0700, Terry Lambert wrote: > No. TCP. RPC over UDP is really a silly idea. If you need > reliable delivery, then don't use a protocol with "unreliable" > as the first word of it's name. 8-). UDP may well be perfectly viable as a RPC transport, but Terry's m

Re: new zero copy sockets patches available

2002-05-18 Thread Terry Lambert
John Baldwin wrote: > > This is actually what I was saying was bad: a static function > > per mutex declaration. > > Umm, no, there is _one_ global function that we call. Why not check > the actual code? Are you talking about a P4 branch, and not the main repository? > Why don't you read the c

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Lars Eggert
Terry Lambert wrote: > The really cool thing is that this means I can shout on the wire at > the right time, cause a collision, and effectively stace an undetectable > denial of service attack against your servers, by making it drop large > UDP datagrams IP frags. This "attack" works against any

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Lars Eggert
Terry Lambert wrote: > No. TCP. RPC over UDP is really a silly idea. If you need > reliable delivery, then don't use a protocol with "unreliable" > as the first word of it's name. 8-). The U in UDP is for "User". See RFC768. NFS over UDP works just fine in the majority of cases, and for slow

Re: new zero copy sockets patches available

2002-05-18 Thread John Baldwin
On 18-May-2002 Terry Lambert wrote: > John Baldwin wrote: >> On 18-May-2002 Terry Lambert wrote: >> > John Baldwin wrote: >> >> > God, it's annoying that a statically declared mutex is not >> >> > defacto initialized. >> >> >> >> Is it in solaris? >> > >> > It isn't in FreeBSD because of the need

Re: new zero copy sockets patches available

2002-05-18 Thread Terry Lambert
John Baldwin wrote: > On 18-May-2002 Terry Lambert wrote: > > John Baldwin wrote: > >> > God, it's annoying that a statically declared mutex is not > >> > defacto initialized. > >> > >> Is it in solaris? > > > > It isn't in FreeBSD because of the need to link mutex'es into > > the "witness protect

Re: new zero copy sockets patches available

2002-05-18 Thread Terry Lambert
Don Bowman wrote: > > Andrew Gallatin writes: > >> Kenneth D. Merry writes: > >> > > >> > I have released a new set of zero copy sockets patches, against > -current > >> > from today (May 17th, 2002). > > > > Hi Ken, > > > > I'm glad to see that you're still maintining this! > > > > Assuming th

Re: new zero copy sockets patches available

2002-05-18 Thread John Baldwin
On 18-May-2002 Terry Lambert wrote: > John Baldwin wrote: >> > God, it's annoying that a statically declared mutex is not >> > defacto initialized. >> >> Is it in solaris? > > It isn't in FreeBSD because of the need to link mutex'es into > the "witness protection program". 8-). Actually, ther

Re: new zero copy sockets patches available

2002-05-18 Thread Terry Lambert
John Baldwin wrote: > > God, it's annoying that a statically declared mutex is not > > defacto initialized. > > Is it in solaris? It isn't in FreeBSD because of the need to link mutex'es into the "witness protection program". 8-). > > Yeah, I understand the "witness" crap (if it's there); tha

kernel profiling in FreeBSD 5.0DP - is it working?

2002-05-18 Thread Andrew Tate
Does anyone know if kernel profiling is working in FreeBSD 5.0DP? Andrew Tate mailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Attila Nagy wrote: > > If the card on the receiving could not receive so many back to back > > packets and looses one or more, nfs will get stuck retrying the same big > > packet and the same thing happening over and over. > > Yep, but that's not my case. If this would be the problem, I guess > c

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Attila Nagy wrote: > > Sending datagrams bigger than the MTU is a bad idea. > > It depends on what do you want to do with that NFS server :) Sure. Maybe you want to use up it's mbufs by jamming the frag reassembly queue for IP full of N-1 frags using 64K USP packets. > I want to get out from

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Andrew Reilly wrote: > On Sat, 2002-05-18 at 18:53, Terry Lambert wrote: > > Sending datagrams bigger than the MTU is a bad idea. > > > > I would be real tempted to drop the packets and send "don't fragment" > > ICMP responses to beat up anyone who abused UDP by sending larger > > than the MTU. >

RE: new zero copy sockets patches available

2002-05-18 Thread Don Bowman
> Andrew Gallatin writes: >> Kenneth D. Merry writes: >> > >> > I have released a new set of zero copy sockets patches, against -current >> > from today (May 17th, 2002). > > Hi Ken, > > I'm glad to see that you're still maintining this! > > Assuming the mutex issues get sorted out, what d

Re: new zero copy sockets patches available

2002-05-18 Thread Andrew Gallatin
Kenneth D. Merry writes: > > I have released a new set of zero copy sockets patches, against -current > from today (May 17th, 2002). > > The main change is to deal with the vfs_ioopt changes that Alan Cox made in > kern_subr.c. (They conflicted a bit with the zero copy receive code.) >

VRRP and SIOCSIFLLADDR

2002-05-18 Thread E.B. Dreger
Greetings all, I'm currently STFWing for info on proper VRRP implementation on FreeBSD. My motivations are those mentioned by Terry in a -net thread last July... Win2000 Advanced Server clustering is rather cool. I'd like FreeBSD to similarly support multiple MAC addresses (and emulate via mul

Re: new zero copy sockets patches available

2002-05-18 Thread Andrew R. Reiter
:Alfred Perlstein wrote: :> * Kenneth D. Merry <[EMAIL PROTECTED]> [020517 23:31] wrote: :> > The problem here is that the mutex needs to be initialized before I can :> > acquire it, and there's going to be a race between checking to see :> > whether it has been initialized and actually initializi

Re: new zero copy sockets patches available

2002-05-18 Thread John Baldwin
On 18-May-2002 Terry Lambert wrote: > Alfred Perlstein wrote: >> * Kenneth D. Merry <[EMAIL PROTECTED]> [020517 23:31] wrote: >> > The problem here is that the mutex needs to be initialized before I can >> > acquire it, and there's going to be a race between checking to see >> > whether it has be

Re: new zero copy sockets patches available

2002-05-18 Thread John Baldwin
On 18-May-2002 Kenneth D. Merry wrote: > On Fri, May 17, 2002 at 23:02:55 -0700, Alfred Perlstein wrote: >> * Kenneth D. Merry <[EMAIL PROTECTED]> [020517 22:40] wrote: >> > >> > I have released a new set of zero copy sockets patches, against -current >> > from today (May 17th, 2002). >> > >> >

Intel Etherexpress Pro/100S settings

2002-05-18 Thread Nino Dehne
hi -net, recently i acquired a pair of above cards, one of which i use with w2k and the other with freebsd's fxp(4). with w2k i am able to set various options using intel's proset utility (cpu usage vs. throughput, pci bus efficiency etc.). my question is: are these settings stored into the s

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Attila Nagy
Hello, > If the card on the receiving could not receive so many back to back > packets and looses one or more, nfs will get stuck retrying the same big > packet and the same thing happening over and over. Yep, but that's not my case. If this would be the problem, I guess changing from gx to em wo

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Attila Nagy
Hello, > Sending datagrams bigger than the MTU is a bad idea. It depends on what do you want to do with that NFS server :) I want to get out from that several hundred megabits per second, so I can't use <1500 bytes MTU. Just for comparison: when using <1500 bytes MTU (as close as possible to the

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Andrew Reilly
On Sat, 2002-05-18 at 18:53, Terry Lambert wrote: > > Sending datagrams bigger than the MTU is a bad idea. > > I would be real tempted to drop the packets and send "don't fragment" > ICMP responses to beat up anyone who abused UDP by sending larger > than the MTU. > > I guess this is about Linu

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread John Hay
> Attila Nagy wrote: > > > > the "em" driver (if "gx" is already in the initial plan), because it > > > > reportedly works better (for example I couldn't do NFS serving with UDP > > > > packets bigger than the MTU with that, while the "em" driver works OK). > > > > > > It *does* frag packets bigge

Re: new zero copy sockets patches available

2002-05-18 Thread Terry Lambert
Alfred Perlstein wrote: > * Kenneth D. Merry <[EMAIL PROTECTED]> [020517 23:31] wrote: > > The problem here is that the mutex needs to be initialized before I can > > acquire it, and there's going to be a race between checking to see > > whether it has been initialized and actually initializing it

Re: new zero copy sockets patches available

2002-05-18 Thread Alfred Perlstein
* Kenneth D. Merry <[EMAIL PROTECTED]> [020517 23:31] wrote: > > The problem here is that the mutex needs to be initialized before I can > acquire it, and there's going to be a race between checking to see > whether it has been initialized and actually initializing it. > ... > Suggestions? *sla

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Terry Lambert
Attila Nagy wrote: > > > the "em" driver (if "gx" is already in the initial plan), because it > > > reportedly works better (for example I couldn't do NFS serving with UDP > > > packets bigger than the MTU with that, while the "em" driver works OK). > > > > It *does* frag packets bigger than the M

Re: HEADS UP: ALTQ integration developer preview

2002-05-18 Thread Attila Nagy
Hello, > > the "em" driver (if "gx" is already in the initial plan), because it > > reportedly works better (for example I couldn't do NFS serving with UDP > > packets bigger than the MTU with that, while the "em" driver works OK). > It *does* frag packets bigger than the MTU, right? netstat didn