Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Julian Elischer
On 8/14/13 11:39 AM, Lawrence Stewart wrote: On 08/14/13 03:29, Julian Elischer wrote: I have been tracking down a performance embarrassment on AMAZON EC2 and have found it I think. Let us please avoid conflating performance with throughput. The behaviour you go on to describe as a performance

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Lawrence Stewart
On 08/14/13 03:29, Julian Elischer wrote: > I have been tracking down a performance embarrassment on AMAZON EC2 and > have found it I think. Let us please avoid conflating performance with throughput. The behaviour you go on to describe as a performance embarrassment is actually a throughput diffe

TCP Initial Window 10 MFC (was: Re: svn commit: r252789 - stable/9/sys/netinet)

2013-08-13 Thread Lawrence Stewart
Hi Andre, [RE team is BCCed so they're aware of this discussion] On 07/06/13 00:58, Andre Oppermann wrote: > Author: andre > Date: Fri Jul 5 14:58:24 2013 > New Revision: 252789 > URL: http://svnweb.freebsd.org/changeset/base/252789 > > Log: > MFC r242266: > >Increase the initial CWND

Re: kern/181257: [bge] bge link status change

2013-08-13 Thread linimon
Old Synopsis: bge link status change New Synopsis: [bge] bge link status change Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 14 02:08:11 UTC 2013 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Navdeep Parhar
On 08/13/13 17:51, Julian Elischer wrote: > On 8/14/13 1:37 AM, Navdeep Parhar wrote: >> On 08/13/13 10:29, Julian Elischer wrote: >> .. >>> Has anyone done any work on aggregating ACKs, or delaying responding to >>> them? >> If LRO is enabled on the FreeBSD receiver, ACKs are already aggregated >>

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Julian Elischer
On 8/14/13 1:37 AM, Navdeep Parhar wrote: On 08/13/13 10:29, Julian Elischer wrote: .. Has anyone done any work on aggregating ACKs, or delaying responding to them? If LRO is enabled on the FreeBSD receiver, ACKs are already aggregated (a duplicate ACK will result in an immediate flush though.)

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Luigi Rizzo
On Tue, Aug 13, 2013 at 7:37 PM, Navdeep Parhar wrote: > On 08/13/13 10:29, Julian Elischer wrote: > .. > > > > Has anyone done any work on aggregating ACKs, or delaying responding to > > them? > > If LRO is enabled on the FreeBSD receiver, ACKs are already aggregated > (a duplicate ACK will resu

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Julian Elischer
On 8/14/13 1:29 AM, Julian Elischer wrote: I have been tracking down a performance embarrassment on AMAZON EC2 and have found it I think. Our OS cousins over at Linux land have implemented some interesting behaviour when TSO is in use. They seem to aggregate ACKS when there is a lot of traffic

Re: TSO and FreeBSD vs Linux

2013-08-13 Thread Navdeep Parhar
On 08/13/13 10:29, Julian Elischer wrote: .. > > Has anyone done any work on aggregating ACKs, or delaying responding to > them? If LRO is enabled on the FreeBSD receiver, ACKs are already aggregated (a duplicate ACK will result in an immediate flush though.) See tcp_lro_rx. Regards, Navdeep __

TSO and FreeBSD vs Linux

2013-08-13 Thread Julian Elischer
I have been tracking down a performance embarrassment on AMAZON EC2 and have found it I think. Our OS cousins over at Linux land have implemented some interesting behaviour when TSO is in use. They seem to aggregate ACKS when there is a lot of traffic so that they can create the largest possib

Re: Different providers for different nat clients

2013-08-13 Thread Julian Elischer
On 8/13/13 8:34 PM, Olivier Nicole wrote: Artem, Um.. i was planning to use the included natd But i think it has only one external address to use I think there is a couple of rules to add to ipfw to enable NAT, that maybe where you divert to here or there: ipfw add divert natd all from 192.16

Re: Create CARP interface in state INIT?

2013-08-13 Thread Daniel Hartmeier
On Thu, Aug 08, 2013 at 01:11:58PM +0100, Karl Pielorz wrote: > Is there any way from rc.conf of creating a carp interface in the > 'down' state - i.e. INIT? I think any interface configured with ifconfig_* in rc.conf will cause an explicit additional "ifconfig up" call from /etc/network.subr. F

Re: Different providers for different nat clients

2013-08-13 Thread Daniel Hartmeier
On Tue, Aug 13, 2013 at 04:11:37PM +0400, ar...@artem.ru wrote: > There is a router with 3 interfaces: > > IF1: PROVIDER A > IF2: PROVIDER B > IF3: LAN > > Clients served via NAT. There are about 15 clients. > > Now, what i need to do: > > By default all traffic from all clients goes to PROVID

Re: Different providers for different nat clients

2013-08-13 Thread Olivier Nicole
Artem, > Um.. i was planning to use the included natd > But i think it has only one external address to use I think there is a couple of rules to add to ipfw to enable NAT, that maybe where you divert to here or there: ipfw add divert natd all from 192.169.x.y to any via ISPB ipfw add divert nat

Re: Different providers for different nat clients

2013-08-13 Thread ar...@artem.ru
13.08.2013 16:19, Olivier Nicole пишет: Artem, I have a strange task and don't understand how to implement such scheme. There is a router with 3 interfaces: IF1: PROVIDER A IF2: PROVIDER B IF3: LAN Clients served via NAT. There are about 15 clients. Now, what i need to do: By default all t

Re: Different providers for different nat clients

2013-08-13 Thread Olivier Nicole
Artem, > I have a strange task and don't understand how to implement such scheme. > > There is a router with 3 interfaces: > > IF1: PROVIDER A > IF2: PROVIDER B > IF3: LAN > > Clients served via NAT. There are about 15 clients. > > Now, what i need to do: > > By default all traffic from all client

Different providers for different nat clients

2013-08-13 Thread ar...@artem.ru
Hello! I have a strange task and don't understand how to implement such scheme. There is a router with 3 interfaces: IF1: PROVIDER A IF2: PROVIDER B IF3: LAN Clients served via NAT. There are about 15 clients. Now, what i need to do: By default all traffic from all clients goes to PROVIDER A

Re: WIDE-DHCP

2013-08-13 Thread s m
yes, unfortunately it's not well enough for me:(( On Tue, Aug 13, 2013 at 1:32 PM, wrote: > > It seems that the distribution includes a directory called db_sample > > with some tutorials/examples. > > > > But it also seems that the last release of wide-dhcp is 16 years old... > > And I also str

Re: WIDE-DHCP

2013-08-13 Thread sthaug
> It seems that the distribution includes a directory called db_sample > with some tutorials/examples. > > But it also seems that the last release of wide-dhcp is 16 years old... And I also strongly doubt that he's going to have any better luck with his /8 net. Steinar Haug, Nethelp consulting,

Re: WIDE-DHCP

2013-08-13 Thread Olivier Nicole
Sam, It seems that the distribution includes a directory called db_sample with some tutorials/examples. But it also seems that the last release of wide-dhcp is 16 years old... Olivier On Tue, Aug 13, 2013 at 3:42 PM, s m wrote: > hello guys, > > > does any body use WIDE-DHCP? i installed it on

WIDE-DHCP

2013-08-13 Thread s m
hello guys, does any body use WIDE-DHCP? i installed it on my freebsd 8.2 but don't know how to configure it. i searched a lot but can not find any useful documentation. please let me know if some body configure it or have some application about. thanks in advance SAM ___