aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-adin1110
diff options
context:
space:
mode:
authorRenĂ© van Dorst <[email protected]>2023-08-28 20:00:59 +0200
committerRenĂ© van Dorst <[email protected]>2023-08-28 20:11:56 +0200
commit1db00f54399307e4ec922965f5ca49547ccd14a3 (patch)
tree48a4433842d7b3094c4d5fce2400b2acb65dc70c /embassy-net-adin1110
parent7fc17bc15001449ea427cb0bff3557922ae595ae (diff)
embassy-net-adin1110: Add basic benchmark results.
Diffstat (limited to 'embassy-net-adin1110')
-rw-r--r--embassy-net-adin1110/README.md37
1 files changed, 35 insertions, 2 deletions
diff --git a/embassy-net-adin1110/README.md b/embassy-net-adin1110/README.md
index 3c2804183..8ea10b714 100644
--- a/embassy-net-adin1110/README.md
+++ b/embassy-net-adin1110/README.md
@@ -30,8 +30,8 @@ Currently only `Generic` SPI with or without CRC is supported.
30 30
31## Hardware 31## Hardware
32 32
33- Tested on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html) with an `STM32L4S5QII3P`, see [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) dor an example. 33- Tested on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html) with an `STM32L4S5QII3P`, see [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) for an example.
34- [`SparkFun MicroMod Single Pair Ethernet Function Board`](https://www.sparkfun.com/products/19038) or [`SparkFun MicroMod Single Pair Ethernet Kit`](https://www.sparkfun.com/products/19628), supporting multiple microcontrollers. **Make sure to check if it's a microcontroller that is supported by Embassy!** 34- [`SparkFun MicroMod Single Pair Ethernet Function Board`](https://www.sparkfun.com/products/19038) or [`SparkFun MicroMod Single Pair Ethernet Kit (End Of Life)`](https://www.sparkfun.com/products/19628), supporting multiple microcontrollers. **Make sure to check if it's a microcontroller that is supported by Embassy!**
35 35
36## Other SPE chips 36## Other SPE chips
37 37
@@ -44,6 +44,39 @@ ADIN1110 library can tested on the host with a mock SPI driver.
44 44
45$ `cargo test --target x86_64-unknown-linux-gnu` 45$ `cargo test --target x86_64-unknown-linux-gnu`
46 46
47## Benchmark
48
49- Benchmarked on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html), with [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) example.
50
51Basic `ping` benchmark
52```rust,ignore
53# ping <IP> -c 60
54
5560 packets transmitted, 60 received, 0% packet loss, time 59066ms
56rtt min/avg/max/mdev = 1.089/1.161/1.237/0.018 ms
57
58# ping <IP> -s 1472 -M do -c 60
59
6060 packets transmitted, 60 received, 0% packet loss, time 59066ms
61rtt min/avg/max/mdev = 5.122/5.162/6.177/0.133 ms
62```
63
64HTTP load generator benchmark with [`oha`](https://github.com/hatoo/oha)
65```rust,ignore
66# oha -c 1 http://<IP> -z 60s
67Summary:
68 Success rate: 50.00%
69 Total: 60.0005 secs
70 Slowest: 0.0055 secs
71 Fastest: 0.0033 secs
72 Average: 0.0034 secs
73 Requests/sec: 362.1971
74
75 Total data: 2.99 MiB
76 Size/request: 289 B
77 Size/sec: 51.11 KiB
78```
79
47## License 80## License
48 81
49This work is licensed under either of 82This work is licensed under either of