[General] network = FramePreemptionShowcase sim-time-limit = 1s #abstract-config = true (requires omnet 7) *.*.ethernet.typename = "EthernetLayer" *.host*.eth[0].typename = "LayeredEthernetInterface" *.host*.eth[0].bitrate = 100Mbps **.recordPcap = true **.dumpProtocols = "ethernetphy" **.crcMode = "computed" **.fcsMode = "computed" **.arp.typename = "GlobalArp" # host1 *.host1.numApps = 2 *.host1.app[*].typename = "UdpSourceApp" *.host1.app[0].source.packetNameFormat = "background-%c" *.host1.app[1].source.packetNameFormat = "ts-%c" *.host1.app[*].tagger.typename = "PacketTagger" *.host1.app[0].tagger.vlanId = 1 *.host1.app[1].tagger.vlanId = 0 *.host1.app[*].io.destAddress = "host2" *.host1.app[0].io.destPort = 1000 *.host1.app[1].io.destPort = 1001 # background ~96Mbps *.host1.app[0].source.packetLength = 1200B *.host1.app[0].source.productionInterval = truncnormal(100us,50us) *.host1.app[0].source.initialProductionOffset = 5us # high-ts ~9.6Mbps *.host1.app[1].source.packetLength = 1200B *.host1.app[1].source.productionInterval = truncnormal(1ms,500us) # host2 *.host2.numApps = 2 *.host2.app[*].typename = "UdpSinkApp" *.host2.app[0].io.localPort = 1000 *.host2.app[1].io.localPort = 1001 [Config FifoQueueing] description = "High and low priority frames are transmitted in first-in first-out order" **.macLayer.queue.packetCapacity = 4 **.macLayer.queue.typename = "DropTailQueue" [Config PriorityQueueing] description = "High priority frames are transmitted before low priority frames" **.macLayer.queue.typename = "PriorityQueue" **.macLayer.queue.numQueues = 2 **.macLayer.queue.queue[*].packetCapacity = 4 **.macLayer.queue.queue*.typename = "DropTailQueue" **.macLayer.queue.classifier.classifierClass = "inet::PacketVlanReqClassifier" [Config FramePreemption] description = "Transmission of low priority frames are preempted by high priority frames" *.host*.eth[0].macLayer.typename = "EthernetPreemptingMacLayer" *.host*.eth[0].phyLayer.typename = "EthernetPreemptingPhyLayer" **.macLayer.*.queue.packetCapacity = 4 **.macLayer.*.queue.typename = "DropTailQueue" [Config RealisticBase] #abstract-config = true (requires omnet 7) # background *.host1.app[0].source.packetLength = 1200B *.host1.app[0].source.productionInterval = truncnormal(100us,50us) # time-sensitive *.host1.app[1].source.packetLength = 120B *.host1.app[1].source.productionInterval = truncnormal(10ms,5ms) [Config RealisticFifoQueueing] extends = RealisticBase, FifoQueueing [Config RealisticPriorityQueueing] extends = RealisticBase, PriorityQueueing [Config RealisticFramePreemption] extends = RealisticBase, FramePreemption