tcp-lp-1.5.2
所属分类:网络
开发工具:C/C++
文件大小:22KB
下载次数:74
上传日期:2008-12-11 11:54:22
上 传 者:
octsky
说明: TCP-LP protol source for linux 2.6.13
文件列表:
tcp-lp-1.5.2\tcp-lp\CVS\Entries (256, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS\Entries.Extra (90, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS\Entries.Extra.Old (0, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS\Entries.Old (0, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS\Repository (8, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS\Root (128, 2006-09-23)
tcp-lp-1.5.2\tcp-lp\CVS (0, 2008-01-24)
tcp-lp-1.5.2\tcp-lp\doc.html (4081, 2006-05-03)
tcp-lp-1.5.2\tcp-lp\GPL.txt (18351, 2006-04-19)
tcp-lp-1.5.2\tcp-lp\Kconfig (22259, 2006-09-04)
tcp-lp-1.5.2\tcp-lp\Makefile (2216, 2006-09-04)
tcp-lp-1.5.2\tcp-lp\tcp_lp.c (9374, 2006-09-23)
tcp-lp-1.5.2\tcp-lp (0, 2008-01-24)
tcp-lp-1.5.2 (0, 2008-01-24)
TCP-LP as module for 2.6.16
===========================
Author:
Aleksandar Kuzmanovic
Port from 2.4.19 to 2.6.16 by:
Wong Hoi Sing Edison
Hung Hing Lun
Version: $Id: README.txt,v 1.3 2006/09/04 09:11:03 hswong3i Exp $
Contents
========
- Introduction
- Install
Introduction
============
We study about TCP Low Priority (TCP-LP), which is available from:
http://www.ece.rice.edu/~akuzma/Doc/akuzma/TCP-LP.pdf
As of 2.6.13, Linux supports pluggable congestion control algorithms.
A congestion control mechanism can be registered through functions in
tcp_cong.c. (from kernel document, Documentation\networking\tcp.txt)
We found that we can simply work it out in modern kernel as a
module. Therefore unless the kernel's pluggable congestion control
API being changed, we only need to put very little effort for
applying it in the up coming version of kernel.
Install
=======
1. Install from patch:
1.1 tar jxf linux-2.6.16.1-1.tar.bz2
1.2 cd linux-2.6.16.1
1.3 bzcat ../tcp-lp-2.6.16-1.patch.bz2 | patch -p1
2. Install by hand:
2.1 tar jxf linux-2.6.16.1.tar.bz2
2.2 cp tcp-lp.c linux-2.6.16.1/net/ipv4
2.3 edit both /net/ipv4/Kconfig and /net/ipv4/Makefile,
please read our version as reference.
After install the patch you can simply run "make menuconfig",there will
be 2 new option within:
Networking
|--> Networking options
|--> TCP congestion control
(After active "TCP: advanced congestion control")
|--> TCP Low Priority (NEW)
|--> TCP-LP Debug (NEW)
(after active "TCP Low Priority")
You can chose it as build-in or module. If build it as module, after
boot up your new kernel you can load it by:
modprobe tcp_lp
and unload it by:
modprobe -r tcp_lp
if you hope to change the default congestion control on the fly:
sysctl -w net.ipv4.tcp_congestion_control=lp
Open the debug option will let you see the debug message by running
"dmesg". You can also read it from /var/log/debug. Be careful, this may
greatly decrease the speed, only turn it on when you really need it ;-)
近期下载者:
相关文件:
收藏者: