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

Using Monte-Carlo Approach for the Producer-Consumer Channel Benchmark #1427

Closed
wants to merge 1 commit into from

Conversation

fmixing
Copy link
Contributor

@fmixing fmixing commented Aug 8, 2019

The development mode works under 10 minutes now on macbook pro 13" (2017): BUILD SUCCESSFUL in 8m 38s.
You can see the results on AWS m5.24xlarge in the attached pdf file.
channel-prod-cons-monte-carlo.pdf

@fmixing fmixing requested a review from ndkoval August 8, 2019 15:44
@fmixing fmixing requested a review from ndkoval November 10, 2019 22:14
@ndkoval ndkoval changed the title Montecarlobench Using Monte-Carlo Approach for the Producer-Consumet Channel Benchmark Nov 15, 2019
@qwwdfsad qwwdfsad self-requested a review November 21, 2019 12:57
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd continue reviewing this PR as soon as I am able to do a short complete run (=> "development configuration" is implemented)

Copy link
Member

@ndkoval ndkoval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The python script for generating plots does not work if only one dispatcher is used.

@qwwdfsad qwwdfsad force-pushed the develop branch 3 times, most recently from 4a49830 to aff8202 Compare March 10, 2020 17:27
@ndkoval ndkoval force-pushed the montecarlobench branch 5 times, most recently from ce84972 to 3acf2c5 Compare June 2, 2020 20:09
@ndkoval ndkoval changed the title Using Monte-Carlo Approach for the Producer-Consumet Channel Benchmark Using Monte-Carlo Approach for the Producer-Consumer Channel Benchmark Jun 2, 2020
…to test on a wide range of contended scenarios
if (withSelect) {
select<Unit> {
channel.onSend(element) {}
dummy!!.onReceive {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please documents what's the purpose of dummy

/**
* Runs a batch send-receive pairs under the specified workload.
*/
public abstract class ChannelProdConsBenchmarkIteration(
Copy link
Member

@qwwdfsad qwwdfsad Jul 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the only possible way to understand the structure of the benchmark (what does it measure, how to interpret its results, how does it split the workload, what's the relationship between producers and consumers, what caveats does it have etc.) can be understood only from studying the source code, which doesn't seem really maintainable.

Please describe the top-level process in the root KDoc

@qwwdfsad qwwdfsad closed this Jun 7, 2021
@qwwdfsad qwwdfsad deleted the montecarlobench branch July 12, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants