From owner-freebsd-net Fri Oct 8 7:16: 7 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 6CD8D150CE for ; Fri, 8 Oct 1999 07:16:03 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA18526; Fri, 8 Oct 1999 16:17:50 +0100 From: Luigi Rizzo Message-Id: <199910081517.QAA18526@labinfo.iet.unipi.it> Subject: Re: how to drop few packets To: jacopo.pecci@erv.ericsson.se (Jacopo Pecci) Date: Fri, 8 Oct 1999 16:17:49 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <37FDF806.1D2FD356@erv.ericsson.se> from "Jacopo Pecci" at Oct 8, 99 03:56:03 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1390 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have just implemented the new reno algorithm but I would like to have > a sort of feedback to see if it is working. > I have built up a small network with 3 PCs, one of them act as a router > and has NISTnet emulator to emulate some channels. since you are using freebsd, why don't you just use dummynet which is part of recent FreeBSD distributions to simulate the lossy/congested channel ? > Do you have any idea how I could check if my implementation is right or > wrong? I should find the way to drop few packets in the same window (is > there any traffic generator like SOCK that allows me to drop some > packets?). To simulate what you want you could first try with a small queue size (because TCP is bursty), then you could even do minor modifications to dummynet to set some histeresys on the queue -- drop once above the high water mark, and keep dropping until the queue goes below low water. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) http://www.iet.unipi.it/~luigi/ngc99/ ==== First International Workshop on Networked Group Communication ==== -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message