Skip to content

A concurrent priority list with 10 priorities-ranks and random tasks as a parallel data set.

License

Notifications You must be signed in to change notification settings

poetter-sebastian/concurrent-priority-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Description

It's a concurrent priority list with 10 priorities-ranks and random tasks.

Commands

  • aw - Add new Worker
  • lw - List all active worker
  • kill {WorkerId} - Exit a worker thread with the id
  • killAll - Exit all worker threads
  • assT {WorkerId} {Taskdifficult} {X} {Y} - Assigne a task to a worker
  • addT {TaskType} {Taskdifficult} {priority} {X} {Y} - Adds a task to the list
  • lt - lists all task types
  • sp {TaskType} {number from 0-9} - sets the priority of a task type
  • ww {WorkerId} - Activate the logging of a worker
  • uww {WorkerId} - Deactivate the logging of a worker
  • waw - Activate the logging of all worker
  • uaw - Deactivate the logging of all worker
  • ctl - Clear the whole task list
  • exit - Exit the program

How it works

alt text

Some values

With a 4 core cpu and 32 threads

picture of distribution of duties on a 4 core cpu

With a 12 core cpu and 32 threads

picture of distribution of duties on a 12 core cpu

Posibilities of every priority

picture of posibilities of every priority

Posibilities of every priority in test

picture of posibilities of every priority in test

Documentation

About

A concurrent priority list with 10 priorities-ranks and random tasks as a parallel data set.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages