python - Fastest way to produce UDP packets -


We are creating a test born to push binary messages on UDP multicast.

The prototype is using twisted reactor loops to push out the message, which is achieving the level of traffic we expect - about 120000 messages per second.

We have 16 cores on our testing machine, and obviously I really want to spread it over the core to make a horn fly.

Does anybody have any idea about how we can make the application architect (either using an event loop approach or CSP style approach) output.

Apart from this, prototype is spent mostly in writing UDP - like IO, I should not be surprised, but am I not missing anything?

Any thoughts are welcome. I have a broad NIC, hardware or kernel interface limit. I use Broadcom Corporation Net Extreme BCM5704S Gigabit Ethernet Adapter. I can only access 69,000 packets per second. Try Quad Intel Gigabit Server Adapter with all four NICs on the same subnet.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -