The following are some of the programs I wrote which might be useful to you. Feel free to try them and send me feedback.
This tool is designed to replay the web requests according to the time the requests are generated. It consists of two parts: the log replayer itself and a set of scripts to analyze the web log and generate the desired input file expected by the replayer.
this is a simple manual of the tool.
Since I didn't spend too much time on it, there are still some minor problems. Except that, it is basically feature complete and ready-to-use.
Here is the introduction about ControlWare.
Once the source code is unpacked, you can find three subdirectories:
The template and supporting tools will be released soon.
To compile the runtime library, change into kernel subdirectory, and type make.
To compile the component library, change into lib subdirectory, and type make.
Note: due to my limited time, I only test it in Linux. It may _not_ be compiled correctly in other systems. Also, you can edit makefile to turn off the debug output by changing the value of CFLAGS.
Here is a tutorial on how to use ControlWare and extend ControlWare.
Here is the introduction about this kernel patch.
Current version is based upon Linux kernel 2.2.15. Next version will be based on kernel 2.4.20 and include several enhancement and optimization.
tar xfvz linux-2.2.15.tar.gz
This will unpack the kernel into a directory named 'linux'.
host% cd linux
host% tar zxfv patch-2.2.15-netqos.tgz
host% patch -p1 < patch-2.2.15-netqos
Select CONFIG_TCP_FW to enable the classifier and connection forwarding. Select CONFIG_SOCKET_EX to enable the socket-level traffic control. Selecting the accompanying debug options will cause the kernel dump lots of (Yes, lots of!) debug information and can be checked using dmesg command. Don't enable them unless you notice some unexpected behavior from the kernel.
tar xfvz ctrl.tar.gz
These are some examples adding some QoS capabilities into the legacy servers.