Giter Club home page Giter Club logo

Comments (7)

majestrate avatar majestrate commented on July 17, 2024

Thanks for the input, I was faced with picking a congestion control algorithm and ended up trying to implement codel but probably screwed it up.

from lokinet.

majestrate avatar majestrate commented on July 17, 2024

i am unsure if fq_codel applies at the level i use it at right now, but some future parts of the code would be best to use fq_codel since it can differentiate between flows on the upper layers.

from lokinet.

dtaht avatar dtaht commented on July 17, 2024

one thing we do with fq_codel nowadays is preserve the inner hash of the original headers (hash is seeded with a random number but doesn't presently rotate), before it hits the vpn. At one level this improves entropy, at another it might be an info leak. I do know that torrent over tcp sucks due to lousy congestion control.

I'll try to parse your implementation over the weekend. I am terrible at c++ though.

from lokinet.

majestrate avatar majestrate commented on July 17, 2024

I do suspect that the initial congestion control, latency and jitter for lokinet will suck pretty hard. I am unsure how much as i have yet to take any real world measurements on such being stuck in pumping out the gutts of it all. i believe we hope to launch a demo in about 2 months so I have been grinding hard since mid may.

from lokinet.

dtaht avatar dtaht commented on July 17, 2024

One of the reasons for blockchains' failures along the edge is due to the enormous bufferbloat they induce and endless retry/retransmit cycles to complete because of this.

from lokinet.

majestrate avatar majestrate commented on July 17, 2024

this is because of using many short segments instead of it being a continuous bulk transfer right?

from lokinet.

majestrate avatar majestrate commented on July 17, 2024

update: the last part of the code that still uses CoDel is the ip interface used to send packets over the network and the os could be able to handle that itself with its own stuff. not sure where i'd be able to use CoDel as of right now that would make sense besides maybe for limiting path and inter path traffic.

I'll mark this as closed for now.

from lokinet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.