From owner-freebsd-xen@FreeBSD.ORG Sun Feb 13 04:40:11 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 BB286106566B for ; Sun, 13 Feb 2011 04:40:11 +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 909AF8FC15 for ; Sun, 13 Feb 2011 04:40:11 +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 p1D4eBT0027562 for ; Sun, 13 Feb 2011 04:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1D4eBuU027561; Sun, 13 Feb 2011 04:40:11 GMT (envelope-from gnats) Date: Sun, 13 Feb 2011 04:40:11 GMT Message-Id: <201102130440.p1D4eBuU027561@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org From: Colin Percival 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: Colin Percival 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: Sun, 13 Feb 2011 04:40:11 -0000 The following reply was made to PR kern/154428; it has been noted by GNATS. From: Colin Percival To: Alex Cc: freebsd-xen@freebsd.org, bug-followup@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