From owner-freebsd-net@FreeBSD.ORG Thu Apr 23 07:43:28 2015 Return-Path: Delivered-To: freebsd-net@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 4ABC8677 for ; Thu, 23 Apr 2015 07:43:28 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 371CB172A for ; Thu, 23 Apr 2015 07:43:27 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id C66AF106709; Thu, 23 Apr 2015 00:43:20 -0700 (PDT) Date: Thu, 23 Apr 2015 00:43:20 -0700 From: hiren panchasara To: Karlis Laivins Cc: freebsd-net@freebsd.org Subject: Re: Testing Congestion Control Algorithms Message-ID: <20150423074320.GI28632@strugglingcoder.info> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wjoFZxbW4tu+iR6v" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 07:43:28 -0000 --wjoFZxbW4tu+iR6v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 04/23/15 at 10:17P, Karlis Laivins wrote: > Hi, >=20 > I am currently working on a modification of TCP NewReno congestion control > algorithm. It seems that I have been able to write a working module. >=20 > Now, I am looking for a way to test the performance of the built-in > congestion control algorithms and the new algorithm. I have heard about t= he > NS-2 simulator, and I am trying to compile and configure it now, but that= 's > just a statistical tool (from what I hear) and the results are far from > reality (please correct me, if I am wrong). >=20 > Please recommend a tool or way I can test the performance of the congesti= on > control algorithm in a "real" environment (sender side - 2 Computers, one > connected to the wireless network, other to a wire, receiver - one PC, > running FTP server, both senders each sending a big file at the same time= ). > I would like to get comparable performance results from each of the > existing congestion control algorithm as well as the new one I have creat= ed > by modifying the NewReno algorithm. Comparing performance of different cc algorithms might be tricky as they are designed with different goals in mind. I suggest you stick with your modified newreno vs original newreno and see = if your modifications are letting you do whatever that you have decided. You may want to look at dummynet(4). This can be a useful read http://info.iet.unipi.it/~luigi/papers/20091201-dummynet.pdf siftr(4) is a handy tool to have around to make sure your congestion control module is behaving the way you want. cheers, Hiren --wjoFZxbW4tu+iR6v Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVOKKYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lnvcH/1NjmwhKOjhqUqWIBHlH9VsO L9Hq3RMo6wol7jTth24HdeJjAQsON5Q/fbQaPVyoJu5KfFgahvL5ibmQQ3MeUQfE UhxvSUx3m9wSdDRRMAcO7YLIhPQD2Ui6npQiK2MtQ1cg+esYWJ6Usz7XTvvYKqOi Gv9BYN26zBZ+IrJzHs6Sbvuo5l37G+ulVN4pNtu4dkcCjSG8an6jgE9p6/bDD9BG MyDlf8OYs3zdGAk/U1w6bVQiAFZZY85shR7EgFFQb1rToq8g79WaOl9GVr5sGTuY Mr7n7okA1Vyp/cKUQwNgk15R9xhHAeWQK0qkscaSH7JpKZHUtqbL0nFHcVZBaqA= =SXoJ -----END PGP SIGNATURE----- --wjoFZxbW4tu+iR6v--