|
IOR
|

Go to the source code of this file.
Data Structures | |
| struct | results |
Functions | |
| void | PrintHeader (int argc, char **argv) |
| void | ShowTestStart (IOR_param_t *params) |
| void | ShowTestEnd (IOR_test_t *tptr) |
| void | ShowSetup (IOR_param_t *params) |
| void | PrintRepeatEnd () |
| void | PrintRepeatStart () |
| void | PrintShortSummary (IOR_test_t *test) |
| void | PrintLongSummaryAllTests (IOR_test_t *tests_head) |
| void | PrintLongSummaryHeader () |
| void | PrintLongSummaryOneTest (IOR_test_t *test) |
| void | GetTestFileName (char *, IOR_param_t *) |
| void | PrintRemoveTiming (double start, double finish, int rep) |
| void | PrintReducedResult (IOR_test_t *test, int access, double bw, double iops, double latency, double *diff_subset, double totalTime, int rep) |
| void | PrintTestEnds () |
| void | PrintTableHeader () |
| IOR_offset_t * | GetOffsetArrayRandom (IOR_param_t *test, int pretendRank, IOR_offset_t *out_count) |
| IOR_offset_t* GetOffsetArrayRandom | ( | IOR_param_t * | test, |
| int | pretendRank, | ||
| IOR_offset_t * | out_count | ||
| ) |
Returns a precomputed array of IOR_offset_t for the inner benchmark loop. They get created sequentially and mixed up in the end. It should be noted that as the seeds get synchronised across all processes if not FilePerProcess is set every process computes the same random order. For a shared file all transfers get randomly assigned to ranks. The processes can also have differen't numbers of transfers. This might lead to a bigger diversion in accesse as it dose with filePerProc. This is expected but should be mined.
| test | IOR_param_t for getting transferSize, blocksize and SegmentCount |
| pretendRank | int pretended Rank for shifting the offsets correctly |
Definition at line 1574 of file ior.c.
References IOR_param_t::blockSize, IOR_param_t::filePerProc, MPI_CHECK, NULL, IOR_param_t::numTasks, IOR_param_t::randomSeed, rank, safeMalloc(), IOR_param_t::testComm, and IOR_param_t::transferSize.
Referenced by WriteOrRead().


| void GetTestFileName | ( | char * | , |
| IOR_param_t * | |||
| ) |
Definition at line 636 of file ior.c.
References IOR_param_t::dualMount, ERR, IOR_param_t::filePerProc, GetProcessorAndCore(), MAX_PATHLEN, MAX_STR, IOR_param_t::numTasks, ParseFileName(), PrependDir(), rank, rankOffset, IOR_param_t::repCounter, IOR_param_t::testFileName, TRUE, and IOR_param_t::uniqueDir.
Referenced by RemoveFile(), ShowTestStart(), and TestIoSys().


| void PrintHeader | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 274 of file ior-output.c.
References CurrentTimeString(), environ, NULL, out_logfile, out_resultfile, OUTPUT_CSV, OUTPUT_DEFAULT, outputFormat, PrintArrayNamedStart(), PrintKeyVal(), PrintKeyValEnd(), PrintKeyValStart(), PrintStartSection(), rank, verbose, VERBOSE_2, VERBOSE_3, and WARN.
Referenced by ior_main(), and ior_run().


| void PrintLongSummaryAllTests | ( | IOR_test_t * | tests_head | ) |
Definition at line 671 of file ior-output.c.
References IOR_test_t::next, NULL, out_resultfile, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, PrintArrayEnd(), PrintLongSummaryHeader(), PrintLongSummaryOneTest(), PrintNamedArrayStart(), rank, verbose, and VERBOSE_0.
Referenced by ior_main(), and ior_run().


| void PrintLongSummaryHeader | ( | ) |
Definition at line 652 of file ior-output.c.
References out_resultfile, OUTPUT_DEFAULT, outputFormat, rank, verbose, and VERBOSE_0.
Referenced by PrintLongSummaryAllTests(), and TestIoSys().

| void PrintLongSummaryOneTest | ( | IOR_test_t * | test | ) |
Definition at line 642 of file ior-output.c.
References IOR_param_t::checkRead, IOR_test_t::params, PrintLongSummaryOneOperation(), READ, IOR_param_t::readFile, WRITE, and IOR_param_t::writeFile.
Referenced by PrintLongSummaryAllTests(), and TestIoSys().


| void PrintReducedResult | ( | IOR_test_t * | test, |
| int | access, | ||
| double | bw, | ||
| double | iops, | ||
| double | latency, | ||
| double * | diff_subset, | ||
| double | totalTime, | ||
| int | rep | ||
| ) |
Definition at line 229 of file ior-output.c.
References IOR_param_t::blockSize, KIBIBYTE, MEBIBYTE, IOR_param_t::numTasks, out_resultfile, OUTPUT_CSV, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, IOR_test_t::params, PPDouble(), PrintEndSection(), PrintKeyVal(), PrintKeyValDouble(), PrintKeyValInt(), PrintStartSection(), IOR_param_t::transferSize, and WRITE.
Referenced by ReduceIterResults().


| void PrintRemoveTiming | ( | double | start, |
| double | finish, | ||
| int | rep | ||
| ) |
Definition at line 742 of file ior-output.c.
References out_resultfile, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, PPDouble(), PrintEndSection(), PrintKeyVal(), PrintKeyValDouble(), PrintStartSection(), rank, verbose, and VERBOSE_0.
Referenced by TestIoSys().


| void PrintRepeatEnd | ( | ) |
Definition at line 201 of file ior-output.c.
References PrintArrayEnd(), and rank.
Referenced by TestIoSys().


| void PrintRepeatStart | ( | ) |
Definition at line 207 of file ior-output.c.
References OUTPUT_DEFAULT, outputFormat, PrintArrayStart(), and rank.

| void PrintShortSummary | ( | IOR_test_t * | test | ) |
Definition at line 695 of file ior-output.c.
References MEBIBYTE, MEGABYTE, out_resultfile, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, IOR_test_t::params, PrintArrayEnd(), PrintEndSection(), PrintKeyValDouble(), PrintNamedSectionStart(), rank, IOR_results_t::read, IOR_param_t::readFile, IOR_param_t::repetitions, IOR_test_t::results, IOR_point_t::time, verbose, VERBOSE_0, IOR_results_t::write, and IOR_param_t::writeFile.
Referenced by TestIoSys().


| void PrintTableHeader | ( | ) |
Definition at line 18 of file ior-output.c.
References out_resultfile, OUTPUT_CSV, OUTPUT_DEFAULT, and outputFormat.
Referenced by TestIoSys().

| void PrintTestEnds | ( | ) |
Definition at line 216 of file ior-output.c.
References CurrentTimeString(), OUTPUT_CSV, outputFormat, PrintEndSection(), PrintKeyVal(), rank, verbose, and VERBOSE_0.
Referenced by ior_main(), and ior_run().


| void ShowSetup | ( | IOR_param_t * | params | ) |
Definition at line 415 of file ior-output.c.
References IOR_param_t::api, IOR_param_t::apiVersion, BASE_TWO, IOR_param_t::blockSize, IOR_param_t::collective, IOR_param_t::deadlineForStonewalling, IOR_param_t::debug, IOR_param_t::dryRun, IOR_param_t::expectedAggFileSize, FALSE, IOR_param_t::filePerProc, IOR_param_t::gpuDirect, IOR_param_t::gpuMemoryFlags, HumanReadable(), IOR_MEMORY_TYPE_CPU, IOR_MEMORY_TYPE_GPU_DEVICE_ONLY, IOR_MEMORY_TYPE_GPU_MANAGED_CHECK_GPU, IOR_param_t::memoryPerNode, IOR_param_t::memoryPerTask, IOR_param_t::numNodes, IOR_param_t::numTasks, IOR_param_t::numTasksOnNode0, out_logfile, out_resultfile, OUTPUT_CSV, outputFormat, PrintEndSection(), PrintKeyVal(), PrintKeyValInt(), PrintNamedArrayStart(), PrintNamedSectionStart(), IOR_param_t::randomOffset, IOR_param_t::reorderTasks, IOR_param_t::reorderTasksRandom, IOR_param_t::reorderTasksRandomSeed, IOR_param_t::repetitions, IOR_param_t::segmentCount, IOR_param_t::stoneWallingWearOut, IOR_param_t::taskPerNodeOffset, IOR_param_t::testFileName, IOR_param_t::transferSize, TRUE, and IOR_param_t::verbose.
Referenced by TestIoSys().


| void ShowTestEnd | ( | IOR_test_t * | tptr | ) |
Definition at line 399 of file ior-output.c.
References out_logfile, IOR_point_t::pairs_accessed, IOR_test_t::params, PrintEndSection(), rank, IOR_test_t::results, IOR_param_t::stoneWallingStatusFile, IOR_param_t::stoneWallingWearOut, StoreStoneWallingIterations(), and IOR_results_t::write.
Referenced by ior_main(), and ior_run().


| void ShowTestStart | ( | IOR_param_t * | params | ) |
Definition at line 328 of file ior-output.c.
References IOR_param_t::api, IOR_param_t::backend, IOR_param_t::backend_options, IOR_param_t::blockSize, IOR_param_t::checkRead, IOR_param_t::checkWrite, IOR_param_t::collective, CurrentTimeString(), IOR_param_t::dataPacketType, IOR_param_t::deadlineForStonewalling, IOR_param_t::dryRun, IOR_param_t::filePerProc, IOR_param_t::fsync, IOR_param_t::fsyncPerWrite, GetTestFileName(), IOR_param_t::id, IOR_param_t::interTestDelay, IOR_param_t::keepFile, IOR_param_t::keepFileWithError, MAX_PATHLEN, IOR_param_t::maxTimeDuration, IOR_param_t::memoryPerNode, IOR_param_t::memoryPerTask, IOR_param_t::multiFile, IOR_param_t::numNodes, IOR_param_t::numTasksOnNode0, IOR_param_t::options, out_resultfile, IOR_param_t::outlierThreshold, OUTPUT_CSV, OUTPUT_JSON, outputFormat, IOR_param_t::platform, PrintEndSection(), PrintKeyVal(), PrintKeyValInt(), PrintNamedSectionStart(), PrintStartSection(), IOR_param_t::randomOffset, IOR_param_t::readFile, IOR_param_t::referenceNumber, IOR_param_t::reorderTasks, IOR_param_t::reorderTasksRandom, IOR_param_t::reorderTasksRandomSeed, IOR_param_t::repetitions, IOR_param_t::segmentCount, IOR_param_t::setTimeStampSignature, ShowFileSystemSize(), IOR_param_t::singleXferAttempt, IOR_param_t::stoneWallingWearOut, IOR_param_t::testFileName, IOR_param_t::transferSize, IOR_param_t::uniqueDir, IOR_param_t::useExistingTestFile, verbose, VERBOSE_3, IOR_param_t::warningAsErrors, and IOR_param_t::writeFile.
Referenced by test_initialize().


1.8.13