From owner-freebsd-xen@FreeBSD.ORG Tue Jul 16 11:23:33 2013 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CCE42CF7 for ; Tue, 16 Jul 2013 11:23:33 +0000 (UTC) (envelope-from feld@feld.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id A220EE9D for ; Tue, 16 Jul 2013 11:23:32 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B2ED22116F; Tue, 16 Jul 2013 07:23:30 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Tue, 16 Jul 2013 07:23:30 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= 26uWz18TbLVbSI++OI8DlK+xvEY=; b=e+T4FgJdaUFv4CyMWogRHrbl5fvc4XPU 2sgzNn9jsxb1xHev3IrEB49RhzTpCbrBCCo2Pbf4JI0d7EHu59vqliUNtL3EFasI yEosCDspXQ5Z7FAE79KdkRryohWLwDgz4EaVOJz1nMeDEbpJpiYRW5+cXjDfuT8R +Ti49bGywu4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=26uWz18TbLVbSI++OI8DlK+xvEY=; b=FOF hnkERcM+e7OFxPHAulhJX4LxjOtJjECgmFotFTPX0tXRbM7h1f8BJKXMtzdsw50Y CF5AboqqO61IscMhVrAbdHcr4wfiVH348stHjYNpDDeqzp7ZWOAUYNmZc0oiI3Jd dAxVJ0WYbQgkOawKcetfTUTUrewKeBexwsZra/Yg= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id EC25EB00003; Tue, 16 Jul 2013 07:23:29 -0400 (EDT) Message-Id: <1373973809.27916.140661256226689.6B762318@webmail.messagingengine.com> X-Sasl-Enc: MHP6QTfgiVbUqkp2GmwNBHDyO+pCBWaeWeGCJCa9mzF2 1373973809 From: Mark Felder To: alex@ahhyes.net, freebsd-xen@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-bdcdd1cb In-Reply-To: <201307160420.r6G4K2QR014503@freefall.freebsd.org> References: <201307160420.r6G4K2QR014503@freefall.freebsd.org> Subject: Re: kern/154428: [xen] xn0 network interface and PF - Massive performance drop Date: Tue, 16 Jul 2013 06:23:29 -0500 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 16 Jul 2013 11:23:33 -0000 On Mon, Jul 15, 2013, at 23:20, alex@ahhyes.net wrote: > > Hi Mark, > > You're certain TSO is enabled for the NIC? ie: Not disabled via > ifconfig or sysctl? > Ok, I just did some further testing again. I left TSO off in production because I wanted this to match our other servers for now. With TSO on there are no more speed issues. Before network operations were slower than dialup, and this is not the case anymore. However, there is an added bit of latency to all network operations. For example, a large text output over ssh via "dmesg" with TSO off is instant. With TSO on there's a 1 second lag before it reaches my terminal. It appears it's not fully fixed, but it's getting closer. We'll have to see if the recent XENHVM work in head has made any further progress. I haven't had time to test it yet.