Statistics
| Branch: | Tag: | Revision:

root / xseg / peers / user / bench-xseg.h @ 911fec92

History | View | Annotate | Download (6 kB)

# Date Author Comment
911fec92 03/14/2013 06:29 pm Alex Pyrgiotis

Add a fallback clock for portability reasons

ce8bfb92 03/13/2013 06:00 pm Alex Pyrgiotis

Add option for read/write ops to hit unique objs

Read/write ops can now use the -to option, instead of the -ts option, to
make each read/write request touch a different object.

b28fa3e7 03/12/2013 06:53 pm Alex Pyrgiotis

Improve LFSR implementation

Also, prepare the code for the addition of verification support

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...

17a413b7 03/12/2013 06:53 pm Alex Pyrgiotis

Add partial support for verification

Adds an option to choose between verification modes:

1. meta: On this mode, we write our signature both at the start and the
end of the chunk size. It should be very fast and moderately safe,
due to the fact that corruptions happen it the chunk's edges....

29a2d904 03/11/2013 11:52 am Alex Pyrgiotis

Add support for seed values given by the user

A new option has been added (--seed) which allows the user to pre-define
the seed that he/she wants. This has the following effects:

  • The target names are prefixed with the first 9 digits of the seed.
  • LFSR produces a predictable sequence of "random" numbers
d38b3cda 03/11/2013 11:52 am Alex Pyrgiotis

Print more useful results

58b941b9 03/11/2013 11:52 am Alex Pyrgiotis

Fix LFSR behavior

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...
b39f8ff2 03/11/2013 11:52 am Alex Pyrgiotis

Fix flag handling of struct bench

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...

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

Add utility functions to header file

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

Add an LFSR PRNG for bench

The PRNG introduced by this commit is a Galois-XNOR LFSR, which can
generate unique pseudorandom numbers. Also, seeded with the same
seed, it will produce the same sequence.

This implementation is driven by the needs of XSEG for a blazing fast...

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

Alpha release of bench peer

On this release, the bench peer can measure the total elapsed time
of the benchmark. TODO:

  • Allow bench peer to be multi-threaded.
  • Adjust benchmarking precision, by eliminating or including more
    trivial timers.
  • Measure mean time, standard deviation of requests.
4b114b66 03/11/2013 11:52 am Alex Pyrgiotis

Initial support for xseg ops

0ef9c7ee 03/11/2013 11:52 am Alex Pyrgiotis

Fix segfault, parameters validation

48a66f3b 03/11/2013 11:51 am Alex Pyrgiotis

Fix timers and add them to critical paths

Fixed incorrect handling of elapsed time and used appropriate timers to
benchmark crtical paths.

15a2f01d 03/11/2013 11:42 am Alex Pyrgiotis

Add timer implementation

This an initial timer implementation. It is not very polished at the
momment and some implementation choices will have to be reviewed later
on.