From owner-freebsd-xen@FreeBSD.ORG Sun Feb 13 04:31:02 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id D06331065674 for ; Sun, 13 Feb 2011 04:31:02 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id 96F8C152650 for ; Sun, 13 Feb 2011 04:31:01 +0000 (UTC) Received: (qmail 86200 invoked from network); 13 Feb 2011 04:31:07 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2011 04:31:07 -0000 Message-ID: <4D575E8B.7080804@freebsd.org> Date: Sat, 12 Feb 2011 20:31:07 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101220 Thunderbird/3.0.11 MIME-Version: 1.0 To: Alex References: <201102010540.p115eCXp089392@freefall.freebsd.org> <4D575B99.6070204@joovke.com> In-Reply-To: <4D575B99.6070204@joovke.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, bug-followup@FreeBSD.org 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 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:31:03 -0000 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