Code Monkey home page Code Monkey logo

Comments (7)

darstahl avatar darstahl commented on July 2, 2024

@msabansal @JMesser81 PTAL

from hcsshim.

sunjayBhatia avatar sunjayBhatia commented on July 2, 2024

@darrenstahlmsft @msabansal @JMesser81 we've found that there might be a minimum value you have to set the MaximumOutgoingBandwidthInBytes field to around 10KB for it to be respected, is this true?

We are also having trouble verifying this feature actually works in our integration tests

from hcsshim.

msabansal avatar msabansal commented on July 2, 2024

@sunjayBhatia I would have to look. In RS1 days when we had our powershell containers module we had tests to validate this. When we removed the module the tests were gone and unfortunately docker didn't support specifying policies so this left a test hole. We haven't touched this code path ever though. As far as I remember we always validated in bound data rate and never the outbound rate. Does it rate limit on the inbound path properly for you?

from hcsshim.

sunjayBhatia avatar sunjayBhatia commented on July 2, 2024

@msabansal We have only used the QosPolicy which gives the ability to configure an outbound bandwidth. Where are we able to also configure the inbound bandwidth?

from hcsshim.

msabansal avatar msabansal commented on July 2, 2024

@sunjayBhatia The name is confusing. The policy can be used to rate limit inbound data and as far as I remember that was the intended use for it.

from hcsshim.

aminjam avatar aminjam commented on July 2, 2024

@msabansal We just figured out the cause of this issue. It turns out that QOS policies can only be applied at endpoint creation time. We were previously applying it after HotAttach with HNSEndpoint.Update. It also seems like only Outgoing traffic is affected by this property. When we tried downloading instead of uploading, the property had no affect.

This issue can now be closed.

from hcsshim.

msabansal avatar msabansal commented on July 2, 2024

@aminjam Thanks for confirmation. If you were applying it after update and we didn't support updating this policy we throw an error.

from hcsshim.

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.