Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
Makefile | 2003-03-17 10:42 | 821 | ||
charC.cpp | 2003-03-14 00:54 | 2.1K | ||
charS.cpp | 2003-03-14 00:54 | 2.9K | ||
congestC.cpp | 2003-03-14 00:54 | 2.2K | ||
congestS.cpp | 2003-03-14 00:54 | 3.1K | ||
fileC.cpp | 2003-03-14 00:54 | 2.4K | ||
fileS.cpp | 2003-03-14 00:54 | 4.4K | ||
lincoln.txt | 2003-03-14 00:54 | 29K | ||
recvqC.cpp | 2003-03-14 00:54 | 2.1K | ||
recvqS.cpp | 2003-03-14 00:54 | 2.7K | ||
shakespear.txt | 2003-03-14 01:01 | 5.3M | ||
speedC.cpp | 2003-03-14 00:54 | 1.9K | ||
speedS.cpp | 2003-03-14 00:54 | 2.8K | ||
termC.cpp | 2003-03-14 00:54 | 1.5K | ||
termS.cpp | 2003-03-14 00:54 | 1.8K | ||
timerC.cpp | 2003-03-14 00:54 | 2.0K | ||
timerS.cpp | 2003-03-14 00:54 | 3.5K | ||
zeroC.cpp | 2003-03-14 00:54 | 2.0K | ||
zeroS.cpp | 2003-03-14 00:54 | 2.7K | ||
The test code can be run under a non-cluster kernel, but an error will occur if the tests are ran using the cluster protocol.
Running timerS/timerC:
The server program times message throughput between multiple clients. You can run this with wither TCP/IP or cluster.
This is similar to the server test except only one client is used and only the latency from the send() request is timed. The parameters are similar to the server test, where speeds is the server and speedc is the client.
Running fileS/fileC:
Again, similar to server except a files is transmitted across the connection. This takes an additional parameter, the name of the file to send. The client side produces fileC.txt, which should diff exactly to the original file. This tests the ability of the protocol to support continuous sends and recvs. Also, zero length messages can be sent.
Running charS/charC:
Similar to the file tests, put sends a particular number of characters to the client read from the file. This tests the protocols ability to manage messages that span multiple packets, and read requests that do not read the entire packet.
Running zeroS/zeroC:
This is a simply test that sends three messages, one of which has length zero. This tests the protocols ability to send a message with no payload.
Running termS/termC:
This tests the protocols ability to handle the case where the server terminates before the client.
Running recvqS/recvqC:
This tests the case where the connection is closed before the client side has read all of the packets sent.
Running congestS/congestC:
Similar to the other test except it tests network congestion. If the network gets congested, packets are dropped and this test will not complete.