summary refs log tree commit diff stats
path: root/results/classifier/118/performance/1718
blob: 3e3ec901f58a72dcc5b8bccb7e618392367a0f6e (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
performance: 0.952
virtual: 0.940
device: 0.899
graphic: 0.860
semantic: 0.740
i386: 0.712
ppc: 0.691
hypervisor: 0.688
VMM: 0.654
user-level: 0.652
mistranslation: 0.611
architecture: 0.610
boot: 0.609
vnc: 0.577
permissions: 0.577
risc-v: 0.568
peripherals: 0.561
PID: 0.557
network: 0.556
kernel: 0.550
KVM: 0.508
register: 0.491
files: 0.476
debug: 0.476
x86: 0.435
TCG: 0.418
socket: 0.410
arm: 0.404
assembly: 0.362

Strange throttle-group test results
Description of problem:
I have a question about throttle-group test results.

I did a test to limit IO by applying THROTTLE-GROUP and the expected result is not what I expected

The setup environment looks like this throttle-group to x-iops-total=500, x-bps-total=524288000 and throttling vdb, benchmarked with fio command

```
# mount -t xfs /dev/vdb1 /mnt/disk

# fio --direct=1 --bs=1M --iodepth=128 --rw=read --size=1G --numjobs=1 --runtime=600 --time_based --name=/mnt/disk/fio-file --ioengine=libaio --output=/mnt/disk/read-1M
```

When I test with a --bs value of 1M, I get 500Mib throughput.
![iops_500-1M](/uploads/f63ecbfdb13adc87bd4524f5298a224c/iops_500-1M.png)


When I test with a --bs value of 2m, I don't get 500Mibs but 332Mibs throughput.
```
fio --direct=1 --bs=2M --iodepth=128 --rw=read --size=1G --numjobs=1 --runtime=600 --time_based --name=/mnt/disk/fio-file --ioengine=libaio --output=/mnt/disk/read-2M
```
![iops_500-2M](/uploads/0a384fd9f026943e5e40af1c4b5d6dcd/iops_500-2M.png)


If I set the qemu x-iops-total value to 1500 and the fio --bs value to 2M test again, I get 500Mib throughput.

![iops_1500-2M](/uploads/f31eb8213d034d612e915e355b52a324/iops_1500-2M.png)


To summarize, here is the Test result.

| fio bs | qemu x-iops-total | qemu x-bps-total | Result iops |Result throughput
| ------ | ------ |------ |------ |------ |
| 2M     | 1500   | 524288000 | 250 |  500 |
| **2M** |**500** | **524288000** | **166** |  **332** |
| 1M     | 1500   | 524288000 | 500 |  500 |
| 1M     |  500.  | 524288000 | 500 |  500 |


When the --bs value is 2M and the x-iops-total value is 500, the throughput should be 500, but it is not, so I don't know what the problem is.

If there is anything I missed, please let me know.
Steps to reproduce:
1. Apply throttle-group to vdb and start the VM
2. mount vdb1
3. test fio