Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262327AbTIZB00 (ORCPT ); Thu, 25 Sep 2003 21:26:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262280AbTIZB00 (ORCPT ); Thu, 25 Sep 2003 21:26:26 -0400 Received: from pizda.ninka.net ([216.101.162.242]:19333 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S261460AbTIZB0Y (ORCPT ); Thu, 25 Sep 2003 21:26:24 -0400 Date: Thu, 25 Sep 2003 18:12:58 -0700 From: "David S. Miller" To: Ivan Kokshaysky Cc: davidm@hpl.hp.com, davidm@napali.hpl.hp.com, kevin.vanmaren@unisys.com, peter@chubb.wattle.id.au, bcrl@kvack.org, ak@suse.de, iod00d@hp.com, peterc@gelato.unsw.edu.au, linux-ns83820@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: NS83820 2.6.0-test5 driver seems unstable on IA64 Message-Id: <20030925181258.0883cc84.davem@redhat.com> In-Reply-To: <20030925201127.A11889@jurassic.park.msu.ru> References: <20030923105712.552dbb1e.davem@redhat.com> <16240.36993.148535.613568@napali.hpl.hp.com> <20030923114744.137d5dac.davem@redhat.com> <16240.40001.632466.644215@napali.hpl.hp.com> <20030923121044.483d3a5c.davem@redhat.com> <16240.42563.834328.584444@napali.hpl.hp.com> <20030923200832.1a58a215.davem@redhat.com> <20030925201127.A11889@jurassic.park.msu.ru> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 24 On Thu, 25 Sep 2003 20:11:27 +0400 Ivan Kokshaysky wrote: > On Alpha it is - I did some experimentation yesterday with > the tulip driver and "rx_copybreak=0" vs default "rx_copybreak=1518". > That's true, copying the large packet is very expensive due to constant > cache misses. On UP1500 it costs more than 2500 cycles per 1.5Kb > copy on large ftp transfers. > OTOH, minimal time to handle unaligned load is ~200 cycles (ev6 cpu), > but only when the trap handler itself and its data are in L1 cache > (like doing unaligned load in a tight loop). In the real life average > time is ~400 cycles due to cache misses. > Further, with "rx_copybreak=0" I've got 20 (!) unaligned traps per TCP > packet, i.e. penalty was 8000 vs 2500 cycles... Fine, then we should have something like an rx_copybreak scheme in the ns83820 driver too. Thanks for your data. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/