HOW TO ANALYZE TCP CONGESTION RESULT

36 views
Skip to first unread message

Humphrey Chukwuemeka Emesowum

unread,
Jul 27, 2016, 11:35:27 AM7/27/16
to OMNeT++ Users

Hello guys! I tried to produce a TCP congestion window result to be analyzed, using the following .ned and .ini files. But it isn't producing any result folder after building it. what could be the issue? can anyone be of help?

.NED CODES:

package window.simulations;

import inet.networklayer.configurator.ipv4.FlatNetworkConfigurator;
import inet.node.inet.StandardHost;
import ned.DatarateChannel;


//
// TODO auto-generated type
//
network Window
{
    submodules:
        client: StandardHost {
            @display("p=57,87");
        }
        server: StandardHost {
            @display("p=225,87;i=device/server");
        }
        flatNetworkConfigurator: FlatNetworkConfigurator {
            @display("p=149,18");
        }
    connections:
        client.pppg++ <--> DatarateChannel {  delay = 0.02s; datarate = 56000bps; } <--> server.pppg++;
}




.INI CODES

[General]
network = Window
sim-time-limit = 100s

**.tcpType = "TCP"
**.tcp.advertisedWindow = 65535
**.tcp.delayedAcksEnabled = false
**.tcp.increasedIWEnabled = false
**.tcp.limitedTransmitEnabled = false
**.tcp.mss = 1452
**.tcp.nagleEnabled = true
**.tcp.receiveQueueClass = default
**tcp.recordStats = true
**.tcp.sackSupport = false
**.tcp.sendQueueClass = default
**.tcp.tcpAlgorithmClass = default
**.tcp.timestampSupport = true
**.tcp.windowScalingSupport = false

# client

**.client.numTcpApps = 1
**.client.tcpApp[*].typename = "TCPBasicClientApp"
**.client.tcpApp[*].localAddress =""
**.client.tcpApp[*].localPort = -1
**.client.tcpApp[*].connectAddress = "server"
**.client.tcpApp[*].connectPort = 80
**.client.tcpApp[*].startTime = 0s
**.client.tcpApp[*].requestLength = 350B
**.client.tcpApp[*].replyLength = 5MiB
**.client.tcpApp[*].numRequestsPerSession = 1
**.client.tcpApp[*].thinkTime =3s
**.client.tcpApp[*].idleInterval = 10s
**.client.tcpApp[*].reconnectInterval = 50s

# server

**.server.numTcpApps = 1
**.server.tcpApp[*].typename = "TCPSrvHostApp"
**.server.tcpApp[*].serverThreadClass = "TCPGenericSrvThread"
**.server.tcpApp[*].localAddress = ""
**.server.tcpApp[*].localPort = 80

**.tcpApp[*].dataTransferMode = "object"

**.client.ppp[*].queueType = "DropTailQueue"
**.client.ppp[*].queue.frameCapacity = 50

**.server.ppp[*].queueType = "DropTailQueue"
**.server.ppp[*].queue.frameCapacity = 50

**.ppp[*].numOutputHooks = 1
**.ppp[*].outputHook[*].typename = "OrdinalBasedDropper"

**.server.ppp[*].outputHook[*].dropsVector = "100;"

**.numPcapRecorders = 1

**.client.pcapRecorder[*].pcapFile = "clientlog.pcap"
**.server.pcapRecorder[*].pcapFile = "serverlog.pcap"

 
Reply all
Reply to author
Forward
0 new messages