Comments (2)
Good catch. I should document this, but try adjusting LWIP_GUARDED_BUF_CHECK_INTERVAL
in include/libztDefs.h
to a value more suitable for your purpose. It's a trade-off between responsiveness and CPU utilization. A more reasonable value than the default might be 5 ms
.
Further optimizations can be made with regards to maximum numbers of connections, memory allocation, checksum functions, etc. But much of that requires one to be familiar with the lwIP
architecture so feel free to point out any other performance bottlenecks you experience and I'll see what I can do.
from libzt.
You saved my day! I was playing with the source code and thought maybe it's relaying via the planetary servers and caused the latency.
I change LWIP_GUARDED_BUF_CHECK_INTERVAL
to 3
and the result is satisfying:
Loss% | Snt | Last | Avg | Best | Wrst | StDev |
---|---|---|---|---|---|---|
0.0% | 10 | 1.4 | 2.3 | 1.1 | 3.8 | 1.1 |
Thank you very much for your quick response. I will open a new issue when I have further questions :)
from libzt.
Related Issues (20)
- Missing Libarys? HOT 2
- Compiling `libzt` to `wasm`. HOT 2
- Adding `libzt` support to poco. HOT 11
- `Identity` initialisation with arbitrary private key (or "secret"). HOT 1
- `libzt` on `arm` HOT 8
- Python3.6.8 undefined symbol: _ZN8ZeroTier12LinuxNetLinkD1Ev HOT 4
- pip install libzt returns a "Could not find a version that satisfies the requirement libzt (from versions: none)" error HOT 15
- Broken piece of garbage android library HOT 1
- iOS Framework not building HOT 6
- Python: Circular import error HOT 1
- How do I get the addresses of other users on the peer network? HOT 2
- Socket error: connect, 0 HOT 3
- there's a typo in README.md link
- Can't do pip install libzt HOT 6
- Feature Request: Golang binding HOT 1
- Android build: No implementation found for int com.zerotier.sockets.ZeroTierNative.zts_init() HOT 6
- Working for .NET? HOT 4
- AsyncRead & AsyncWrite support for TcpStream in Tcp.rs (Rust)
- Add arch detection for musl
- iOS build failed HOT 1
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 libzt.