Home  >  Article  >  Backend Development  >  cpu性能测试

cpu性能测试

WBOY
WBOYOriginal
2016-06-06 20:50:151666browse

用cubieboard安装了一个debian,然后架设了一个wordpress站点,但打开速度相当的慢(在局域网,网速因素基本可以忽略),但使用公网的服务器(centos的)打开速度却相当快,怀疑是cpu的问题(cubieboard是arm平台的),但不知道如何测试,给个方案

回复内容:

用cubieboard安装了一个debian,然后架设了一个wordpress站点,但打开速度相当的慢(在局域网,网速因素基本可以忽略),但使用公网的服务器(centos的)打开速度却相当快,怀疑是cpu的问题(cubieboard是arm平台的),但不知道如何测试,给个方案

我在树莓上跑 php 跑得也挺好的 ...

如果实在慢装个 xhprof 一类的性能测试工具看到底是哪里慢了 ...

我在同样是全志A10芯片+1G RAM的mk802 II上面刷了Ubuntu跑php、tornado什么的,速度也没问题。不过用Class4 tf卡的时候有点慢,换成UHS-1的tf卡以后就很流畅了。

用unixbench测试一下,两台机器的电脑可以对比,Dhrystone 2 using register variables和Double-Precision Whetstone这两个测试项是计算相关,应该能反映CPU的性能。

<code class="lang-bash">wget http://hostbus.net/data/unixbench.sh;sh ./unixbench.sh;
</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn