Statistics
| Branch: | Tag: | Revision:

root / xseg / peers / user / bench-timer.c @ 6652c5b8

History | View | Annotate | Download (5 kB)

# Date Author Comment
4cdf87f8 07/18/2013 01:02 pm Alex Pyrgiotis

bench: Track elapsed time for each timer

Also, create two functions timespecsub() and timespecadd() that can
subtract and add two timespec structs.

a57ab6e1 07/18/2013 01:02 pm Alex Pyrgiotis

bench: Improve benchmark results

Changes include:

  • Show the average request latency when run with insanity "eccentric"
  • Don't show bandwidth results for info/delete requests
911fec92 03/14/2013 06:29 pm Alex Pyrgiotis

Add a fallback clock for portability reasons

28a16745 03/12/2013 06:53 pm Alex Pyrgiotis

Refactor struct bench and appropriate code paths

Changes:

1. Move flag values (such as pattern, insanity, verify) in a specific
bit-field.
2. Create a struct req_status where the status of requests will be
stored.
3. Tidy up code.

Rationale:

1. For parameters that can have only a few different values, it's an...

a2176832 03/11/2013 11:52 am Alex Pyrgiotis

Tweak performance of bench

35afde18 03/11/2013 11:52 am Alex Pyrgiotis

Implement most semi-finished functionalities

Summary of new functionalities:

  • Add support for 4 different xseg operations (read, write, info,
    delete).
  • Add support for random I/O patterns with a fast Galois LFSR.
  • Add insanity levels in timers, which allow the user to exclude obscure...
21051060 03/11/2013 11:52 am Alex Pyrgiotis

Increment completed requests of insane timers

Even if a timer is not used for a benchmark, we need to increment its
completed requests since these are needed to calculate how many requests
are left etc.

955151e6 03/11/2013 11:52 am Alex Pyrgiotis

Design the program's skeleton for new features

Bench peer must be able to test all xseg operations in a synchronous or
asynchronous way. Also, it must have a validation mode to sanity-check
if xseg requests are issued properly. Most of the above are present in...