it doesn't make much sense but bcs I have now several jit compilers - why not compare how much size have jitted code for different processors?
I chose 3 ebpf programs
- simple BPF_PROG_TYPE_CGROUP_SKB with only comparison, 8 opcodes
- BPF_PROG_TYPE_RAW_TRACEPOINT with 3 maps, 68 opcodes
- enough complex BPF_PROG_TYPE_RAW_TRACEPOINT with 6 maps, 1824 opcodes
results
| processor | 1st | 2nd | 3rd |
|---|---|---|---|
| x64 | 54 | 312 | 8195 |
| arm64 | 99 | 567 | 12959 |
| powerpc | 78 | 546 | 11462 |
| risc-v | 102 | 470 | 9494 |
| s390 | 78 | 534 | 12622 |
| sparc | 79 | 482 | 10446 |
Комментариев нет:
Отправить комментарий