Giter Club home page Giter Club logo

Comments (7)

pmistryNV avatar pmistryNV commented on May 24, 2024

This will take around 3 weeks of work.

  1. There are few global static variables that needs to be added to a context so that it becomes thread safe.
  2. Make sure the test_sever is able to process multiple queries simultaneously. It might need a different kind of initialization. @csyonghe can the test_sever handle multiple queries?
  3. We will have to handle test_sever crash across multiple threads
  4. Test the compelete list and make sure there are no issues. This takes the longest time as total time to test is high.

Approximately 3 weeks of effort including testing.

from slang.

csyonghe avatar csyonghe commented on May 24, 2024

Instead of having test server handle multiple requests in parallel, the right thing to do is to launch multiple test servers and dispatch requests to them independently. I don't think it will take three weeks if we go this route. The slang-test infrastructure used this technique to run tests in parallel without getting into the mess of thread-proofing the rest of the code.

from slang.

csyonghe avatar csyonghe commented on May 24, 2024

This can be done by having each CTS test thread create its own test server and handle the restart of test server independently in that thread. There should be no thread syncing required.

from slang.

dzysk avatar dzysk commented on May 24, 2024

parallel1.txt
parallel2.txt
parallel3.txt
parallel4.txt
parallel5.txt
attaching test lists that I used just for reference. I'm not sure if this is the best way to run in parallel. It's just the way I set it up.

from slang.

pmistryNV avatar pmistryNV commented on May 24, 2024

CTS has an option --deqp-fraction= that can run parallel threads. I am investigating it.

from slang.

swoods-nv avatar swoods-nv commented on May 24, 2024

It sounds like this may be resolved; Pankaj to confirm when he is back.

from slang.

pmistryNV avatar pmistryNV commented on May 24, 2024

The issue happens when when multiple processes are launched simultaneously. Seems like a issue with windows mechanism of registering a mutex. The issue can be wok-around by launching each process after some delay.

from slang.

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.