You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the given original pcap file, writer a script to generate the pcap files for three approaches (shared-state, flow affinity, shared-nothing)
Modifications for all approaches:
Modify dst mac: ensure that the packets can be sent to dut
Add padding: higher tx rate
Shared state:
add padding, modify dst mac
modify src mac for RSS
-> (# of cores) pcap files
Flow affinity
add padding, modify dst mac -> 1 pcap file
(RSS) Some benchmark needs additional processing: e.g., set dst ip the same for ddos mitigator flow affinity
State (i.e., map key) is srcip. Need to ensure packets with the same srcip needs to be processed by the same core. The NIC does not support to only use srcip for hash function, but both srcip and dstip
For the given original pcap file, writer a script to generate the pcap files for three approaches (shared-state, flow affinity, shared-nothing)
Modifications for all approaches:
Modify dst mac: ensure that the packets can be sent to dut
Add padding: higher tx rate
Shared state:
Flow affinity
State (i.e., map key) is srcip. Need to ensure packets with the same srcip needs to be processed by the same core. The NIC does not support to only use srcip for hash function, but both srcip and dstip
Shared nothing
Scripts implemented:
https://github.com/smartnic/bpf-profile/tree/main/profile/pkt_trace
The text was updated successfully, but these errors were encountered: