Unix Bench 是一个基于 Unix/Linux 系统的独立主机 (Dedicated Host) 和虚拟独立主机 (VPS) 的性能测试软件。目前此开源软件已经搬迁到了 Google Codes,具体介绍、源码下载和版本信息,可访问 Google Codes: byte-unixbench。下面是引用的简要英文说明:

UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.

The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system's performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.

  在 Web Hosting Talk 上,有一个有关 Unix Bench 历时五年的讨论,许多站长将他们的主机分值纷纷贴在上面,目前已长达100多页,有兴趣可以看看:VPS vs. Dedicated - New Benchmark Results (注:从天朝访问此站可能需要翻墙)。

如何使用 Unix Bench

  使用 Unix Bench 很简单。通过 SSH 登录到你的 Dedicated Host 或 VPS 之后,依次执行下列命令:

wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
tar xzf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
make
./Run

  需要注意的是:有些主机商提供的独立主机和 VPS,默认是最小安装,没有安装 gcc 等开发编译工具。如果 make 的过程中出错,提示没有 gcc 模块,则需要先装上 gcc。例如以 CentOS 为例,可直接通过执行 yum -y install gcc 安装。

  执行 ./Run 之后,等上大约 15 分钟左右的时候,就可以看到测试结果了。

  你的主机 Unix Bench 测试分值是多少?欢迎在评论中贴出来。

Tags:
『技术文摘』 | 评论(1) | 引用(0) | 阅读(199)
小楼
2010/07/21 12:00
上面的如果不行,就用这个自动安装GCC的自动脚本来。
wget http://www.CTOHome.com/linux-vps-pack/unixbench.sh;sh ./unixbench.sh
分页: 1/1 第一页 1 最后页
发表评论
拒绝任何人以任何形式在本博客发表不雅语言与中华人民共和国法律相抵触的言论!
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]