| 1 | # Example libcufile job, using POSIX I/O |
| 2 | # |
| 3 | # Required environment variables: |
| 4 | # GPU_DEV_IDS : refer to option 'gpu_dev_ids' |
| 5 | # FIO_DIR : 'directory'. cuda_io=posix, so the path(s) may point |
| 6 | # to any POSIX filesystem(s) |
| 7 | # |
| 8 | |
| 9 | [global] |
| 10 | ioengine=libcufile |
| 11 | directory=${FIO_DIR} |
| 12 | gpu_dev_ids=${GPU_DEV_IDS} |
| 13 | cuda_io=posix |
| 14 | # 'direct' may be 1 or 0 when using cuda_io=posix |
| 15 | direct=0 |
| 16 | # there are no unusual requirements for 'bs' when cuda_io=posix |
| 17 | bs=1m |
| 18 | size=1G |
| 19 | numjobs=16 |
| 20 | # cudaMalloc fails if too many processes attach to the GPU, use threads |
| 21 | thread |
| 22 | |
| 23 | [read] |
| 24 | rw=read |
| 25 | |
| 26 | [write] |
| 27 | rw=write |
| 28 | |
| 29 | [randread] |
| 30 | rw=randread |
| 31 | |
| 32 | [randwrite] |
| 33 | rw=randwrite |
| 34 | |
| 35 | [verify] |
| 36 | rw=write |
| 37 | verify=md5 |
| 38 | |
| 39 | [randverify] |
| 40 | rw=randwrite |
| 41 | verify=md5 |