Achieve unmatched low-latency and speed in applications.
Project details
The EXTREME library offers cutting-edge speed and precision for low-latency applications. Designed for high-performance environments, it supports DPDK bindings, exponential pause techniques, and includes an example UDP receiver. Optimize resource usage while enhancing throughput with this powerful Rust library.
The EXTREME library is specially designed to provide remarkable speed and accuracy for low-latency and ultra-fast applications. It includes a collection of features optimized for performance, ensuring efficient operations in demanding environments.
dpdk-dev package to utilize this functionality.To demonstrate the functionality of the udp-receiver, follow these steps:
udp-receiver application with the command (note that sudo is required):
sudo cargo run -p udp-receiver
sudo ip addr add 192.168.100.1/24 dev dpdk-tap0
sudo ip link set dpdk-tap0 up
echo "DPDK передает привет языку Rust!" | nc -u -w1 192.168.100.99 9999
udp-receiver application to confirm that the packet has been received successfully.Testing the idle loop cycle on a single CPU core with turbostat reveals notable improvements when using the SpinCounter with exponential counting. After approximately 5 minutes of operation:
Core CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IPC IRQ SMI POLL C1ACPI C2ACPI C3ACPI POLL% C1ACPI% C2ACPI% C3ACPI% CPU%c1 CPU%c6 CPU%c7 CoreTmp CoreThr PkgTmp Totl%C0Any%C0 GFX%C0 CPUGFX% CPU%LPI SYS%LPI PkgWatt CorWatt GFXWatt RAMWatt PKG_% RAM_% UncMHz
0 0 3400 100.02 3399 3417 3.15 5013 0 0 0 0 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 58 0 58 261.67100.52 0.00 0.00 0.00 0.00 23.24 21.92 0.00 0.00 0.00 0.00 2800
SpinCounter::<1024>::new():Core CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IPC IRQ SMI POLL C1ACPI C2ACPI C3ACPI POLL% C1ACPI% C2ACPI% C3ACPI% CPU%c1 CPU%c6 CPU%c7 CoreTmp CoreThr PkgTmp Totl%C0Any%C0 GFX%C0 CPUGFX% CPU%LPI SYS%LPI PkgWatt CorWatt GFXWatt RAMWatt PKG_% RAM_% UncMHz
0 0 3400 100.02 3400 3417 0.38 1595 0 0 0 0 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 51 0 55 307.01100.52 0.00 0.00 0.00 0.00 22.46 21.14 0.00 0.00 0.00 0.00 2800
Using the SpinCounter results in a significant reduction in core power consumption, dropping from 3.15W to 0.38W, and a decrease in core temperature from 58℃ to 51℃. This illustrates the effectiveness of the EXTREME library in optimizing system performance while minimizing energy usage.
Comments
0Start the conversation
Share the first comment.