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

add memcpy_throughput tests #784

Merged
merged 2 commits into from
Jul 23, 2018
Merged

add memcpy_throughput tests #784

merged 2 commits into from
Jul 23, 2018

Conversation

bmesnet
Copy link
Collaborator

@bmesnet bmesnet commented Jul 20, 2018

Improved print message in memcopy
Added an automatic throughput test showing the 4 channels throughput
Simplified the circumvention in hw_action code since issue #652 scope is only on writes

Signed-off-by: Bruno Mesnet bruno.mesnet@fr.ibm.com

Signed-off-by: Bruno Mesnet <bruno.mesnet@fr.ibm.com>
@bmesnet bmesnet requested review from boekholt and luyong6 July 20, 2018 17:12
Signed-off-by: Bruno Mesnet <bruno.mesnet@fr.ibm.com>
@bmesnet bmesnet requested a review from acastellane July 23, 2018 20:03
Copy link
Collaborator

@acastellane acastellane left a comment

Choose a reason for hiding this comment

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

ok for me, thanks.

@bmesnet bmesnet merged commit f0b34cb into master Jul 23, 2018
function test_memcopy {

echo "Creating a" ${size} "bytes file ...takes a minute or so ... "
dd if=/dev/urandom of=512MB_A.bin count=${size} bs=1 2> dd.log
Copy link
Collaborator

Choose a reason for hiding this comment

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

When size =512MB, this line takes extreme long time.... I have to ctrl-C it.
It is suggested to use count=512 bs=1M

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