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

Feature/perf no io #38

Merged
merged 39 commits into from
Jun 25, 2018
Merged

Feature/perf no io #38

merged 39 commits into from
Jun 25, 2018

Conversation

mcfadden8
Copy link
Collaborator

Added benchmark tests to determine bandwidth of various page fault scenarios
Added APIs to umap for flushing buffer and getting/clearing statistics
Merged in median calculation updates from Keita

Copy link
Collaborator

@mayagokhale mayagokhale left a comment

Choose a reason for hiding this comment

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

please fix spelling line 22 (Skipping, not skpping).
Also why is openmp required? if it isn't there, can't you just run with a single thread?

@KIwabuchi
Copy link
Member

KIwabuchi commented Jun 16, 2018

Sorry, I was misunderstanding Maya's review and deleted the previous comment.
It looks some(or all?) CMakeLists.txt files under 'test' directory require OpenMP and have the typo.

As for my median calculation program, I can change my program to run w/o OpenMP if umap also doesn't need it.

Marty

Do you think do we still need 'median' and FITS directory?

LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
RUNTIME DESTINATION bin )

else()
message("Skpping median_calculation, OpenMP required")
Copy link
Collaborator Author

@mcfadden8 mcfadden8 Jun 16, 2018

Choose a reason for hiding this comment

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

I am having a difficult time determining which file @mayagokhale is referring to. Is this the file and is "Skpping" the word that needs to be changed? If so, I think this message has been in here since the beginning and we can definitely fix it.

@mcfadden8
Copy link
Collaborator Author

@Kieta, if your implementation replaces the old 'median' and FITS directories, then I think we should remove them.

@mayagokhale
Copy link
Collaborator

mayagokhale commented Jun 16, 2018 via email

@mcfadden8
Copy link
Collaborator Author

mcfadden8 commented Jun 16, 2018 via email

@mayagokhale
Copy link
Collaborator

mayagokhale commented Jun 16, 2018 via email

mayagokhale
mayagokhale previously approved these changes Jun 16, 2018
Copy link
Collaborator

@mayagokhale mayagokhale left a comment

Choose a reason for hiding this comment

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

In tests/lib/PerFile/PerFile.cpp lines 123-128, there are little blue squares right before the text. That appears to be the only difference to the old file lines 118-123. What are those characters? tabs?

Also do the regression tests run with these changes merged in?

perror(estr.c_str());
return NULL;
}
struct stat sbuf;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These lines appear to have extra white space in them. Will investigate/fix.

Copy link
Collaborator Author

@mcfadden8 mcfadden8 Jun 17, 2018

Choose a reason for hiding this comment

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

Also, the umapsort regression test is indeed passing. However, I also just tried churn and it is not happy. Will investigate as well.

See issue #39. I will add a set of regression test scripts that will be run before each PR. For now, these will need to be run manually until we can find a place where we can configure a test kernel.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually, this part of the diff just shows that these lines had an extra indentation added to them which was intentional because they were moved within a new if block.

# a single file. As multi-file tests increase (FITS)
# additional tests will be added.
#
churn --directio -f /mnt/intel/regression_test_churn.dat -b 10000 -c 20000 -l 1000 -d 60
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mayagokhale, I have added our first regression test script to the umap project. As soon as I am able to locate a system that we can run our experimental kernel on, we may be able to enable some form of CI.

These two tests are passing now and I'll make sure to run them before submitting subsequent PRs.

mayagokhale
mayagokhale previously approved these changes Jun 25, 2018
Copy link
Collaborator

@mayagokhale mayagokhale left a comment

Choose a reason for hiding this comment

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

It would be nice to have a couple of sentences at the beginning of the pfbenchmark and nvmebenchmark saying what they are testing.

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.

3 participants