speedtest,https://github.com/librespeed/speedtest

安装web,php,git程序,克隆speedtest代码,启动服务进行基础测试

yum -y install httpd php git 


git clone https://github.com/adolfintel/speedtest.git
cd speedtest/
cp -R backend/ example-singleServer-pretty.html *.js /var/www/html/
cd /var/www/html/
mv example-singleServer-pretty.html index.html
#更改当前的目录所属主    
chown -R apache *    
systemctl start httpd
#访问主机ip就可以测速了
http:/hostip        

vi telemetry_settings.php 

$stats_password="admin"; //password to login to stats.php. Change this!!!
$enable_id_obfuscation=true; //if set to true, test IDs will be obfuscated to prevent users from guessing URLs of other tests
// Mysql settings
$MySql_username="root";
$MySql_password="12456";
$MySql_hostname="localhost";
$MySql_databasename="speedtest";
++++++++++++++++++++++++++++++++++++++++++++


mysql -uroot -p speedtest < telemetry_mysql.sql

cd /var/www/html/
cp ~/speedtest/example-singleServer-full.html index.html

所谓jitter就是一种抖动。具体如何解释呢?其定义延迟从来源地址将要发送到目标地址,会发生不一样的延迟,这样的延迟变动是jitter让我们来看一个例子。假如你有个女友,你希望她每天晚上下班之后7点来找你, 
而有的时候她6:30到,有的时候是7:23,有的时候也许是下一天。这种时间上的不稳定就是jitter。如果你多观察这种时间上的不规律性,你会对jitter有更深一些的理解。在你观察的这段期间内,女友最早和最晚到来的时间被称为“jitter全振幅”(peak to peak jitter amplitude)。“jitter半振幅”(jitter-amplitude)就是你女友实际来的时间和7点之间的差值。女友来的时间有早有晚,jitter半振幅也有正有负。通过计算,你可以找出jitter半振幅的平均值,如果你能够计算出你女友最有可能在哪个时间来,你就可以发现女友来的时间是完全无规律的(随机jitter random jitter)还是和某些特定事情有关系(关联jitter correlated jitter)。所谓关联jitter就是比如你知道你的女友周四要晚来,因为她要去看她的妈妈。如果你能彻底明白这点,你就已经是一个correlated jitter的专家了。

 

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐