From owner-freebsd-net@FreeBSD.ORG Wed Jul 4 11:49:43 2012 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 EEA35106566B for ; Wed, 4 Jul 2012 11:49:42 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 739F18FC0A for ; Wed, 4 Jul 2012 11:49:42 +0000 (UTC) Received: by eabm6 with SMTP id m6so3143530eab.13 for ; Wed, 04 Jul 2012 04:49:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=q/GMiyktRE7wn+ZCBoa0MtHZ1NDQCBNw/Q29vo8lgV8=; b=H0oN0dsM2OIkhx3pxeVqmsdz+JWgQZpSkO8Yt23PZ+OdgY3njssF2SD0UXSpZ9+yIo h0CpPhi8N4GnqHS3wfck1ekA/ogjJNsJAJDQEqcQTeCuhvEOdrJKpRbztuLs3ClUBxF4 ji99cYONrEE2xv4gntJeObuRPaiu+2i2YaO3Jxafj2HVUqVzOd3A4Q9ZwKdUzVywrM2G pYr/l6UhPOAsWquRqJaVwOXWSh+1USQbvHxojIJCatVKmTIw77vhe/vVsRY1aZcVjT4M Ey/HekRIw2HqqsJz/CBBrKZXQqCvlaXmKcInTYMVAmGx2qCcaodH5Pg9SrP+l53JWqDO bxRg== Received: by 10.14.97.134 with SMTP id t6mr5132624eef.121.1341402581211; Wed, 04 Jul 2012 04:49:41 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id q53sm53291224eef.8.2012.07.04.04.49.39 (version=SSLv3 cipher=OTHER); Wed, 04 Jul 2012 04:49:40 -0700 (PDT) Message-ID: <4FF42DD2.8080608@my.gd> Date: Wed, 04 Jul 2012 13:49:38 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQn0sdkI73wl2myCR9hssc9qSQ3/cKgKRNOvAOGffuuqDb9vytDfBru/zGw0NJ9kqwFJnqLr Subject: Re: lagg speed trouble X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 11:49:43 -0000 On 7/4/12 1:30 PM, Vyacheslav Kulikovskyy wrote: > i have sever with two 1G links (em) aggregated by lagg0 > > after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 > or em1 > > I'm using nginx in own CDN. and server don't limited my mbufs, irq, or > anything else.. only lagg0 errors ( > > netstat -w 1 -I em0 > input (em0) output > packets errs idrops bytes packets errs bytes colls > 43871 0 0 2726437 38304 0 108063773 0 > 43417 0 0 2700512 39084 0 109215143 0 > 43474 0 0 2701344 39303 0 108373730 0 > 43755 0 0 2717689 39023 0 108766820 0 > 43960 0 0 2733462 39476 0 109030307 0 > 44675 0 0 2776654 38708 0 107313936 0 > 44082 0 0 2734293 39089 0 108897889 0 > > netstat -w 1 -I em1 > input (em1) output > packets errs idrops bytes packets errs bytes colls > 43754 0 0 2722677 38943 0 108504216 0 > 44561 0 0 2778854 39107 0 108418763 0 > 44773 0 0 2784606 39006 0 108799148 0 > 45134 0 0 2814622 39137 0 108557494 0 > 44604 0 0 2770745 38998 0 107942619 0 > 44813 0 0 2789991 38901 0 108438247 0 > > netstat -w 1 -I lagg0 > input (lagg0) output > packets errs idrops bytes packets errs bytes colls > 87964 0 0 5474019 78172 1964 222220549 0 > 88842 0 0 5533987 78852 1811 222578109 0 > 87687 0 0 5454717 77279 2416 222286391 0 > 87995 0 0 5471653 78090 2040 223488046 0 > 88314 0 0 5493348 78495 1994 222548964 0 > 88411 0 0 5502818 78228 1949 222214374 0 > > how i can get full link speed on this server? > Do the ports on the switch report any layer 2 error, by chance ?