File: sprandom.fio

package info (click to toggle)
fio 3.41-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,012 kB
  • sloc: ansic: 82,290; python: 9,862; sh: 6,067; makefile: 813; yacc: 204; lex: 184
file content (41 lines) | stat: -rw-r--r-- 1,225 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
; (SPRandom) SanDisk Random preconditioning example
; Requirements
;  1. Single file
;  2. Single job (numjobs=1)
;  3. Assumes norandommap=1
;  4. Assumes random_generator=lfsr
;
; FIO_BS should be set to driver indirection unit (IU) size.
; IU is the smallest unit of data that can be mapped from a LBA
; on the host to a physical location on the SSD's flash memory.
;
; Basic execution example, run with io_uring
; env FIO_BS=4096 \
; fio --filename=/dev/nvme0n1 --ioengine=io_uring examples/sprandom.fio
;
; Enable debug output for the 'sprandom' module
; env FIO_BS=4096 \
; fio --debug=sprandom --filename=/dev/nvme0n1 examples/sprandom.fio
;
; Set over-provisioning according to vendor recommendation (21%)
; env FIO_BS=4096 \
; fio --spr_op=0.21 --filename=/dev/nvme0n1 examples/sprandom.fio
;
; For large devices it is better to use more regions, to increase precision
; and reduce memory allocation. The allocation is proportional to the region size.
; env FIO_BS=4096 \
; fio --spr_num_regions=400 --filename=/dev/nvme0n1 examples/sprandom.fio
;
[global]
ioengine=libaio
rw=randwrite
bs=${FIO_BS}
blockalign=${FIO_BS}
direct=1
norandommap=1
iodepth=64
[preconditioning]
sprandom=1
spr_op=0.15
spr_num_regions=100