From owner-freebsd-net@FreeBSD.ORG Sat Apr 18 06:59:05 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 23964C5E for ; Sat, 18 Apr 2015 06:59:05 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FF56257 for ; Sat, 18 Apr 2015 06:59:04 +0000 (UTC) Received: by lbbqq2 with SMTP id qq2so97705223lbb.3 for ; Fri, 17 Apr 2015 23:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yJAUrzik5bYkibH3843kvtl6XY3RVE1cZOaNHdnzAOk=; b=THPwG0cPKnoG/C6GDiAJkuUSxgRvi760jn9U2LxlfmFTd2SZFAU8elnpS4DKsY05Y2 1E4dE9iVMhN29l+KqLUIP9wnZnH3T3QWQsILWy1k3a6RehwgcOMnn8S/Vw8XJk5TmIDK U+1FUXiOrw5Cw9yYFZLXW0xemTZwD3g1JIF6+sp5wjFqmfKX7KveToFF1hszWtdebIRi R3Wc2ALGKS/ojtsFcYNtm3PkfWcPPYnWpR8BksrBMZK1O7CzAQ/THCFZvyJts4Bbc57k 2FuJpnr/gB7WMRrP/S/Rk/qFDh+yMjAsWK52II8qK1rDxgYl1G0T9YbqmdEWHDB3HZoa p8IQ== MIME-Version: 1.0 X-Received: by 10.112.151.211 with SMTP id us19mr7125737lbb.120.1429340341982; Fri, 17 Apr 2015 23:59:01 -0700 (PDT) Received: by 10.114.202.229 with HTTP; Fri, 17 Apr 2015 23:59:01 -0700 (PDT) Date: Sat, 18 Apr 2015 09:59:01 +0300 Message-ID: Subject: Congestion Control Modification From: Karlis Laivins To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sat, 18 Apr 2015 06:59:05 -0000 Hello, I have read an interesting publication about a proposed modification of TCP Congestion Control algorithm that would allow to improve it (the CC) by dynamic bandwidth estimation. The idea seems so interesting that I would like to try to implement it by modifying the NewReno code. Do I understand correctly that to do the above stated, I would create a copy of source file (in my case - cc_newreno.c) located in /usr/src/sys/ and rename it to, for example, cc_newreno_test.c and make changes to it? How would I then compile it, and how would I create a newreno_test.ko file that can be loaded into Kernel and tested? Thank you in advance for your answers! With Best Regards, Karlis