Git Product home page Git Product logo

Comments (3)

zhongpanwu avatar zhongpanwu commented on August 18, 2024

Hi, where you got the lmbench RISC-V version?

from lmbench.

sunmin89 avatar sunmin89 commented on August 18, 2024

Hi, where you got the lmbench RISC-V version?

Hi, I have forked one for RISC-V, it should work on riscv64 dev board.
Besides, I recommend to run lmbench with root account.

from lmbench.

sunmin89 avatar sunmin89 commented on August 18, 2024

Hello, I have built/run lmbench on RISCV HiFive Unleashed which has yocto linux kernel 5.4.3.
629.15 441.76 root@exaleapsemi:/mnt/kiran/lmbench3/bin/riscv64-linux-# ./bw_mem 879M rd

921.70 437.99

Could some one please help me understand how we get 921.70 (last result) when 879Mb data is read and also the impact on speed, 437.99 Mbps? Any other pointers will be helpful.

Thanks

Hi,
You can have a look at the output of

man doc/bw_mem.8

It says:
MEMORY UTILIZATION This benchmark can move up to three times the requested memory. Bcopy will use 2-3 times as much memory bandwidth: there is one read from the source and a write to the destionation. The write usually results in a cache line read and then a write back of the cache line at some later point. Memory utilization might be reduced by 1/3 if the processor architecture implemented ``load cache line'' and ``store cache line'' instructions (as well as ``getcachelinesize'').

or

man doc/bw_mem_rd.8

MEMORY UTILIZATION This benchmark should move approximately the reported amount of memory.

The above keyword approximately is important, it implies that the output 921.70 seems ok compared with what you supplied.

from lmbench.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.