Giter VIP home page Giter VIP logo

Comments (7)

hach-que avatar hach-que commented on August 13, 2024

Okay, this might have been because those nodes got preempted very very quickly. It looks like none of them lasted more than a minute before they got preempted.

from google-compute-engine-plugin.

hach-que avatar hach-que commented on August 13, 2024

Hmm no, even after turning off preemption, it still launched two nodes:

image

image

even though the instance cap is set to 1. This looks to be a pretty bad bug.

from google-compute-engine-plugin.

ingwarsw avatar ingwarsw commented on August 13, 2024

My experience says that it works with roughly good precision..
We have it set for 50 instances and max I saw was 52..

Issue is that we are starting new instances and they are not counted until they will start showing on listing.. which may take few seconds..

I dont think its worth making it more precise, because it will make it slower/more complicated..

from google-compute-engine-plugin.

rachely3n avatar rachely3n commented on August 13, 2024

@hach-que I don't know if it's worth it as stated above to make it more precise. What are your thoughts? Is this a significant problem for your use case? Looking at the code, it seems it could be a timing issue between having to terminate the instance and then provisioning new instances.

private synchronized Integer availableNodeCapacity() throws IOException {

from google-compute-engine-plugin.

hach-que avatar hach-que commented on August 13, 2024

In my case I'm launching 32-core Windows instances, with an instance cap of 1. So when it goes over it effectively doubles my spend on Google Cloud. For 32-core Windows instances, that's not trivial given the premium OS licensing per core.

from google-compute-engine-plugin.

rachely3n avatar rachely3n commented on August 13, 2024

I see, yes, the cost can really add up. I'll have to research further into this since this could involve a pretty significant code change.

from google-compute-engine-plugin.

rachely3n avatar rachely3n commented on August 13, 2024

With #99 recently, it seems it'll be difficult to change the timing parameters such as the following:
-Dhudson.slaves.NodeProvisioner.initialDelay=0 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85 -Dhudson.model.LoadStatistics.clock=10000 -Dhudson.model.LoadStatistics.decay=0.2

They need to be passed through Java. Only thing I can recommend temporarily is you'd have to have your own local build of the plugin with altered values for those above parameters?

from google-compute-engine-plugin.

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.