-
Notifications
You must be signed in to change notification settings - Fork 27
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
Traffic Generator not getting data packets. #58
Comments
The consumer traffic pattern generates Interests like: Name=/V/9ffa1dd7255a2f79, CanBePrefix=false, MustBeFresh=false. |
const cfg: TgConfig = {
face: {
scheme: "ether",
local: "02:60:18:6d:b0:01",
remote: "02:60:18:6d:b0:02",
mtu: 1500,
},
consumer: {
patterns: [
{
weight: 5,
prefix: "/V",
canBePrefix: true,
},
],
interval: "1ms",
},
}; Hi tried it and it gives me the same result, I am also showing some warnings that i got when i am starting the traffic generator
|
These Node.js ExperimentalWarning and DeprecationWarning are caused by lukeed/tsm#12 . |
I tested the traffic generator with the current version 33d8870 .
While using traffic generator with RxTable is never recommended, it is supposed to work if you only create one face per port. It's yet another thing that got broken when I did the ethport package refactoring in 2021-Dec. Meanwhile, the traffic generator only works with memif or with PCI driver + RxFlow enabled. # hardware: Mellanox ConnectX-5 adapters, connected via a direct attach cable without intermediate switch
# on both machines
sudo ndndpdk-ctrl systemd restart
jq -n '{
mempool: {
DIRECT: {
capacity: 65535,
dataroom: 9146
},
INDIRECT: {
capacity: 65535
},
PAYLOAD: {
capacity: 65535,
dataroom: 9146
}
}
}' | ndndpdk-ctrl activate-trafficgen
# on producer machine
# (the MAC addresses must match the physical MAC addresses of the adapters)
ndndpdk-ctrl create-eth-port --pci d8:00.0 --rx-flow 1
jq -n '{
face: {
scheme: "ether",
local: "52:76:96:64:30:6b",
remote: "ba:a7:8b:55:a4:d6",
mtu: 1500
},
producer: {
patterns: [
{
prefix: "/V",
replies: [
{
suffix: "/V",
payloadLen: 8000,
weight: 6
}
]
}
]
}
}' | ndndpdk-ctrl start-trafficgen
# on consumer machine
# (the MAC addresses must match the physical MAC addresses of the adapters)
ndndpdk-ctrl create-eth-port --pci d8:00.0 --rx-flow 1
jq -n '{
face: {
scheme: "ether",
local: "ba:a7:8b:55:a4:d6",
remote: "52:76:96:64:30:6b",
mtu: 1500
},
consumer: {
patterns: [
{
weight: 5,
prefix: "/V",
canBePrefix: true
}
],
interval: "1ms"
}
}' | ndndpdk-ctrl start-trafficgen What you can try:
|
For conusmer this is the watch for earlier setup
For producer this is the watch result for earlier setup-
I think the interest and data name is matching but that is not the issue. The setup you suggested requires two hardware machines right and it cannot be done using docker? |
Traffic generator is designed as a network appliance, so it needs hardware machines. |
Traffic generator can now work with RxTable as of fa16b5e |
I setup 2 ndn-dpdk nodes and activated them as traffic generators.
My plan was to set one of them as consumer and the other one as producer.
I can see interest packets counter increasing on the producer(rxInterest) but unfortunately there is no data packet on the consumer (rxData). I am using the following parameters.
This is consumer-
This is producer-
If check the counters-
on producer
On consumer
Is there some issue with the parameters or is there some other issue?
The text was updated successfully, but these errors were encountered: