Comments (4)
Hi, thanks for this report. Can you try the following steps:
ccp_kernel_unload
(as root)- run this const algorithm:
python3 <..>/portus/python/example/const.py
ccp_kernel_load ipc=0
(as root)- now start e.g. iperf sender and receiver with something like
iperf -s -p 5001
andmm-delay 25 mm-link --uplink-queue-args="packets=200" --uplink-queue="droptail" <..>/bw24.mahi <..>/bw24.mahi -- sh -c "iperf -c \$MAHIMAHI_BASE -p 4242 -Z ccp -t 30 -i 1"
If those steps do not work, it would be helpful if you provided the outputs in /var/log/syslog between steps 2 and 4.
from portus.
Everything works fine after reloading the ccp kernel! Thanks for your help @akshayknarayan!
I would be really appreciated if you could give some hints about why it works :)
from portus.
My guess is that when running this modified const after various other tweaked versions, the datapath program table ran out of space (https://github.com/ccp-project/libccp/blob/master/ccp.c#L319). In ccp-kernel we set the size of this datapath program array to be 10 (https://github.com/ccp-project/ccp-kernel/blob/master/tcp_ccp.h#L11). Because the report struct is the same size as the previous program, it's harder to notice this (without looking for the log in /var/log/syslog), since the previous datapath program will run (in your case, the one that reported per-ack) and send the same report. Unloading and re-loading the kernel module of course frees and reallocates this array.
This is a bug - ideally we would have some mechanism for removing old datapath program entries once there is no more space. I will try to fix it when I have time.
from portus.
That makes sense, thanks for your detailed explaination!
from portus.
Related Issues (20)
- Trouble running pyportus or making it HOT 7
- How to correctly estimate 'rate' in each report? HOT 3
- Bring README up to date!
- libccp integration test: add multiple flow case
- find performance bottlenecks HOT 2
- channel IPC sometimes segfaults when running integration tests HOT 1
- weird bug in integration test with channels
- Log Levels
- Potential bug of stuck HOT 7
- portus should not return scope to user
- portus and libccp api version numbers
- Unable to install pyportus from source HOT 1
- register multiple algortihms
- the question about the Learning-based algorithm HOT 4
- the question of the performance of ccp-bbr in Pantheon HOT 2
- the question about the aimd demo HOT 3
- the question about the aimd demo
- Question about running multiple congestion control algorithms at the same time HOT 2
- Where i can find the correct example that can run with mtcp 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 portus.