<?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>我本善良 &#187; 测试硬盘速度</title>
	<atom:link href="https://wbsl.org/tag/%e6%b5%8b%e8%af%95%e7%a1%ac%e7%9b%98%e9%80%9f%e5%ba%a6/feed" rel="self" type="application/rss+xml" />
	<link>https://wbsl.org</link>
	<description>一个不太正常的正常人</description>
	<lastBuildDate>Fri, 05 Jul 2024 01:35:05 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2</generator>
	<item>
		<title>Linux下用dd命令测试硬盘的读写速度</title>
		<link>https://wbsl.org/linux/388.html</link>
		<comments>https://wbsl.org/linux/388.html#comments</comments>
		<pubDate>Wed, 26 Jun 2024 02:43:49 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[dd命令]]></category>
		<category><![CDATA[测试硬盘速度]]></category>

		<guid isPermaLink="false">https://wbsl.org/?p=388</guid>
		<description><![CDATA[一、测试写速度： time dd if=/dev/zero of=/tmp/test bs=8k count=<a href="https://wbsl.org/linux/388.html" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>一、测试写速度：</p>
<p><code>time dd if=/dev/zero of=/tmp/test bs=8k count=1000000</code></p>
<p>二、测试读速度：</p>
<p><code>time dd if=/tmp/test of=/dev/null bs=8k</code></p>
<p>三、测试读写速度：</p>
<p><code>time dd if=/tmp/test of=/var/test bs=64k</code></p>
<p>四、参数说明</p>
<p>1、time 有计时作用，dd 用于复制，从 if 读出，写到 of；</p>
<p>2、if=/dev/zero 不产生 IO，因此可以用来测试纯写速度；</p>
<p>3、同理 of=/dev/null 不产生 IO，可以用来测试纯读速度；</p>
<p>4、将/tmp/test 拷贝到/var 则同时测试了读写速度；</p>
<p>5、bs 是每次读或写的大小，即一个块的大小，count 是读写块的数量。</p>
]]></content:encoded>
			<wfw:commentRss>https://wbsl.org/linux/388.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
