Coder Social home page Coder Social logo

Comments (2)

angshuman-parashar avatar angshuman-parashar commented on August 17, 2024

In general I wouldn't recommend using num-threads more than available hardware threads, that will only slow the mapper down. It's best to keep it un-set, in which case Timeloop will probe the number of available hardware threads and fork that many mapper threads. However, if you are trying to diagnose/debug the mapper's behavior then of course you can use the parameter.

To answer your specific question - when the mapper creates a certain number of threads, it partitions the mapspace among the threads. Due to the nature of the RNG it's hard to deterministically determine which specific mapping each thread will decide to visit. Therefore, you may see situations where a larger number of threads are behaving unexpectedly because they got unlucky and happened to visit a number of bad mappings. Could you please expand the timeout even further and see if it helps?

from timeloop.

egiacomin avatar egiacomin commented on August 17, 2024

Got it. I will let the mapper use the available nb of threads automatically then.

As you said, looks like the 16 threads version got lucky and visited the good mapping very early. I increased the timeout by 100x and the 8/2 threads were able to find the same solution. Thanks for the insights.

from timeloop.

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.