Comments (1)
Reducing CPU usage for high-speed networking is a really hard problem if you also want to keep your latency low. (insert longer ramble about NAPI and interrupt throttling here which doesn't work the way most people think it works)
But as a quick and dirty implementation similar to what the linked code does: try libmoon.sleepMicrosIdle() instead of libmoon.sleepMicros(). We always default to busy sleep because power-saving is a non-goal for this project at the moment: we want to prototype stuff.
from libmoon.
Related Issues (20)
- attempt to index local 'fw' error with Pktgen
- Fault for hello world
- Does libmoon and FlowScope support more than 128 lcores? HOT 1
- Rate Limit RX HOT 1
- pcap magic number not accepted
- Cores from different sockets are never used
- Timestamp of Outgoing Packets HOT 2
- libmoon with dpdk 20+? Mellanox PMD drivers ConnectX5 HOT 1
- Unclear how libmoon is supposed to interface with Mellanox dev=mlx5_core HOT 3
- rate limit less than 1mbit/s
- Segmentation Fault in Script
- Send and receive on the same interface
- Multiple Definitions
- Building error.
- Error on running dump-pkts.lua example HOT 5
- Newer DPDK HOT 7
- The relationship between numpkts and bufs.size, and the impact of batching on performance after receiving packets
- pktgen example not working with Intel X540-AT2 HOT 2
- Build error HOT 3
- libmoon can't find qlogic QL41000 nic while dpdk example app can work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmoon.