Convertor from a dataset to Standart Workload Format

Share:

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

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

Author(s)

Alexander Rumyantsev (Institute of Applied Mathematical Research, Karelian Research Centre, RAS)

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

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

See Also

FromSWF,DataToSWF

Examples

1
2
3
4
5
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.
data(HPC_KRC)
ToSWF(HPC_KRC$interarrival, HPC_KRC$service, HPC_KRC$cores_requested, HPC_KRC$delay)