From owner-freebsd-net@FreeBSD.ORG Thu Aug 20 11:58:28 2009 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 340F7106568D for ; Thu, 20 Aug 2009 11:58:28 +0000 (UTC) (envelope-from gigabyte.tmn@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id A9EBE8FC57 for ; Thu, 20 Aug 2009 11:58:27 +0000 (UTC) Received: by bwz2 with SMTP id 2so3977087bwz.43 for ; Thu, 20 Aug 2009 04:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:reply-to:from:to :cc:references:subject:date:organization:mime-version:content-type :content-transfer-encoding:x-priority:x-msmail-priority:x-mailer :x-mimeole; bh=J1N/WNsqgcSezylBCCCQax4pdATLDMWrqHmkv2rywiw=; b=xBr3i++IJ6SWZJJkE5m5cXnxpz52aM4/3X4z7/Mqf74QV+ztQUmt2JTLaKprKexOll E+KuwkrOLeyQbmLobbbX0HEQp3aVN4TNfmpGDFrLAKy/K6Fn3WmkuTay7lcwI0Y6vwbY 0eHLuH1CA6DRRbqdOp1tmbH1Ksfydqj438IrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:reply-to:from:to:cc:references:subject:date:organization :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:x-mimeole; b=jprBmedm7zzkcYHNjXY6lhS4MIOCMeGrBFcU+U9fLA7I16Fbn+icLp6IeAyvmIJLrZ pQJZZOrKWw+sgy9Of2Q29+VDYqfovB1eYTg4/rWm0bUc3OWryoObSejPxcTqQv1Ruf5U AaqfybdXiJQmfN7WuTozxVAwxwGbhwhQkcq4I= Received: by 10.204.160.66 with SMTP id m2mr6005544bkx.156.1250769506695; Thu, 20 Aug 2009 04:58:26 -0700 (PDT) Received: from dm (7.dynamic-n193.r72.info [91.211.193.7]) by mx.google.com with ESMTPS id d13sm1485871fka.2.2009.08.20.04.58.25 (version=SSLv3 cipher=RC4-MD5); Thu, 20 Aug 2009 04:58:26 -0700 (PDT) Message-ID: <010901ca218d$878276a0$1e010a0a@in72.ru> From: "Dmitriy Zamuraev" To: References: <550146.64358.qm@web56404.mail.re3.yahoo.com> Date: Thu, 20 Aug 2009 17:58:26 +0600 Organization: Netline NSP MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Cc: freebsd-net@freebsd.org Subject: Re: em driver input errors X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitriy Zamuraev List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 11:58:28 -0000 Hello Alex, > SCHED_ULE, HZ=1000: I use this too >> > From the output of "netstat -nI em0 -w 5": >> maybe mistake, did you meen "netstat -w5 em0" ? > Nope, exactly as in my mail, "netstat -nI em0 -w 5". It does take 5 > seconds to produce meaningful output. hmm, just comments: -n Show network addresses and ports as numbers. -l Shows listen sockets -nl with -w is wrong parameters. > I have PPPoE concenrator based on S3000AHV motherboard with > Core2Quad 6600 and four (to load all cores in CPU) Intel > PCI-E x1 and PCI-E x4 NIC's > My load: > ... > Pretty impressive figures. And "netstat -ni" shows 0 errors on all cards? Not exactly zero, but for uptime 155 days it seems to be ok. bras1 [/usr/home/dm]# netstat -i|grep em em0 1500 00:15:17:71:f8:52 2457503820 20175 2096211799 0 0 em1 1500 00:15:17:71:f8:52 1084492221 11188 909418060 0 0 em2 1500 00:15:17:71:f8:52 4212941427 29566 3500442287 0 0 em3 1500 00:15:17:71:f8:52 2143321197 0 1878792786 0 0 This counters was made by UDP flood, when dummynet can't process all packets and swi:net loads one core up to 100%. Yes, the dummynet on this machine, its bad idea but it's working stable. (After this incident the switches now control the flood attack) NOTE: the MAC is equal because i use if_lagg(4) for this interfaces for load all cores in CPU >> I think it depends by motherbord, what full hardware specification are >> you using? with chips names > The machine is a Dell PowerEdge 2850. According to its specs, the chipset > is Intel E7520. > Two 64-bit Xeon processors at 3.20GHz, 4 GB RAM. For you bandwidth this server must work fine. Check the UDP/ICMP or other flood on em0 when errors appear. What kind of device at the end of em0 copper cable? If this a manageable switch, and supports tools - try to investigate what happens when errors appear.