diff options
author | Kay Sievers <kay@vrfy.org> | 2013-06-04 20:55:00 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-06-04 21:00:30 +0200 |
commit | 311754514cd24210f9c72e0af5173d7895690e5f (patch) | |
tree | 0b7bdd8160a0ced9c94b1e2a503e9bcf7346f324 /Makefile.am | |
parent | 3a256a12ad2f5b635d852d2b7068b1de30f8cf59 (diff) |
bus-benchmark: add performance data output mode
- for now, comment out munmap() check to enable memfd passing
- print tab-separated values and header
- add memcpy() to fill the memfd, to produce real-world results
$ ./test-bus-kernel-benchmark
SIZE COPY MEMFD
4194304 370 370
2097152 810 810
1048576 2130 2130
524288 4090 4090
262144 7080 7080
131072 11380 11380
65536 17140 17140
98304 13930 13930
114688 12890 12890
122880 12350 12350
126976 12150 12150
129024 12170 12170
130048 12040 12040
130560 12080 12080
130816 12010 12010
130944 12020 12020
131008 12040 12040
131040 12050 12050
131056 12010 12010
131064 12060 12060
131068 12040 12040
131070 11310 11310
131069 11420 11420
Copying/memfd are equally fast at 131068 bytes
$ ./test-bus-kernel-benchmark chart
SIZE COPY MEMFD
1 35570 23690
2 36470 23680
4 36160 23520
8 36600 22220
16 33900 20830
32 33990 21360
64 33480 21280
128 34050 20910
256 32950 21750
512 34730 21900
1024 33810 22890
2048 36280 23110
4096 30790 21610
8192 29380 21100
16384 26880 19820
32768 22510 17980
65536 17270 15180
131072 11400 11420
262144 7140 8270
524288 4090 5050
1048576 2110 2780
2097152 800 1140
4194304 350 580
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions