diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-02-12 12:34:41 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-02-12 14:08:33 -0500 |
commit | 5db0b3d474d142dd03bffaab90463dca9a3b5371 (patch) | |
tree | 10368c133d2047df179e98c5290acc241eb4f390 /docs/Benchmarks.md | |
parent | c5968a0830ef08c70e81860c4d5254bfddf2c455 (diff) | |
download | kutter-5db0b3d474d142dd03bffaab90463dca9a3b5371.tar.gz kutter-5db0b3d474d142dd03bffaab90463dca9a3b5371.tar.xz kutter-5db0b3d474d142dd03bffaab90463dca9a3b5371.zip |
docs: Update PRU command dispatch benchmark
The PRU command dispatch benchmark was primarily limited by the speed
of the console.py tool on the slow beaglebone processor. Add a note
on how to account for that and restate the PRU benchmark.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Benchmarks.md')
-rw-r--r-- | docs/Benchmarks.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md index d62a47f2..a29e1892 100644 --- a/docs/Benchmarks.md +++ b/docs/Benchmarks.md @@ -399,17 +399,20 @@ reported in the two "uptime" response messages. The total number of commands per second is then `100000 * mcu_frequency / clock_diff`. Note that this test may saturate the USB/CPU capacity of a Raspberry -Pi. The benchmarks below are with console.py running on a desktop -class machine with the device connected via a high-speed hub. +Pi. If running on a Raspberry Pi, Beaglebone, or similar host computer +then increase the delay (eg, `DELAY {clock + 20*freq} get_uptime`). +Where applicable, the benchmarks below are with console.py running on +a desktop class machine with the device connected via a high-speed +hub. | MCU | Rate | Build | Build compiler | | ------------------- | ---- | -------- | ------------------- | -| pru (shared memory) | 5K | b161a69e | pru-gcc (GCC) 8.0.0 20170530 (experimental) | | stm32f042 (CAN) | 18K | c105adc8 | arm-none-eabi-gcc (GNU Tools 7-2018-q3-update) 7.3.1 | | atmega2560 (serial) | 23K | b161a69e | avr-gcc (GCC) 4.8.1 | | sam3x8e (serial) | 23K | b161a69e | arm-none-eabi-gcc (Fedora 7.1.0-5.fc27) 7.1.0 | | at90usb1286 (USB) | 75K | 01d2183f | avr-gcc (GCC) 5.4.0 | | samd21 (USB) | 223K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | +| pru (shared memory) | 260K | c5968a08 | pru-gcc (GCC) 8.0.0 20170530 (experimental) | | stm32f103 (USB) | 355K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | sam3x8e (USB) | 418K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | lpc1768 (USB) | 534K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | |