Code Monkey home page Code Monkey logo

multithreaded-computing's Introduction

Multithreaded computing

Coursework on parallel programming where a function is calculated in N threads

About this work

The main goal of the course work is to learn how to manage a multi-threaded system. The task is not the most useful, since under such conditions the calculations do not increase linearly and at some point do not give any productivity. When performing work, experience has been gained in building multi-threaded systems.

About code

Uncomment strings in src directory if you want to see more details about threads

How to run?

  1. Clone or download this repository
  2. Create virtual environment in repository: python3 -m venv venv
  3. Activate virtual environment: source venv/bin/activate
  4. Install requirements: python3 -m pip install -r requirements.txt
  5. Run from the terminal as: ./tester.py

Sample of execution

Result of testing on 4 core processor

alt-text

multithreaded-computing's People

Watchers

 avatar

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.