From owner-freebsd-xen@FreeBSD.ORG Mon Feb 14 12:10:13 2011 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138621065673 for ; Mon, 14 Feb 2011 12:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 02FAD8FC13 for ; Mon, 14 Feb 2011 12:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1ECACxk046458 for ; Mon, 14 Feb 2011 12:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1ECAC6L046451; Mon, 14 Feb 2011 12:10:12 GMT (envelope-from gnats) Date: Mon, 14 Feb 2011 12:10:12 GMT Message-Id: <201102141210.p1ECAC6L046451@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org From: Alex Cc: Subject: Re: kern/154428: xn0 network interface and PF - Massive performance drop X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2011 12:10:13 -0000 The following reply was made to PR kern/154428; it has been noted by GNATS. From: Alex To: Cc: freebsd-xen@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/154428: xn0 network interface and PF - Massive performance drop Date: Mon, 14 Feb 2011 23:07:29 +1100 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. >