IOR
Data Structures | Functions
ior-internal.h File Reference
This graph shows which files directly or indirectly include this file:

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 DisplayFreespace (IOR_param_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_tGetOffsetArraySequential (IOR_param_t *test, int pretendRank)
 
IOR_offset_tGetOffsetArrayRandom (IOR_param_t *test, int pretendRank, int access)
 

Function Documentation

◆ DisplayFreespace()

void DisplayFreespace ( IOR_param_t test)

Definition at line 747 of file ior-output.c.

References FALSE, GetTestFileName(), MAX_STR, ShowFileSystemSize(), and TRUE.

Referenced by ShowTestStart().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOffsetArrayRandom()

IOR_offset_t* GetOffsetArrayRandom ( IOR_param_t test,
int  pretendRank,
int  access 
)

Returns a precomputed array of IOR_offset_t for the inner benchmark loop. They get created sequentially and mixed up in the end. The last array element is set to -1 as end marker. It should be noted that as the seeds get synchronised across all processes every process computes the same random order if used with filePerProc. 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.

Parameters
testIOR_param_t for getting transferSize, blocksize and SegmentCount
pretendRankint pretended Rank for shifting the offsest corectly
Returns
IOR_offset_t

Definition at line 1787 of file ior.c.

References IOR_param_t::blockSize, ERR, FALSE, IOR_param_t::filePerProc, NULL, IOR_param_t::numTasks, IOR_param_t::randomSeed, READ, SeedRandGen(), IOR_param_t::segmentCount, IOR_param_t::testComm, IOR_param_t::transferSize, and WRITE.

Referenced by WriteOrRead().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOffsetArraySequential()

IOR_offset_t* GetOffsetArraySequential ( IOR_param_t test,
int  pretendRank 
)

Returns a precomputed array of IOR_offset_t for the inner benchmark loop. They are sequential and the last element is set to -1 as end marker.

Parameters
testIOR_param_t for getting transferSize, blocksize and SegmentCount
pretendRankint pretended Rank for shifting the offsest corectly
Returns
IOR_offset_t

Definition at line 1738 of file ior.c.

References IOR_param_t::blockSize, ERR, IOR_param_t::filePerProc, NULL, IOR_param_t::numTasks, IOR_param_t::segmentCount, and IOR_param_t::transferSize.

Referenced by WriteOrRead().

Here is the caller graph for this function:

◆ GetTestFileName()

void GetTestFileName ( char *  ,
IOR_param_t  
)

Definition at line 749 of file ior.c.

References ERR, IOR_param_t::filePerProc, 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 CompareBuffers(), DisplayFreespace(), RemoveFile(), and TestIoSys().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintHeader()

void PrintHeader ( int  argc,
char **  argv 
)

Definition at line 253 of file ior-output.c.

References CurrentTimeString(), environ, EWARN, NULL, out_logfile, out_resultfile, OUTPUT_DEFAULT, outputFormat, PrintArrayNamedStart(), PrintKeyVal(), PrintKeyValEnd(), PrintKeyValStart(), PrintStartSection(), rank, verbose, VERBOSE_1, VERBOSE_2, VERBOSE_3, and wall_clock_deviation.

Referenced by ior_main(), and ior_run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintLongSummaryAllTests()

void PrintLongSummaryAllTests ( IOR_test_t tests_head)

Definition at line 670 of file ior-output.c.

References IOR_test_t::next, NULL, out_resultfile, OUTPUT_CSV, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, PrintArrayEnd(), PrintLongSummaryHeader(), PrintLongSummaryOneTest(), PrintNamedArrayStart(), rank, verbose, and VERBOSE_0.

Referenced by ior_main(), and ior_run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintLongSummaryHeader()

void PrintLongSummaryHeader ( )

Definition at line 651 of file ior-output.c.

References out_resultfile, OUTPUT_DEFAULT, outputFormat, rank, verbose, and VERBOSE_0.

Referenced by PrintLongSummaryAllTests(), and TestIoSys().

Here is the caller graph for this function:

◆ PrintLongSummaryOneTest()

void PrintLongSummaryOneTest ( IOR_test_t test)

Definition at line 641 of file ior-output.c.

References IOR_test_t::params, PrintLongSummaryOneOperation(), READ, IOR_param_t::readFile, WRITE, and IOR_param_t::writeFile.

Referenced by PrintLongSummaryAllTests(), and TestIoSys().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintReducedResult()

void PrintReducedResult ( IOR_test_t test,
int  access,
double  bw,
double  iops,
double  latency,
double *  diff_subset,
double  totalTime,
int  rep 
)

Definition at line 222 of file ior-output.c.

References IOR_param_t::blockSize, KIBIBYTE, MEBIBYTE, out_resultfile, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, IOR_test_t::params, PPDouble(), PrintEndSection(), PrintKeyVal(), PrintKeyValDouble(), PrintStartSection(), IOR_param_t::transferSize, and WRITE.

Referenced by ReduceIterResults().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintRemoveTiming()

void PrintRemoveTiming ( double  start,
double  finish,
int  rep 
)

Definition at line 775 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintRepeatEnd()

void PrintRepeatEnd ( )

Definition at line 197 of file ior-output.c.

References PrintArrayEnd(), and rank.

Referenced by TestIoSys().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintRepeatStart()

void PrintRepeatStart ( )

Definition at line 203 of file ior-output.c.

References OUTPUT_DEFAULT, outputFormat, PrintArrayStart(), and rank.

Referenced by TestIoSys().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintShortSummary()

void PrintShortSummary ( IOR_test_t test)

◆ PrintTableHeader()

void PrintTableHeader ( )

Definition at line 18 of file ior-output.c.

References out_resultfile, OUTPUT_DEFAULT, and outputFormat.

Referenced by TestIoSys().

Here is the caller graph for this function:

◆ PrintTestEnds()

void PrintTestEnds ( )

Definition at line 212 of file ior-output.c.

References CurrentTimeString(), PrintEndSection(), PrintKeyVal(), rank, verbose, and VERBOSE_0.

Referenced by ior_main(), and ior_run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowSetup()

void ShowSetup ( IOR_param_t params)

◆ ShowTestEnd()

void ShowTestEnd ( IOR_test_t tptr)

Definition at line 397 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowTestStart()

void ShowTestStart ( IOR_param_t params)

Definition at line 320 of file ior-output.c.

References IOR_param_t::api, 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, DisplayFreespace(), IOR_param_t::dryRun, IOR_param_t::filePerProc, IOR_param_t::fsync, IOR_param_t::fsyncPerWrite, IOR_param_t::gpfs_hint_access, IOR_param_t::gpfs_release_token, IOR_param_t::hintsFileName, IOR_param_t::id, IOR_param_t::individualDataSets, IOR_param_t::interTestDelay, IOR_param_t::keepFile, IOR_param_t::keepFileWithError, 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_JSON, outputFormat, IOR_param_t::platform, IOR_param_t::preallocate, PrintEndSection(), PrintKeyVal(), PrintKeyValInt(), PrintNamedSectionStart(), PrintStartSection(), IOR_param_t::quitOnError, IOR_param_t::randomOffset, IOR_param_t::readFile, IOR_param_t::referenceNumber, Regex(), IOR_param_t::reorderTasks, IOR_param_t::reorderTasksRandom, IOR_param_t::reorderTasksRandomSeed, IOR_param_t::repetitions, IOR_param_t::segmentCount, IOR_param_t::setAlignment, IOR_param_t::setTimeStampSignature, IOR_param_t::showHints, IOR_param_t::singleXferAttempt, IOR_param_t::stoneWallingWearOut, IOR_param_t::storeFileOffset, IOR_param_t::testFileName, IOR_param_t::transferSize, IOR_param_t::uniqueDir, IOR_param_t::useExistingTestFile, IOR_param_t::useFileView, IOR_param_t::useSharedFilePointer, IOR_param_t::useStridedDatatype, verbose, VERBOSE_3, and IOR_param_t::writeFile.

Referenced by ior_main(), and ior_run().

Here is the call graph for this function:
Here is the caller graph for this function: