Giter Site home page Giter Site logo

Comments (4)

ahnooie avatar ahnooie commented on May 20, 2024

This is intended behavior. The ARM scripts calls the transcoding command with "batch" which waits until the system load is below 1.5 and then queues the next transcoding job. The only way you got two transcoding jobs running simultaneously is that your system load fell below 1.5 which generally means you had CPU cycles to spare (unless you're running a 1 core CPU). This is not going to be perfect for every system but overall I think it's a good compromise between running everything in serial and not maximizing the cpu and running it all in parallel and it takes forever to finish transcoding.

The only way I can think of to make this better is to use the atd command instead of batch where you can specify the desired load before the command executes instead of the default of 1.5.

from automatic-ripping-machine.

TheFiZi avatar TheFiZi commented on May 20, 2024

Thanks for the explanation. I'm using a 4 CPU VM to do my transcoding so there must have been spare CPU cycles lying around.

What's interesting is when one of the two jobs finish another does not immediately start. The box waits until both jobs are done and then fires up two more jobs.

from automatic-ripping-machine.

ahnooie avatar ahnooie commented on May 20, 2024

Hmmm. I bet both jobs are in the queue waiting and finally when the CPU drops below 1.5 both jobs launch at the same time.

from automatic-ripping-machine.

TheFiZi avatar TheFiZi commented on May 20, 2024

That's my guess as well based on your explanation of how the batch process works.

from automatic-ripping-machine.

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.