linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Pintu Agarwal <pintu.ping@gmail.com>
To: jimw@sifive.com
Cc: Gurucharan Kaur Saluja <gurucharankaurs@gmail.com>,
	linux-riscv@lists.infradead.org, sw-dev@groups.riscv.org,
	isa-dev@groups.riscv.org
Subject: Re: [sw-dev] riscv-tests-benchmarks tools not working on qemu linux
Date: Mon, 17 Dec 2018 18:11:52 +0530	[thread overview]
Message-ID: <CAOuPNLiH71LA+3B8RuPZN7enqs2o1t50if6__63qmTjGcnzM9g@mail.gmail.com> (raw)
In-Reply-To: <CAFyWVaakcVQC5ioOi6nopram8AY4Ph36dYbuohs-j=nuVLFCOQ@mail.gmail.com>

On Fri, Dec 14, 2018 at 10:57 PM Jim Wilson <jimw@sifive.com> wrote:
>
> Anyways, you can run the programs in the benchmarking dir on a linux
> system if you compile them as linux programs.  That is, don't use the
> makefile, and just compile them directly with a linux gcc.  But they
> are so small, you may not get useful performance results on real
> hardware.
>
Thank you so much for your information.
Yes, we already did that. But all tests finally depends on "common" .c and .h
So, it did not work standalone.
Also we cannot remove those function, otherwise how can we measure the data..
If you know of any tests that can work on x86/arm/risc-v please let me know.

> > Or, is it possible to create a simple and common benchmarking tool
> > like: {Sorting, Multiply, Matrix Multiply, Tower of Hanoi, Factorial,
> > etc.} using normal C programming and system calls (if required)?
> > But, question is, how should I measure it?
>
> The world already has so many different benchmarking suites.  Do we
> really need another one?  I would suggest SPEC as a good linux
> benchmarking suite, and EEMBC (i.e. coremark) if you want something
> smaller.
>
Thank you so much for these references.
Sorry, I did not knew that there are so many already available.
I checked this one: stress-ng:
https://www.cyberciti.biz/faq/stress-test-linux-unix-server-with-stress-ng/

I think this will be helpful for us.
I am trying to see if I can build this for riscv64-unknown-linux-gnu
and run on QEMU.



> Jim

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

      reply	other threads:[~2018-12-17 12:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-14 14:20 riscv-tests-benchmarks tools not working on qemu linux Pintu Agarwal
2018-12-14 17:27 ` [sw-dev] " Jim Wilson
2018-12-17 12:41   ` Pintu Agarwal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOuPNLiH71LA+3B8RuPZN7enqs2o1t50if6__63qmTjGcnzM9g@mail.gmail.com \
    --to=pintu.ping@gmail.com \
    --cc=gurucharankaurs@gmail.com \
    --cc=isa-dev@groups.riscv.org \
    --cc=jimw@sifive.com \
    --cc=linux-riscv@lists.infradead.org \
    --cc=sw-dev@groups.riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).