ToSWF: Convertor from a dataset to Standart Workload Format

View source: R/SWF.R

ToSWFR Documentation

Convertor from a dataset to Standart Workload Format

Description

This is a convertor from a correctly built dataset to a Standart Workload Format used to share the logfiles of High Performance Clusters

Usage

ToSWF(T, S, N, D, filename = "output.swf")

Arguments

T

Interarrival times of tasks (a vector)

S

Service times of tasks (a vector)

N

Number of cores each task needs (a vector)

D

The delays of tasks in a queue (a vector)

filename

The file to store the converted workload (output.swf by default)

Details

The Standart Workload Format is a single format to store and exchange high performance cluster logs, that is used in Parallel Workload Archive. See references for current standard. The SWF format may contain additional data, but in this package only the 1st to 5th fields are used. One may also need to manually fill in the header of the file in order to completely prepare the resulting SWF file.

Value

Nothing is returned, but a file is created in the current working directory (with default name output.swf) containing the converted data.

References

Feitelson, D.G. and Tsafrir, D. and Krakov D. 2012 Experience with the Parallel Workloads Archive. Technical Report 2012-6, School of Computer Science and Engineering, the Hebrew University April, 2012, Jerusalem, Israel

https://www.cs.huji.ac.il/labs/parallel/workload/swf.html

Examples

## Not run: 
data(HPC_KRC)
ToSWF(HPC_KRC$interarrival, HPC_KRC$service, HPC_KRC$cores_requested, HPC_KRC$delay)

## End(Not run)

hpcwld documentation built on March 19, 2024, 3:09 a.m.