Julian Kunkel
47695aea49
Merge pull request #180 from jschwartz-cray/fix-179
...
Fix #179 .
2019-08-31 10:32:41 +01:00
Josh Schwartz
4c3d96bfed
Fix #179 .
...
-u (uniqueDir) will once again use the full file path specified by the
client instead of truncating it. This was caused by a broken sprintf
which was trying to read/write overlapping buffers.
From the glibc sprintf() documentation:
"The behavior of this function is undefined if copying takes place
between objects that overlap"
2019-08-30 15:31:23 -06:00
Josh Schwartz
0bd979637e
Added some extra debug including ERRF, WARNF, and MPI_CHECKF format string macros.
2019-08-30 15:11:25 -06:00
Julian M. Kunkel
6c0fadc2a9
Include performance when stonewall is hit to output.
2019-08-01 17:20:01 +01:00
John Bent
3890b71b54
Fixed issues and followed suggestions from Glenn's review of the PR
2019-08-01 09:42:03 +09:00
John Bent
0ffec67d2b
Following Julian's suggestion about better naming
2019-07-28 10:25:42 -06:00
John Bent
629ff810b7
Got IOR shifting to work regardless of whether node/task mapping is round-robin or contiguous
2019-07-27 15:27:20 -06:00
Julian M. Kunkel
21405ed924
Updated MMap module to option parser.
2019-03-27 22:32:59 +00:00
Julian M. Kunkel
20e960d020
Support the setting of module-specific options per test.
2019-03-27 20:04:48 +00:00
Julian M. Kunkel
5a8071fbd8
GNU99 extracted _XOPEN_SOURCE to config.h.
2018-10-28 18:34:22 +00:00
Julian Kunkel
3a4f2ea33e
Merge pull request #101 from glennklockwood/issue93-squashed
...
compile correctly with -std=c99
2018-10-28 18:16:52 +00:00
Julian Kunkel
f7dc084f32
Merge pull request #103 from DDNStorage/ime_mkdir_rmdir
...
IME: add support of mkdir/rmdir into the IME backend
2018-10-16 14:34:26 +01:00
Julian M. Kunkel
3b5f4fc002
Bugfix JSON output for multiple processes
2018-10-11 18:59:12 +01:00
Sylvain Didelot
e6bd9ad3b3
common: call mkdir/access syscalls defined in backends
...
mkdir/access syscalls used in PrependDir() should call their equivalent
implemented by the backend.
2018-10-09 17:55:58 +02:00
Glenn K. Lockwood
87c5c9ef04
compile correctly with -std=c99
...
This patch enables correct compilation on both MacOS and Linux using only
POSIX.1-2008-compliant C with XSI extensions.
Specifically, POSIX.1-2008 is the minimum version because we use strdup(3);
explicit XSI is required to expose putenv from glibc.
2018-10-08 13:47:28 -07:00
Julian M. Kunkel
7045295a86
Replaced usleep to nanosleep.
2018-10-06 17:30:00 +01:00
Glenn K. Lockwood
a0ef65e61f
stop the segfault when an invalid api is specified in configfile
2018-10-05 23:29:21 -07:00
Julian M. Kunkel
1f1e56c363
Usleep feature added according to Nathan's suggestions.
2018-09-30 10:01:21 +01:00
Jean-Yves VET
7a7655e959
Fix erroneous write bandwidth with stonewalling
...
Context: write and read results from the same iteration
use the same length value in Bytes. When stonewalling is
used the size variates depending on the performance of
the access. This leads to wrong max bandwidths reported
for writes as shown in the following example:
write 10052 ...
read 9910 ...
write 10022 ...
read 9880 ...
write 10052 ...
read 9894 ...
Max Write: 9371.43 MiB/sec (9826.66 MB/sec)
Max Read: 9910.48 MiB/sec (10391.89 MB/sec)
This patch makes IOR separate variables used for read
and write tests.
2018-09-21 11:43:33 +02:00
Jean-Yves VET
8c727fa99c
Simplify and factorize a few functions
...
This patch factorizes some duplicated code. It also
simplifies the way times are stored to prepare next
patch.
2018-09-21 11:38:44 +02:00
Jean-Yves VET
2bcaea564e
Initialize only the required backends
...
Context: IOR initializes all available backends. If one
backend fails to initialize IOR cannot be used.
This patch makes IOR initialize only the backends
which will be used. The initialization is done after
that the parameters are checked so that the help message
can still be dispayed is something goes wrong.
2018-09-18 19:24:29 +02:00
Julian M. Kunkel
c1f3f485ec
Bugfix #79
2018-08-29 21:07:34 +01:00
Shane Snyder
fefefa002d
make sure to allow fsyncs in RADOS
2018-08-14 17:08:04 -05:00
Jean-Yves VET
df34f024ba
Fix warnings reported at compilation time
...
This patch fixes most of the warnings caused
by unused variables and assignments from incompatible
type.
2018-08-09 13:04:52 +02:00
Julian M. Kunkel
f55761d5d2
Refactored results structure to AoS; allowed to keep results per repeat.
2018-07-15 19:38:17 +01:00
Julian M. Kunkel
c0657866fd
Minor fixes for stonewalling options.
2018-07-14 12:22:36 +01:00
Julian M. Kunkel
ac7600d662
Unit-test with automake for library version. Minor fix for library version.
2018-07-14 10:27:31 +01:00
Julian M. Kunkel
5ef95675bf
AIORI initialize() and finalize() functions.
2018-07-14 09:29:08 +01:00
Julian M. Kunkel
54e47cf729
IOR: use new option parser.
...
TODO: Parse "-O" options
2018-07-14 08:41:35 +01:00
Julian M. Kunkel
205b20f0f4
Bugfix merge
2018-07-12 16:13:40 +01:00
Julian Kunkel
060c47e80a
Merge branch 'testing' into rados-hacks
2018-07-12 15:53:04 +01:00
Julian M. Kunkel
2bc30410cc
JSON output works.
2018-07-08 16:47:23 +01:00
Julian M. Kunkel
20ebeb71b8
Further adaptions to generic output, support of JSON output (partially complete).
2018-07-08 14:59:54 +01:00
Julian M. Kunkel
8525f9734c
Extraction of output completed.
2018-07-08 13:50:20 +01:00
Julian M. Kunkel
02883d4a63
Moved most output to ior-output.c
2018-07-08 13:38:05 +01:00
Julian M. Kunkel
0f7a1f14b9
Support IO redirect from main()
2018-07-08 13:12:18 +01:00
Shane Snyder
0052bff3e9
use backend->access in IOR source
...
Signed-off-by: Julian M. Kunkel <juliankunkel@googlemail.com>
2018-07-08 12:13:38 +01:00
Enno Zickler
9e97a16fe4
fix output to be allinge with column headers
...
Signed-off-by: Julian M. Kunkel <juliankunkel@googlemail.com>
2018-07-08 11:54:49 +01:00
Julian M. Kunkel
d938f0efe1
MPIIO support fsync.
2018-07-08 00:16:30 +01:00
Julian M. Kunkel
ed5787811c
Extracted max pathlen variable.
2018-07-07 22:39:14 +01:00
Julian M. Kunkel
48c17b4d81
Extracted (nearly identical) function DelaySeconds.
2018-07-07 22:26:57 +01:00
Julian M. Kunkel
6f8d2e8845
Some simplification / unification between IOR and MDTest.
...
MDTest needs more refactoring to be really maintainable.
2018-07-07 22:19:42 +01:00
Julian M. Kunkel
b4f356a7b2
Bugfix: StoneWallingStatusFile.
2018-07-07 14:14:55 +01:00
Julian M. Kunkel
812b798f05
IOR allows to store actual performaned stonewalling count into a status file.
2018-07-07 14:01:11 +01:00
Julian M. Kunkel
15c383b0d1
Extended description for #44
2018-07-07 12:20:29 +01:00
Julian M. Kunkel
e10bebe653
MDTest supports only POSIX at the moment. Added command line check.
2018-07-07 12:14:34 +01:00
Julian M. Kunkel
21b8cca8cf
IOR library version.
2018-07-07 11:42:21 +01:00
Julian M. Kunkel
a6bfa0f94b
MDTest library option.
...
Moved core functionality / variables used by both implementations to utilities
2018-07-07 10:42:48 +01:00
Li Dongyang
6ba22a19e4
Add mmap as a new AIORI backend
...
It shares the create/open/delete/set_version/get_file_size
functions with POSIX backend.
The mmap backend also supports fsync and fsyncPerWrite options,
and it will use msync() instead and fsync().
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
2018-05-11 12:13:42 +10:00
Shane Snyder
92dfb67e5c
allow fsync in POSIX, MPIIO, and HDFS
2018-04-27 12:44:20 -05:00