netoptimizer / network-testing Goto Github PK
View Code? Open in Web Editor NEWNetwork Testing Tools for testing the Linux network stack
Network Testing Tools for testing the Linux network stack
The recvfrom
test in udp_sink is probably identical to recv
, because as it doesn't request the source address.
Based on discussion:
https://lore.kernel.org/netdev/[email protected]
From: Jesper Dangaard Brouer - Sent: 28 November 2019 11:12
...
Can you test recv() as well?
Sure: 9e3c8b86a2d662
$ sudo taskset -c 1 ./udp_sink --port 9 --count $((10**6*2))
run count ns/pkt pps cycles payload
recvMmsg/32 run: 0 2000000 653.29 1530704.29 2351 18 demux:1
recvmsg run: 0 2000000 631.01 1584760.06 2271 18 demux:1
read run: 0 2000000 582.24 1717518.16 2096 18 demux:1
recvfrom run: 0 2000000 547.26 1827269.12 1970 18 demux:1
recv run: 0 2000000 547.37 1826930.39 1970 18 demux:1
I think it might be faster than read().
Slightly, but same speed as recvfrom.
From: David Laight [email protected]
I notice that you recvfrom() code doesn't request the source address.
So is probably identical to recv().
Hi Jesper!
I've found your article about DDoS mitigations using iptables and synproxy.
(http://people.netfilter.org/hawk/presentations/devconf2014/iptables-ddos-mitigation_JesperBrouer.pdf)
I've looked through it and have some questions:
Thanks in advance, it would be great help for me to learn how to correctly protect my network using my linux firewall :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.