kern/154428: xn0 network interface and PF - Massive performance drop

2015-09-20 Thread Jonas Liepuonius
Hello,

facing the same problem with FreeBSD 10.2 on XenServer 6.5. Disabling PF
entirely fixes the problem, and the workarounds I found ( "ifconfig xn0
-lro -tso" and "sysctl net.inet.tcp.tso=0" ) don't help unfortunately.

-- 
Regards,
Jonas
___
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-14 Thread Alex
I stumbled across PR 135178, perhaps there is some relationship with 
these PR's, though the reporter of that PR has not responded in some time.


On 02/13/11 15:31, Colin Percival wrote:

On 02/12/11 20:18, Alex wrote:

Fixed by net.inet.tcp.tso: 1 -  0

but why?? found this by trial an error.  setting net.inet.tcp.tso to 0
with pf enabled gives good performance, if i set it to 1, speeds plumet
to below dialup!

There have been problems with Xen and TSO in the past relating to how much
data gets handed off to the hypervisor at once... why this would cause issues
only with PF, I have no idea, though.



___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-12 Thread Colin Percival
On 02/12/11 20:18, Alex wrote:
 Fixed by net.inet.tcp.tso: 1 - 0
 
 but why?? found this by trial an error.  setting net.inet.tcp.tso to 0
 with pf enabled gives good performance, if i set it to 1, speeds plumet
 to below dialup!

There have been problems with Xen and TSO in the past relating to how much
data gets handed off to the hypervisor at once... why this would cause issues
only with PF, I have no idea, though.

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-12 Thread Colin Percival
The following reply was made to PR kern/154428; it has been noted by GNATS.

From: Colin Percival cperc...@freebsd.org
To: Alex joo...@joovke.com
Cc: freebsd-xen@freebsd.org, bug-follo...@freebsd.org
Subject: Re: kern/154428: xn0 network interface and PF - Massive performance
 drop
Date: Sat, 12 Feb 2011 20:31:07 -0800

 On 02/12/11 20:18, Alex wrote:
  Fixed by net.inet.tcp.tso: 1 - 0
  
  but why?? found this by trial an error.  setting net.inet.tcp.tso to 0
  with pf enabled gives good performance, if i set it to 1, speeds plumet
  to below dialup!
 
 There have been problems with Xen and TSO in the past relating to how much
 data gets handed off to the hypervisor at once... why this would cause issues
 only with PF, I have no idea, though.
 
 -- 
 Colin Percival
 Security Officer, FreeBSD | freebsd.org | The power to serve
 Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-12 Thread Alex

On 02/01/11 16:40, Alex wrote:

The following reply was made to PR kern/154428; it has been noted by GNATS.

From: Alexjoo...@joovke.com
To: bug-follo...@freebsd.org
Cc:
Subject: Re: kern/154428: xn0 network interface and PF - Massive performance
  drop
Date: Tue, 01 Feb 2011 14:29:58 +1100

  Confirmed problem still evident in 8.2 RC3 (did a full source csup and
  buildworld).

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org



Fixed by net.inet.tcp.tso: 1 - 0

but why?? found this by trial an error.  setting net.inet.tcp.tso to 0 
with pf enabled gives good performance, if i set it to 1, speeds plumet 
to below dialup!


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-01-31 Thread Alex
The following reply was made to PR kern/154428; it has been noted by GNATS.

From: Alex joo...@joovke.com
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/154428: xn0 network interface and PF - Massive performance
 drop
Date: Tue, 01 Feb 2011 14:29:58 +1100

 Confirmed problem still evident in 8.2 RC3 (did a full source csup and 
 buildworld).
 
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org