-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:bakerstu/openmrn into bracz-direc…
…t-hub-router # By Balazs Racz (26) and others * 'master' of github.com:bakerstu/openmrn: (28 commits) Fix build of esp8266 train implementation. Removes unnecessary includes that might not exist on an embedded compiler. Fix compilation of TempFile under esp8266. Add libatomic to esp8266 nonos target. Fix compile errors in time_client app. Fixes in file memory space: (#786) Change startup state to stopped. (#784) Fixes write code for spiflash. (#782) Handles bus passive in TivaCan. (#781) Update libify to support IDF export with symlinks (#770) Fix esp32 select race conditions. (#780) Latency test with maximum stats and custom process evaluation (#773) Fix compiler warnings in openmrn when using new GCC's. (#772) Upintegrate changes from the OpenMRNIDF repository (#771) Adds support for DCC extended accessories (#769) Fix incorrect consumer identified message being emitted by dcc accy producer. (#768) Avoids rendering hidden segments. (#767) Adds trailing zero to the cdi XML file written to the filesystem. (#777) Fix target subdirectory name (#775) Fixes file comment. ... # Conflicts: # src/utils/constants.cxx # src/utils/sources
- Loading branch information
Showing
94 changed files
with
3,635 additions
and
1,210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SUBDIRS = targets | ||
-include config.mk | ||
include $(OPENMRNPATH)/etc/recurse.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Hub throughput testing application {#hub_test_application} | ||
================================== | ||
|
||
[TOC] | ||
|
||
# Goal | ||
|
||
The purpose of Hub testing is to verify an OpenLCB link or bus for qualitative | ||
and quantitative performance characteristics. These are as follows. | ||
|
||
Qualitative: | ||
- The link has to be lossless. | ||
- There is only limited reordering allowed within the link. | ||
- There has to be proper throttling for ingress of packets to the link. | ||
|
||
Quantitative: | ||
- What is the maximum throughut of packets that can be accepted on the link. | ||
- What is the round-trip-time of the link. | ||
- What is the jitter on the timing of the packet round-trips. | ||
|
||
For hubs, a relevant question is also how do these metrics change as the number | ||
of clients on the hub are increased. | ||
|
||
## Testing methodology | ||
|
||
The application contains a load generator, and a receiver. For a given test, | ||
one generator and one or more receivers have to be attached to the same bus. | ||
|
||
The generator supplies a given load to the bus. This load may be a fixes | ||
traffic, or the maximum traffic that the bus is willing to accept. | ||
|
||
The receiver watches for the traffic coming from the generator, verifies the | ||
qualitative attributes, and measures the quantitative attributes. Statistics | ||
about this are printed to the screen. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../default_config.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SUBDIRS = \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SUBDIRS = \ | ||
linux.x86 \ | ||
|
||
include $(OPENMRNPATH)/etc/recurse.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hub_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-include ../../config.mk | ||
include $(OPENMRNPATH)/etc/prog.mk |
Oops, something went wrong.