Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Greetings,
I've got some questions related to the Linux Tool: pktgen
I have networking experience, though never used this tool much. I understand the concepts of packet generation, etc (having done it the hard way back in the day of 10 MB coax NIC's).
From what I read the kernel generation, it says there is 1 thread per core "per device" - I assume that "device" == a single ethernet port?
I'm finding limitation in trying to run multiple ports (on I/O cards in an embedded chassis type setup). Tried 8 ports, with a 6 core CPU, but only 6 ports ran. So if the 1:1 is true, how can I test more ports??? Is there a way to add more devices to reach core? Or somehow get more threads running to which I can attach more ports?
Is there something else (saw Nping??) that might be more suitable for many port stress testing???
TIA for your feedback!
Regards,
Stephen
Greetings,
I've got some questions related to the Linux Tool: pktgen
(...)
From what I read the kernel generation, it says there is 1 thread per core "per device" - I assume that "device" == a single ethernet port?
Not having read through it, I don't know how it can be done, but it is obviously possible to have one pktgen thread control more than one NIC. Quote: "The main goal is to have one pktgen thread per CPU which can then drive one or more NICs."
@berndbaush - yes, I saw this paper, but it's from 2005, a bit dated. . . I'll take a closer look.
I can somewhat agree with the "1 thread per port" concept, but this becomes limited when the # of ports is much greater than the number of cores you have. . .
Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.