4 ms·
Code on GitHub: https://github.com/ixy-languages/ixy-languages/ https://github.com/ixy-languages/ixy-languages/ Discussion about the C version on GitHub in 201
by emmericp 8y ago
Code on GitHub: https://github.com/ixy-languages/ixy-languages/ https://github.com/ixy-languages/ixy-languages/
Discussion about the C version on GitHub in 2017: https://news.ycombinator.com/item?id=16014307 https://news.ycombinator.com/item?id=16014307
- guerby 8y agoGreat work! Do you have by any chance the C driver latency measurements? It would be nice to have them on the same graph as those for Rust and other languages.
- emmericp 8y agoWould look the same as rust; I haven't run the full measurement with all the packets. But sampling 1k packets/second yields the same result for C and Rust. You can't really get a faster speed than Rust here; the only minor thing that could be improved is the worst-case latency by isolating the core that the driver is running on (isolcpus kernel option) to prevent other random interrupts or scheduling weirdness. But that optimization is the same for all languages and should get rid of the (tiny) long tail.
- guerby 8y agoThanks!