<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker Io Mac on lategege 的技术博客</title><link>https://lategege.com/tags/docker-io-mac/</link><description>Recent content in Docker Io Mac on lategege 的技术博客</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Wed, 21 Sep 2022 02:49:19 +0000</lastBuildDate><atom:link href="https://lategege.com/tags/docker-io-mac/index.xml" rel="self" type="application/rss+xml"/><item><title>mac版docker开启virtiofs提升100%IO效率</title><link>https://lategege.com/p/mac%E7%89%88docker%E5%BC%80%E5%90%AFvirtiofs%E6%8F%90%E5%8D%87100-io%E6%95%88%E7%8E%87/</link><pubDate>Wed, 21 Sep 2022 02:49:19 +0000</pubDate><guid>https://lategege.com/p/mac%E7%89%88docker%E5%BC%80%E5%90%AFvirtiofs%E6%8F%90%E5%8D%87100-io%E6%95%88%E7%8E%87/</guid><description>&lt;!-- wp:paragraph --&gt;
&lt;p&gt;一、开启方式如下图：Experimental features -&amp;gt; Enable VirtosFs...&lt;/p&gt;
&lt;!-- /wp:paragraph --&gt;
&lt;!-- wp:image {"sizeSlug":"large"} --&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img alt="" src="https://img.lategege.com:30443/images/web/2022/9-21/1.png"/&gt;&lt;/figure&gt;
&lt;!-- /wp:image --&gt;
&lt;!-- wp:paragraph --&gt;
&lt;p&gt;二、未开启前写入速度测试(测试硬盘为Nvme协议的西数SN730)，平均17.4m/s&lt;/p&gt;
&lt;!-- /wp:paragraph --&gt;
&lt;!-- wp:image {"sizeSlug":"large"} --&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img alt="" src="https://img.lategege.com:30443/images/web/2022/9-21/2.png"/&gt;&lt;figcaption&gt;三、开启后43.8m/s，提升了一倍还多。&lt;/figcaption&gt;&lt;/figure&gt;
&lt;!-- /wp:image --&gt;
&lt;!-- wp:image {"sizeSlug":"large"} --&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img alt="" src="https://img.lategege.com:30443/images/web/2022/9-21/3.png"/&gt;&lt;/figure&gt;
&lt;!-- /wp:image --&gt;
&lt;!-- wp:paragraph --&gt;
&lt;p&gt;四、开启这个docker实验功能的目的是为了提升编译android源码的效率，实测确实编译效率提升显著。&lt;/p&gt;
&lt;!-- /wp:paragraph --&gt;
&lt;!-- wp:paragraph --&gt;
&lt;p&gt;另外该实验功能在使用sed 命令操作有时候会遇到权限问题，通过升级sed 版本至sed 4.8即可解决。sed 4.8已经修复了这个问题，下载地址：https://savannah.gnu.org/forum/forum.php?forum_id=9647&lt;/p&gt;
&lt;!-- /wp:paragraph --&gt;</description></item></channel></rss>