From owner-freebsd-ipfw@FreeBSD.ORG Fri Sep 5 11:25:00 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB0716A4F2 for ; Fri, 5 Sep 2003 11:25:00 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C8F144005 for ; Fri, 5 Sep 2003 11:25:00 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h85IOxkN078613; Fri, 5 Sep 2003 11:24:59 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h85IOxZs078612; Fri, 5 Sep 2003 11:24:59 -0700 (PDT) (envelope-from rizzo) Date: Fri, 5 Sep 2003 11:24:59 -0700 From: Luigi Rizzo To: Yuchung Cheng Message-ID: <20030905112459.A78583@xorpc.icir.org> References: <20030905095038.D28924@cs.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030905095038.D28924@cs.ucsd.edu>; from ycheng@cs.ucsd.edu on Fri, Sep 05, 2003 at 09:50:39AM -0700 cc: ipfw@freebsd.org Subject: Re: dummynet and modem pipes X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 18:25:00 -0000 On Fri, Sep 05, 2003 at 09:50:39AM -0700, Yuchung Cheng wrote: > when simulating modem pipes using dummynet, how do we simulate the > modem compressions? one way is to pick a compress rate, say 2, and setup basically there is no way to accurately simulate modem compression. As a rule of thumb, for bulk traffic you can think that the main effect is the bandwidth changes (the exact ratio depends on the type of traffic), whereas for interactive apps (e.g. rpc and the like) more than compression what affects you is the additional delay that the modem causes to decide that it is time to build&send a new packet. also you'd need to take care of ip compression, not just what happens in the modem itself cheers luigi > fake larger bandwidth, but do different traffic (html, jpg, mpg) affect > the compression latency or compression rate significantly? tia > > -yuchung > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"