summaryrefslogtreecommitdiff
path: root/networkQuality.go
AgeCommit message (Collapse)Author
2024-01-29[Feature] Be more explicit about which part of the test was unstableWill Hawkins
When a test did not run to stability, tell the user which part of the test was unstable. Signed-off-by: Will Hawkins <[email protected]>
2024-01-29[Feature] Special RPM calculation semantics when test does not stabilizeWill Hawkins
When the test does not stabilize (responsiveness), using only the most recent MAD probes to calculate the provisional final RPM could leave us with a very small number of samples. So, instead, use all the probe measurements to do the calculation. Signed-off-by: Will Hawkins <[email protected]>
2024-01-27[Bugfix] Do not advance the interval when stableWill Hawkins
By advancing the stability algorithm's interval when the measurement is complete, we incorrectly expelled one of those intervals from the RPM calculation. As a result, the final RPM calculation did not include all the probe measurements that factored into stability calculation. Signed-off-by: Will Hawkins <[email protected]>
2024-01-26[Bugfix] Only probes collected during stable MAD countWill Hawkins
For calculating the final RPM, only those probes that are sent/received during the stable MAD should count. Signed-off-by: Will Hawkins <[email protected]>
2024-01-19[Bugfix] Continue Adding LGCs During Responsiveness StabilizationWill Hawkins
The client was not continuing to add load-generating connections at each stability-check interval (as called for by the spec). Also, the client now properly obeys the `--rpm.id` option given on the command line. Signed-off-by: Will Hawkins <[email protected]>
2024-01-07Relabel Working-Conditions EffectWill Hawkins
Change how the effect of the working conditions is calculated and presented to the user. Signed-off-by: Will Hawkins <[email protected]>
2024-01-04[Feature] Reformat test result output.Will Hawkins
2024-01-04[Feature] Support for testing upload/download in parallelWill Hawkins
Use the `--rpm.parallel` to test in parallel mode. The default testing mode is serial. Signed-off-by: Will Hawkins <[email protected]>
2023-12-11[Bugfix] Fix broken foreign probe data loggersWill Hawkins
Thanks to a few typos, foreign probes were not being properly logged when data loggers were in use.
2023-07-25[Feature] Add support for L4SWill Hawkins
Signed-off-by: Will Hawkins <[email protected]>
2023-07-20Removed loss printoutBjørn Ivar Teigen
2023-07-19[Feature] Add extended-stats for uploadsWill Hawkins
Now that tests are run in sequence, it seems like a good idea to support extended statistics in both directions. Fixes #58 h/t @moeller0 Signed-off-by: Will Hawkins <[email protected]>
2023-07-14[Feature] Relative RPMWill Hawkins
With this feature, the user can use `--relative-rpm` to gather additional data: a relative RPM. The relative RPM score 1. Calculates an RPM before working conditions are achieved. 2. Achieves working conditions (upload and download) 3. Calculates an RPM under working conditions (upload and download) 4. Calculates the percent difference between the RPM calculated in (1) and the RPMs calculated in (3). Signed-off-by: Will Hawkins <[email protected]>
2023-07-14Use the user-specified percentile for RPM calculationsWill Hawkins
Despite having parameterized the percentile for RPM calculations, I failed to actually use it when calculating the RPM. Oops. Signed-off-by: Will Hawkins <[email protected]>
2023-07-14[Bugfix] Properly handle errors from filling data seriesWill Hawkins
Checking a previously defined/set error value in most cases when filling in a data series. This patch properly redefines the error variable so that the appropriate check is made. Signed-off-by: Will Hawkins <[email protected]>
2023-07-14Parameterize Percentile in RPM CalculationsWill Hawkins
Make the percentile used by RPM calculations user-controlled. Note: A percentile-based calculation is not part of the spec. This is an optional feature. Signed-off-by: Will Hawkins <[email protected]>
2023-07-12[Bugfix] Duplicate bucket IDs caused incorrect resultsWill Hawkins
The upload direction reused bucket IDs used during the test in the download direction which caused an incorrect grand-total RPM calculation. To solve the problem, this patch adds a global bucket ID generator and passes that to everyone that needs it. TODO: Make the bucket generator type more generic. Signed-off-by: Will Hawkins <[email protected]>
2023-07-12Addressed pull request commentsBjørn Ivar Teigen
* Added units to printout * Made QualityRequirement and PercentileLatencyPair private *Removed the hist struct from the SimpleQualityAttenuation struct (it was only used for testing)
2023-07-10Added QoO and Cablelabs latency histogramBjørn Ivar Teigen
2023-07-10[Feature] Major update: Track measurements that may be delayedWill Hawkins
Among other major feature additions, this version of the client tracks any measurements that may be long delayed and considers their presence or absence as part of a stability measurement. This version of the client also more closely tracks the spec. In particular, it performs a sinle-sided trimmed mean rather than a double-sided trimmed mean. Signed-off-by: Will Hawkins <[email protected]>
2023-06-21Major Update/Refactor to Support IETF 02Will Hawkins
Beginning of a release candidate for support for IETF 02 tag of the responsiveness spec.
2023-06-06[Bugfix] Fix comment typoWill Hawkins
Thank you to @gregbo. Fixes #54.
2023-05-23Adressed pull request comments.Bjørn Ivar Teigen
Fixed silly error in calculating sample variance
2023-05-19Implemented basic Quality AttenuationBjørn Ivar Teigen
2023-04-22[Refactor] Move components into separate packagesWill Hawkins
A long-overdue change to split certain packages once smashed into the RPM package into their own package. The resulting code should make it easier for people to navigate the source code. In the process, fixed a bug where a self probe being started on a load-generating connection races with the establishment of the load-generating connection and causes a panic because the self probe is not establishing a connection on an already established connection.
2023-04-19[Bugfix] Wrong URL for upload load-generating connectionWill Hawkins
Well, that's embarrassing.
2023-04-19[Bugfix] Probers starting too soon caused panicWill Hawkins
In the case where the scheduler allowed a delay between go threads in a particular order, it was possible that a self prober would attempt to use a connection before an HTTP connection was established. Fixes #45. (at least I hope!)
2023-02-22new flag: --connect-toRandall Meyer
Allows user to override DNS for the initial config request. This is accomplished using a custom DialContext overring the hostname used to Dial to. This allows for TLS certificate validation to still happen(optionally) while connecting to TLS secured resources. Also, - allows for optional enforcement of certificate verification - stamp built git version into binary and adds a --version option - adds a user-agent to all outgoing request - exit(1) on failures for easier shell error detection
2023-02-20Emit Prometheus stats if requestedRandall Meyer
2023-02-20new flag: --urlRandall Meyer
This enables passing in a single URL for easier running eg networkQuality --url https://networkquality.example.com/path/to/config
2023-02-10[Cleanup] Output and commentsWill Hawkins
2023-01-27[FEATURE] Finalize implementation of rev3 of the draftWill Hawkins
2022-12-12[Feature] Add support for test_endpointWill Hawkins
When a test_endpoint is returned in the config for a test, all requests will be sent to that host but the :authority pseudo header (nee: Host: message header) will contain the host specified in the various `_url` fields of the config data.
2022-12-11[Feature] Granular ThroughputJeroen Schickendantz
Granular throughput logging Measures on both Up/Down connections Adds "[OMIT]" tag to csvlogger
2022-12-11[Feature] Rev 3 of Stability (Basic implementation)Will Hawkins
2022-10-14Relicense with GPLv2Will Hawkins
With this commit the project is being relicensed under GPLv2. All contributors to the code prior to this commit have given their explicit approval for the project to be relicensed (see https://github.com/network-quality/goresponsiveness/issues/41).
2022-09-30[Feature] Extend Throughput LoggingJeroen Schickendantz
Extends throughput logging to continue even after saturation has been reached by the algorithm.
2022-08-17Update code format to meet 80-column requirement.Will Hawkins
2022-08-17[Feature] Add TCP information (RTT and Cwnd) to LoggingWill Hawkins
This patch adds support for logging the underlying RTT and Cwnd of the TCP connection used when doing probes. More work to follow in order to add support for this information on Windows and Darwin.
2022-08-17Remove the -strict optionWill Hawkins
We never really implemented it any way!
2022-07-29[Feature] Add support for logging throughput measurementsWill Hawkins
With this patch, data logging now supports reporting the moving average of upload/download throughput as saturation is pursued.
2022-07-16[Formatting] Cleanup long lines.Will Hawkins
2022-07-16[Feature] Support spec v2 (4/4); Add data loggingWill Hawkins
Besides work to complete the support for v2 of the RFC, this patch adds support for logging each of the probe results to a CSV file (--logger-filename).
2022-07-02[Feature] Support spec v2 3/nWill Hawkins
2022-07-01[Feature] Support spec v2Will Hawkins
This is a WIP for supporting v2 of the RPM spec.
2022-06-22[Cleanup] Make long lines shorter and fix static fmt warningsWill Hawkins
Besides running golines (for the first time in a while now that the tool supports generics), this commit removes punctuation and newlines from Errorf parameters -- something that gofmt does not like (I never knew!).
2022-06-17[Feature] Use the new GetTCPConnectionInfo API for extended stats on macOSWill Hawkins
Now that there is support for GetTCPConnectionInfo on macOS, we can re-enable extended stats on the macOS platform!
2022-06-13Merge branch 'main' into timeout-patchJJ
2022-06-13Add optional timeoutsJJ
2022-06-12[Bugfix] Dereference nil when type assertions failed in ↵Will Hawkins
IncorporateConnectionStats Errors as a result of failed type assertions in IncorporateConnectionStats were caught/logged but there was no function-termination control flow associated with these error conditions. As a result, control would continue and cause problems. This patch fixes that.