Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outgoingPacketLengths:histogram shows some small wrong details #980

Open
marsluca opened this issue May 25, 2024 · 1 comment
Open

outgoingPacketLengths:histogram shows some small wrong details #980

marsluca opened this issue May 25, 2024 · 1 comment
Assignees
Labels

Comments

@marsluca
Copy link

marsluca commented May 25, 2024

In the module ClientServer.client.eth[0].queue, I noticed that outgoingPacketLengths:histogram shows some small wrong details. This is the result:

Experiment	Measurement	Replication	Module	Name	Kind	Count	SumWeights	Mean	StdDev	Variance	#Bins	Hist. Range	
General		#0	ClientServer.client.eth[0].queue	outgoingPacketLengths:histogram	h	66	-	**11,612.121212 b**	**2,456.080076 b**	6,032,329.338928 b²	76	0 .. 15,200 b	
General		#0	ClientServer.server.eth[0].queue	outgoingPacketLengths:histogram	h	64	-	463 b	12.709202 b	161.523810 b²	96	336 .. 528 b	

image

  • The histogram range should not be measured in bits
  • The variance is not present for the client

server.csv
client.csv

My omnet.ini:

[General]
network = ClientServer
sim-time-limit = 5s

**.client.numApps = 1
**.client.app[*].typename = "TcpSessionApp"
**.client.app[0].active = true
**.client.app[0].localPort = -1
**.client.app[0].connectAddress = "server"
**.client.app[0].connectPort = 1000
**.client.app[0].tOpen = 0.2s
**.client.app[0].tSend = 0.4s
**.client.app[0].sendBytes = 1MiB
**.client.app[0].dataTransferMode = "bytestream"
**.client.app[0].sendScript = ""
**.client.app[0].tClose = 0s

**.server.numApps = 1
**.server.app[*].typename = "TcpSinkApp"
**.server.app[0].localAddress = ""
**.server.app[0].localPort = 1000

**.ppp[*].queue.typename = "PacketQueue" # in routers

**.tcp.tcpAlgorithmClass = "TcpReno"
**.tcp.mss = 1460

My network:

import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.inet.StandardHost;
//import inet.node.inet.Router;
import inet.node.ethernet.EthernetHub;
import inet.node.ethernet.Eth10G;
import ned.DatarateChannel;

network ClientServer
{
    @display("bgb=1098,534");
    submodules:
        client: StandardHost {
            @display("p=89.5375,93.67");
        }
        server: StandardHost {
            @display("p=1044,454");
        }
        configurator: Ipv4NetworkConfigurator;
        router: EthernetHub {
            @display("p=89.5375,356.7725");
        }
        router1: EthernetHub {
            @display("p=699.77,137.75");
        }
    connections:
        client.ethg++ <--> Eth10G <--> router.ethg++;
        router.ethg++ <--> Eth10G <--> router1.ethg++;
        router1.ethg++ <--> Eth10G <--> server.ethg++;
}
@marsluca marsluca changed the title ClientServer.client.eth[0].queue stores wrong stats ClientServer.client.eth[0].queue small wrong details May 25, 2024
@marsluca marsluca changed the title ClientServer.client.eth[0].queue small wrong details outgoingPacketLengths:histogram shows some small wrong details May 25, 2024
@levy levy self-assigned this May 27, 2024
@levy
Copy link
Contributor

levy commented May 27, 2024

  1. The histogram range is correctly measured in the same unit as the statistic value, I think this isn't a bug.
  2. The exported CSV file doesn't contain all columns that are shown in the browse data page. I think this is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants