Performance in inet-->bulktransfer and the central server to server

14 views
Skip to first unread message

Roger

unread,
Mar 13, 2010, 6:22:06 AM3/13/10
to omn...@googlegroups.com
Please help me!

--- En date de : Jeu 11.3.10, Roger <arrog...@yahoo.fr> a écrit :

De: Roger <arrog...@yahoo.fr>
Objet: [Omnetpp-l] I want to Write extra Performance in inet-->bulktransfer and the central server (zserver) built by my network send and receive any messages
À: omn...@googlegroups.com
Date: Jeudi 11 mars 2010, 19h12

Hi dear Helpers,

I have two problems:

First, i want to write in my network that each computer sends performance data to the server and the server forwards the values to the central server. Please how can i implement it in inet-->bulktransfer?

Second, http://www.google.de/images/cleardot.gifi've built my own network of "inet -> bulktransfer. But the problem is: the central server (zserver) built by my network send and receive any messages. What have i done wrong please? Below You can see my ned file and my ini file. I also send them as attachments to this e-mail.

Thank you very much in advance for your help.

Sincerely,

Roger Danja

Ned file:

import inet.networklayer.autorouting.FlatNetworkConfigurator;

import inet.nodes.inet.Router;

import inet.nodes.inet.StandardHost;

import ned.DatarateChannel;

 

 

network netzwerk2

{

    types:

        channel C extends DatarateChannel

        {

            datarate = 100Mbps;

            delay = 100ms;

        }

    submodules:

        client1: StandardHost {

            parameters:

                @display("p=131,67;i=device/pc3");

        }

        client2: StandardHost {

            parameters:

                @display("p=337,67;i=device/pc3");

        }

        client3: StandardHost {

            parameters:

                @display("p=337,247;i=device/pc3");

        }

        server: StandardHost {

            parameters:

                @display("p=131,247;i=device/pc2");

        }

        zserver: StandardHost {

            parameters:

                @display("p=234,247;i=device/pc2");

        }

        router: Router {

            parameters:

                @display("p=239,156");

        }

        configurator: FlatNetworkConfigurator {

            parameters:

                @display("p=62,119");

        }

    connections:

        client1.pppg++ <--> C <--> router.pppg++;

        client2.pppg++ <--> C <--> router.pppg++;

        client3.pppg++ <--> C <--> router.pppg++;

        server.pppg++ <--> C <--> router.pppg++;

        zserver.pppg++ <--> C <--> router.pppg++;

        server.pppg++ <--> C <--> zserver.pppg++;

}

 

 

 

Ini file:

[Config inet_inet]

description = "inet_TCP <---> inet_TCP"

# setting TCP stack implementation

**.server*.tcpType = "TCP"

**.zserver*.tcpType = "TCP"

**.client*.tcpType = "TCP"

 

[Config inet_old_inet_old]

description = "TCP_old <---> TCP_old"

# setting TCP stack implementation

**.server*.tcpType = "TCP_old"

**.zserver*.tcpType = "TCP_old"

**.client*.tcpType = "TCP_old"

 

[Config nsc_nsc]

description = "NSC_TCP <---> NSC_TCP"

# setting TCP stack implementation

**.tcpType = "TCP_NSC"

 

[Config nsc_inet]

description = "NSC_TCP <---> inet_TCP"

# setting TCP stack implementation

**.server*.tcpType = "TCP_NSC"

**.zserver*.tcpType = "TCP_NSC"

**.client*.tcpType = "TCP"

 

[Config inet_nsc]

description = "inet_TCP <---> NSC_TCP"

# setting TCP stack implementation

**.server*.tcpType = "TCP"

**.zserver*.tcpType = "TCP"

**.client*.tcpType = "TCP_NSC"

 

[General]

network = netzwerk2

total-stack = 14MB

tkenv-plugin-path = ../../../etc/plugins

#debug-on-errors = true

#record-eventlog = true

# tcp apps

**.numTcpApps = 1

**.client*.tcpAppType = "TCPSessionApp"

**.client*.tcpApp[0].active = true

**.client*.tcpApp[0].address = ""

**.client*.tcpApp[0].port = -1

**.client*.tcpApp[0].connectAddress = "server"

**.client*.tcpApp[0].connectPort = 1000

**.client*.tcpApp[0].tOpen = 1.0s

**.client*.tcpApp[0].tSend = 1.1s

**.client*.tcpApp[0].sendBytes = 100MB

**.client*.tcpApp[0].sendScript = ""

**.client*.tcpApp[0].tClose = 0

 

#**.server*.tcpAppType="TCPSinkApp"

**.server*.tcpAppType = "TCPEchoApp"

**.server*.tcpApp[0].address = ""

**.server*.tcpApp[0].port = 1000

**.server*.tcpApp[0].echoFactor = 2.0

**.server*.tcpApp[0].echoDelay = 0

 

#**.zserver*.tcpAppType="TCPSinkApp"

**.zserver*.tcpAppType = "TCPEchoApp"

**.zserver*.tcpApp[0].address = ""

**.zserver*.tcpApp[0].port = 1000

**.zserver*.tcpApp[0].echoFactor = 2.0

**.zserver*.tcpApp[0].echoDelay = 0

 

# tcp settings

#**.tcp.sendQueueClass = "TCPVirtualDataSendQueue"

#**.tcp.receiveQueueClass = "TCPVirtualDataRcvQueue"

 

# NIC configuration

**.ppp[*].queueType = "DropTailQueue" # in routers

**.ppp[*].queue.frameCapacity = 10  # in routers


Attachments: Image of my network, my ned file and my ini file

 

 

 

 

 

 


 




--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

Picture_mein own network.bmp
my ned file.pdf
my ini file.pdf
Reply all
Reply to author
Forward
0 new messages