Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multithreaded option for the benchmarking tool on linear codes #20786

Open
sagetrac-dlucas mannequin opened this issue Jun 8, 2016 · 14 comments
Open

Multithreaded option for the benchmarking tool on linear codes #20786

sagetrac-dlucas mannequin opened this issue Jun 8, 2016 · 14 comments

Comments

@sagetrac-dlucas
Copy link
Mannequin

sagetrac-dlucas mannequin commented Jun 8, 2016

This ticket adds support for parallel computation for benchmarks object on linear codes (introduced in #20526)

Depends on #20684

CC: @johanrosenkilde @ClementPernet

Component: coding theory

Branch/Commit: u/dlucas/multithreaded_benchmarks @ e6acad4

Issue created by migration from https://trac.sagemath.org/ticket/20786

@sagetrac-dlucas sagetrac-dlucas mannequin added this to the sage-7.3 milestone Jun 8, 2016
@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jun 8, 2016

Branch: u/dlucas/multithreaded_benchmarks

@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jun 8, 2016

Commit: b419d91

@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jun 8, 2016

comment:2

I pushed a first version of my patch.

Known issues & remarks:

  • Verbosity option is completely broken
  • Scheduling in task_master method can be improved
  • Code duplication (_perform_experiments_for_single_id and _perform_parallel_experiments_for_single_id.
  • Some names can probably be improved.

I'm leaving this in new state for now.


Last 10 new commits:

bc29f26Refined experimental_data method, which now allows request for specific data
a82a477Fixed syntax errors in documentation
0ab93ecChanges and fixes to docstrings and doctests
d2d6e26Improved data selection in experimental_data method
8e363ddSwitched definition of decoding error and decoding failure
fe0b956Merge branch 't/20601/20601_experimental' into benchmarking_tool
272d251Update to 7.3b1
20523d0Added a stop and start mechanism for benchmarks
c2a7980Merge branch 'stop_and_restart_feature_for_benchmarking' into multithreaded_benchmarks
b419d91First version: working support for parallel computation

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 9, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

471f8e6Changed the behaviour of verbosity option if parallel is active
8f71eebchunk_size is now number_of_chunks: this parameter now represents the number of tasks a run for a given benchmark will be splitted into
e8340b6Rewrote task_master method to support dynamic chunk size

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 9, 2016

Changed commit from b419d91 to e8340b6

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 9, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

0984627Fixed a bug which prevented all experiments to be run when using parallel option
a7bf30dImplemented dynamic setting of chunk_size

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 9, 2016

Changed commit from e8340b6 to a7bf30d

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

9d2b717New strategy: each task is now sized such that it takes a fixed, predetermined amount of time

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Changed commit from a7bf30d to 9d2b717

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Changed commit from 9d2b717 to 69f74dc

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

1dac338Tweaked the previous strategy so it now considers the (very slow) first run of each task to size the aforementioned tasks
1036ee1Fixed stop and restart behaviour with parallel option
69f74dcAdded documentation and some comments

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

e6acad4Fixed speed issue

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 10, 2016

Changed commit from 69f74dc to e6acad4

@johanrosenkilde
Copy link
Contributor

comment:8

This will probably be superseded by the BleacherMark project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants