| 1 | # Example libcufile job, using cufile I/O |
| 2 | # |
| 3 | # Required environment variables: |
| 4 | # GPU_DEV_IDS : refer to option 'gpu_dev_ids' |
| 5 | # FIO_DIR : 'directory'. This job uses cuda_io=cufile, so path(s) must |
| 6 | # point to GPUDirect Storage filesystem(s) |
| 7 | # |
| 8 | |
| 9 | [global] |
| 10 | ioengine=libcufile |
| 11 | directory=${FIO_DIR} |
| 12 | gpu_dev_ids=${GPU_DEV_IDS} |
| 13 | cuda_io=cufile |
| 14 | # 'direct' must be 1 when using cuda_io=cufile |
| 15 | direct=1 |
| 16 | # Performance is negatively affected if 'bs' is not a multiple of 4k. |
| 17 | # Refer to GDS cuFile documentation. |
| 18 | bs=1m |
| 19 | size=1m |
| 20 | numjobs=16 |
| 21 | # cudaMalloc fails if too many processes attach to the GPU, use threads. |
| 22 | thread |
| 23 | |
| 24 | [read] |
| 25 | rw=read |
| 26 | |
| 27 | [write] |
| 28 | rw=write |
| 29 | |
| 30 | [randread] |
| 31 | rw=randread |
| 32 | |
| 33 | [randwrite] |
| 34 | rw=randwrite |
| 35 | |
| 36 | [verify] |
| 37 | rw=write |
| 38 | verify=md5 |
| 39 | |
| 40 | [randverify] |
| 41 | rw=randwrite |
| 42 | verify=md5 |