diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2018-10-25 18:51:11 -0700 |
---|---|---|
committer | guidosarducci <guidosarducci@users.noreply.github.com> | 2019-02-22 13:34:25 -0800 |
commit | 463590e2bcf94e09890f7ba98e910ff58090e29b (patch) | |
tree | 45efb088fbfb293076e0ec10d6022d8e81e01c1c /net/speedtest-netperf/Makefile | |
parent | 41a780ee0f3851b416b15da49672bb2d0000615d (diff) |
speedtest-netperf: new package to measure network performance
The speedtest-netperf.sh script measures the network throughput while
monitoring latency under load and capturing key CPU usage and frequency
statistics. The script can emulate a web-based speed test by downloading
and then uploading from an internet server, or perform simultaneous
download and upload to mimic the stress of the FLENT test program.
It simplifies tasks such as validating ISP provisioned speeds or setting
up and fine-tuning SQM, directly on the router. The CPU usage details
can also help determine if the demands of SQM, routing and other tasks
such as the test itself are exhausting the device's CPUs.
This script leverages earlier scripts from the CeroWrt project used for
bufferbloat mitigation, betterspeedtest.sh and netperfrunner.sh. They are
used with the permission of the author, Rich Brown.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'net/speedtest-netperf/Makefile')
-rw-r--r-- | net/speedtest-netperf/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net/speedtest-netperf/Makefile b/net/speedtest-netperf/Makefile new file mode 100644 index 000000000..cc3a5cc8a --- /dev/null +++ b/net/speedtest-netperf/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (c) 2018 Tony Ambardar +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=speedtest-netperf +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 +PKG_LICENSE:=GPL-2.0 +PKG_MAINTAINER:=Tony Ambardar <itugrok@yahoo.com> + +include $(INCLUDE_DIR)/package.mk + +define Package/speedtest-netperf + SECTION:=net + CATEGORY:=Network + TITLE:=Script to measure the performance of your network and router + DEPENDS:=+netperf + CONFLICTS:=speedtest + PKGARCH:=all +endef + +define Package/speedtest-netperf/description +Script to measure the performance of your network and router. + +Please see https://github.com/openwrt/packages/blob/master/net/speedtest-netperf/files/README.md for further information. +endef + +define Build/Prepare +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/speedtest-netperf/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) ./files/speedtest-netperf.sh $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,speedtest-netperf)) |