[Ndn-interest] [EXT] ndn interest packet
Junxiao Shi
shijunxiao at email.arizona.edu
Sun Feb 14 09:36:57 PST 2021
Hi Marwa
1. You need to have an Ethernet adapter listed in
https://doc.dpdk.org/guides/nics/index.html .
2. Go to https://github.com/usnistgov/ndn-dpdk and get the software
installed. There's a docs/ndndpdk-depends.sh script to help with dependency
installation on Debian 10 or Ubuntu 18 or Ubuntu 20.
3. Setup 8GB of hugepages in each NUMA socket.
4. Use dpdk-devbind.py script to select a DPDK-compatible PCI driver for
the Ethernet adapter. See https://doc.dpdk.org/guides/nics/index.html on
the page specific to your hardware to learn which driver you need; most
commonly, it's igb_uio for Intel, mlx5 for Mellanox, and uio_pci_generic
for other brands.
5. Start the ndndpdk-svc service via systemd.
6. Activate the traffic generator using the command below. You need to
edit the PCI address and the MAC addresses. See
/usr/local/share/ndn-dpdk/trafficgen.schema.json for a schema of the JSON
document.
echo '{
"eal": {
"pciDevices": [
"04:00.0"
]
},
"tasks": [
{
"face": {
"scheme": "ether",
"local": "2a:ce:b0:28:59:c3",
"remote": "4e:b9:fb:dc:ab:65"
},
"consumer": {
"patterns": [
{
"prefix": "/P/0",
"mustBeFresh": true
}
],
"interval": 1000
}
}
]
}' | ndndpdk-ctrl activate-trafficgen
Yours, Junxiao
On Sun, Feb 14, 2021 at 11:57 AM marwa kareem <
m.kareem1305 at coeng.uobaghdad.edu.iq> wrote:
> *External Email*
> Thank you junxiao for your hard work
>
> Is there any tutorial on how to use ndn-dpdk?
>
> Marwa,
>
> في أحد، ١٤ فبراير، ٢٠٢١ ٥:٣٩ م Junxiao Shi <shijunxiao at email.arizona.edu>
> كتب:
>
>> Hi Marwa
>>
>> NDN-DPDK traffic generator can craft such packets at 1 Mpps speed.
>>
>> ndnping + NFD with a route pointing to an Ethernet face can also do that
>> but it can only do 1 Kpps speed.
>>
>> Yours, Junxiao
>>
>> On Sun, Feb 14, 2021 at 08:37 marwa kareem <
>> m.kareem1305 at coeng.uobaghdad.edu.iq> wrote:
>>
>>> *External Email*
>>> hello ndn team ,
>>>
>>> I want to know if there are any ndn traffic generator apps that generate
>>> interest packets with only mac header+ ndn header without the udp/ip header.
>>>
>>> If not, is there any way to apply some changes on the tool to
>>> accomplish that?
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210214/8783b706/attachment.html>
More information about the Ndn-interest
mailing list