From: Benny Amorsen Subject: Re: Strange packet drops with heavy firewalling Date: Thu, 15 Apr 2010 15:23:50 +0200 Message-ID: References: <1271083479.2858.377.camel@ursa.amorsen.dk> <1271091990.2858.409.camel@ursa.amorsen.dk> <1271138186.16881.168.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Changli Gao , zhigang gong , netdev@vger.kernel.org To: Eric Dumazet Return-path: Received: from gate1.ipvision.dk ([94.127.49.2]:39394 "EHLO gate1.ipvision.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753203Ab0DONYA (ORCPT ); Thu, 15 Apr 2010 09:24:00 -0400 In-Reply-To: (Benny Amorsen's message of "Tue, 13 Apr 2010 09:56:25 +0200") Sender: netdev-owner@vger.kernel.org List-ID: Benny Amorsen writes: > I'll keep monitoring the server, and if it starts dropping packets again > or load increases I'll check whether irqbalanced does the right thing, > and if not I'll implement your suggestion. It did start dropping packets (although very few, a few packets dropped at once perhaps every ten minutes). Irqbalanced didn't move the interrupts. Doing echo 01 >/proc/irq/99/smp_affinity echo 02 >/proc/irq/100/smp_affinity echo 04 >/proc/irq/101/smp_affinity and so on like Erik Dumazet suggested seems to have helped, but not entirely solved the problem. The problem now manifests itself this way in ethtool -S: rx_no_buffer_count: 270 rx_queue_drop_packet_count: 270 I can't be sure that I'm not just getting hit by a 1Gbps traffic spike, of course, but it is a bit strange that a machine which can do 200Mbps at 92% idle can't handle subsecond peaks close to 1Gbps... I wish ifstat could report errors so I could see what the traffic rate was when the problem occurred... /Benny