<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erlang非业余研究 &#187; fileio</title>
	<atom:link href="http://blog.yufeng.info/archives/tag/fileio/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yufeng.info</link>
	<description>Erlang系统深度探索和应用</description>
	<lastBuildDate>Tue, 17 Jan 2012 06:05:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>sysbench(系统性能基准)介绍</title>
		<link>http://blog.yufeng.info/archives/614</link>
		<comments>http://blog.yufeng.info/archives/614#comments</comments>
		<pubDate>Tue, 27 Jul 2010 09:09:03 +0000</pubDate>
		<dc:creator>Yu Feng</dc:creator>
				<category><![CDATA[工具介绍]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[fileio]]></category>
		<category><![CDATA[mutex]]></category>
		<category><![CDATA[oltp]]></category>
		<category><![CDATA[sysbench]]></category>

		<guid isPermaLink="false">http://blog.yufeng.info/?p=614</guid>
		<description><![CDATA[原创文章，转载请注明： 转载自Erlang非业余研究 本文链接地址: sysbench(系统性能基准)介绍 SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load. Current features allow to test the following system parameters: * cpu性能 * file I/O performance * scheduler performance * mutex的性能 * memory allocation and transfer speed, [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://blog.yufeng.info/">Erlang非业余研究</a></p>
<p><strong>本文链接地址:</strong> <a href="http://blog.yufeng.info/archives/614">sysbench(系统性能基准)介绍</a></p>
</div>
<p>SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load.<br />
Current features allow to test the following system parameters:<br />
    * cpu性能<br />
    * file I/O performance<br />
    * scheduler performance<br />
    * mutex的性能<br />
    * memory allocation and transfer speed, 支持hugepage<br />
    * POSIX threads implementation performance<br />
    * database server performance (OLTP benchmark) 支持mysql，pgsql, oracle</p>
<p>项目地址是：<a href="http://sysbench.sourceforge.net/">http://sysbench.sourceforge.net/</a></p>
<p>从源码来看这个项目做的非常的模块化。 sysbench提供了诸如读取配置， 创建线程， 日志， 计时和模块化框架，支持的测试模式都是通过插件方式加入到框架去的。 </p>
<p>用户很容易扩展相应的模块， 通常模块只需要关注自己要实现的测试功能，其他的事情由框架来做，很大的方便用户自己编写特定的测试模块。其他的如多线程什么的都无需自己去考虑。</p>
<p>在数据库的驱动方面，目前提供了mysql，pgsql, oracle的驱动。在数据库抽象方面也是模块的，用户自己也能容易加入自己的数据库支持。</p>
<p>作为一个轻量级别的bench工具，在系统的系统测量方面，可以了解到对系统运行产生很大影响的性能，如内存，cpu，磁盘，锁，线程调度，数据库等方面的信息，是一个得心应手的工具。</p>
<p>在ubuntu下可以用apt-get install sysbench来安装，具体的使用参看 man sysbench。</p>
<p>玩的开心！</p>
<div style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">
<p>Post Footer automatically generated by <a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl plugin</a> for wordpress.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.yufeng.info/archives/614/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

