Received: by oss.sgi.com id ; Sun, 2 Apr 2000 09:19:45 -0700 Received: from minus.inr.ac.ru ([193.233.7.97]:32521 "HELO ms2.inr.ac.ru") by oss.sgi.com with SMTP id ; Sun, 2 Apr 2000 09:19:33 -0700 Received: (from kuznet@localhost) by ms2.inr.ac.ru (8.6.13/ANK) id UAA06079; Sun, 2 Apr 2000 20:18:27 +0400 From: kuznet@ms2.inr.ac.ru Message-Id: <200004021618.UAA06079@ms2.inr.ac.ru> Subject: Re: coverage To: andrewm@uow.EDU.AU (Andrew Morton) Date: Sun, 2 Apr 2000 20:18:27 +0400 (MSK DST) Cc: netdev@oss.sgi.com In-Reply-To: <38E73398.E1727365@uow.edu.au> from "Andrew Morton" at Apr 2, 0 04:13:15 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Length: 1011 Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Hello! > How do you guys test things like: > > - max_interrupt_work exceeded ... > My approach to the first two was to put a 5 mSec delay in > boomerang_rx(), decrease max_interrupt_work to 5 and ping flood it. It is easy. "ping -f" does not create any real load on the network, it is pure latency test, when there is always only one packet in flight. Do not use it. Just write simple program, sending small udp packets without gaps, or use tools sort of netperf. To create extremal load, it is possible to use pgen tool by Robert Olsson (ftp://robur.slu.se:/pub/Linux/tmp/), it is a bit out of date, but easy to update. > - Tx stuck, invoke tx_timeout I think any man working with network has in his table some broken hub, which generates only collisions. 8) Mmm... what will occur if to plug crossed pair to two hub slots? Will it simulate broken hub then? (I did not advise you to do this! 8)) Seriously, you can just to skip some TX ring refilling deliberately to trigger this condition. Alexey