From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 15:43:09 2014 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38661243 for ; Wed, 29 Oct 2014 15:43:09 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0099.outbound.protection.outlook.com [157.56.111.99]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9AACB58 for ; Wed, 29 Oct 2014 15:43:08 +0000 (UTC) Received: from BY2PR07MB073.namprd07.prod.outlook.com (10.255.240.153) by BY2PR07MB075.namprd07.prod.outlook.com (10.255.240.155) with Microsoft SMTP Server (TLS) id 15.1.6.9; Wed, 29 Oct 2014 13:09:43 +0000 Received: from BY2PR07MB073.namprd07.prod.outlook.com ([169.254.16.37]) by BY2PR07MB073.namprd07.prod.outlook.com ([169.254.16.79]) with mapi id 15.01.0006.000; Wed, 29 Oct 2014 13:09:42 +0000 From: "Swain, Sachidananda" To: "questions@FreeBSD.org" Subject: Configuring pipe with random/variable delay in Dummynet Thread-Topic: Configuring pipe with random/variable delay in Dummynet Thread-Index: AQHP83jm+XEaOcXlmkqHLLdciqkGmg== Date: Wed, 29 Oct 2014 13:09:41 +0000 Message-ID: <1414588221910.58545@caviumnetworks.com> References: <1402297099047.59041@caviumnetworks.com> <1402378101805.26221@caviumnetworks.com> <20140610060330.GA55903@onelab2.iet.unipi.it> <1402398067353.87644@caviumnetworks.com> <1402493689759.49784@caviumnetworks.com> <1403871049532.44924@caviumnetworks.com> <1404104416765.73557@caviumnetworks.com> <20140630133250.GB3990@onelab2.iet.unipi.it> <1412591558338.83608@caviumnetworks.com> <1412592530436.80767@caviumnetworks.com> <1412922706769.82230@caviumnetworks.com> <1412930879041.22342@caviumnetworks.com>, , <1414575677311.30811@caviumnetworks.com> In-Reply-To: <1414575677311.30811@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [111.93.218.67] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB075; x-exchange-antispam-report-test: UriScan:; x-forefront-prvs: 03793408BA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(199003)(164054003)(189002)(85852003)(99286002)(2351001)(107046002)(97736003)(229853001)(95666004)(106116001)(2656002)(15975445006)(92726001)(76176999)(15202345003)(106356001)(117636001)(46102003)(4396001)(105586002)(40100003)(80022003)(122556002)(2501002)(87936001)(110136001)(101416001)(50986999)(92566001)(19627405001)(86362001)(93886004)(85306004)(77096002)(16236675004)(99396003)(120916001)(76482002)(19617315012)(64706001)(66066001)(31966008)(36756003)(54356999)(19580395003)(21056001)(20776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB075; H:BY2PR07MB073.namprd07.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Swain, Sachidananda" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 15:43:09 -0000 Hi, We are using FreeBSD 10.0-RELEASE on i386 Intel PC with 2GB RAM. Requirement in Dummynet: Can we set some variable delay may be 1 to 10 ms through Dummynet in FreeBS= D. If Yes, then what would be the command. Found one article: http://www.cs.unc.edu/~jeffay/dirt/FAQ/dummynet-modifications.html I didn't find those sysctl variables in FreeBSD 10.0 We followed the procedure to create pipe and configure with delay in Dummyn= et: ---------------------------------------------------------------------------= --- Creating Pipe and configuring for Delay Adding Pipe ipfw add 100 pipe 1 ip from any to any OR ipfw add pipe 1 ip from any to any OR ipfw add pipe 1 ip from to Configuring Pipe with Delay ipfw pipe 1 config bw 100Mbit/s delay 0ms OR ipfw pipe 1 config delay 0ms Deleting Pipe ipfw flush ----------------------------------------------------------------------- Please support us, how to configure pipe with variable delay. This is our u= rgent requirement for a test. Thanks, Swain ?