From owner-freebsd-net@FreeBSD.ORG Sat Apr 30 20:44:27 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02B4106566B; Sat, 30 Apr 2011 20:44:27 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84B9A8FC12; Sat, 30 Apr 2011 20:44:27 +0000 (UTC) Received: by pzk27 with SMTP id 27so3406452pzk.13 for ; Sat, 30 Apr 2011 13:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=vitaDuskXSUoHe1qzDRrlYi2gap/Eph54ak2FxzoaAg=; b=uNoN1YMC5+5KrjK3//0XKEOdCA53i1u5zs8ccUPYM8ZUMilMJp/t9rGsQ9ijZ/zjKI zuxz3e6KJYjr0958+tmuHbSzcnWoY4dnJFVDFtY8LCkoYL3dAl0D7I9hE/WR3ftJTHa2 +JHYZ3KTdlCauql+08KiQoitWs60pcPxX4K/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ebPcYPR1QpDsHdS4vZL3c71L7uFDN2uAXGBFeuqRYiYu7piOxXmZwMsy2e88Ttd6MS suzzflmzRYKT8J/j4EQqrsqxusGvU4DJplR+p/Uo8PyPXfl6wYL/lZMD+Y+ruINnar9L e7HBPs6gnWt1voErq6gqKsl6TCG0Ajx91bYDU= Received: by 10.143.78.14 with SMTP id f14mr2469955wfl.110.1304196267009; Sat, 30 Apr 2011 13:44:27 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id x11sm4903427wfd.1.2011.04.30.13.44.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Apr 2011 13:44:25 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sat, 30 Apr 2011 13:43:39 -0700 From: YongHyeon PYUN Date: Sat, 30 Apr 2011 13:43:39 -0700 To: Adrian Chadd Message-ID: <20110430204339.GA25769@michelle.cdnetworks.com> References: <201104290001.p3T01EvQ082443@artema.vpn.ibs> <20110429095231.GA17786@relay.ibs.dn.ua> <20110429182807.GA21084@michelle.cdnetworks.com> <20110429184634.GA34176@relay.ibs.dn.ua> <20110429185605.GB21084@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: collisions on tun interfaces ... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 20:44:27 -0000 On Sat, Apr 30, 2011 at 11:35:22PM +0800, Adrian Chadd wrote: > On 30 April 2011 02:56, YongHyeon PYUN wrote: > > > Sending lots of packets within short interval may overflow > > interface's send queue. Try sending UDP packets with netperf and > > see what counters are changed during the test with something like > > "netstat -ndI tun0 -w 1". > > The default sendq is 50. What about considering bumping that? > It's tunable. Set net.link.ifqmaxlen. > > Adrian