<title>Some of my previews experiment works « Stop Talking, Start Doing - 停止空想,开始行动</title>
<metaname="description"content="Time series">
<title>Some of my previews experiment works: 2016 « Stop Talking, Start Doing - 停止空想,开始行动</title>
<metaname="description"content="This blog contains only some basic record of my works. For some details, I will write a unique blog just for some specific topics.">
<h1class="post-title">Some of my previews experiment works</h1>
<h1class="post-title">Some of my previews experiment works: 2016</h1>
<pclass="post-meta">Oct 28, 2016</p>
</header>
<articleclass="post-content">
<h1id="time-series">Time series</h1>
<p>This blog contains only some basic record of my works. For some details, I will write a unique blog just for some specific topics.</p>
<h2id="section">2016-10</h2>
<h1id="section">2016-10</h1>
<h3id="time-experiment-of-rsync">Time Experiment of rsync</h3>
<h2id="time-experiment-of-rsync">Time Experiment of rsync</h2>
<p>Patch is based on rsync with version 3.1.2. [<ahref="https://download.samba.org/pub/rsync/rsync-3.1.2.tar.gz">Rsync</a>|<ahref="/static/2016-10/rsync/rsync-3.1.2-time.patch">Patch</a>]</p>
<h4id="how-to-collect-data">How to collect data</h4>
<h3id="how-to-collect-data">How to collect data</h3>
<p>Basically, everything of transmission time and computation time will be output with overall time will be printed on the console.<br/>
But we also need some bash script to collect data through different size of random size and with different modification through them.</p>
@@ -82,11 +82,11 @@ But we also need some bash script to collect data through different size of rand
<li>Start from 8K to 64M, modify at random place with a (slow) python script, [<ahref="/static/2016-10/rsync/small2Big_change_at_anyplace.sh">Bash script</a>|<ahref="/static/2016-10/rsync/addbyte.py">Python program</a>]</li>
</ul>
<h3id="time-experiment-of-seafile">Time Experiment of seafile</h3>
<h2id="time-experiment-of-seafile">Time Experiment of seafile</h2>
<p>Patch is based on seafile 5.1.4. You can find the release from <ahref="https://github.com/haiwen/seafile/releases">seafile official repo</a>. You may follow official compile instructions from <ahref="https://manual.seafile.com/build_seafile/linux.html">here</a>. [<ahref="">Patch <strong>no longer avaiable, new version at following sections</strong></a>]</p>
<h4id="how-to-collect-data-1">How to collect data</h4>
<h3id="how-to-collect-data-1">How to collect data</h3>
<p>We also need everything be done using scripting. But this time I only design added some distance between two increasing files’ sizes.</p>
<h4id="install-seafile-on-odroid-xu">Install Seafile on odroid xu</h4>
<h3id="install-seafile-on-odroid-xu">Install Seafile on odroid xu</h3>
<p>Due to failure of my cross-compile to seafile on android. I used develop board as a replacement experiment platform for ARM-seafile testing. I used a <ahref="http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137510300620">odroid xu</a> as hardware standard. Because all I need is an ARM platform, only an ARM-Ubuntu is enough for me. But develop prototype on a board is much fun than coding, I won’t address much this time. But I’ll start a blog telling some really cool stuff I made for a strange aim.</p>
@@ -126,11 +126,11 @@ sync
</code></pre>
</div>
<h2id="section-1">2016-11</h2>
<h1id="section-1">2016-11</h1>
<h3id="android-kernel">Android Kernel</h3>
<h2id="android-kernel">Android Kernel</h2>
<h4id="how-to-build-an-android-kernel">How to build an Android Kernel?</h4>
<h3id="how-to-build-an-android-kernel">How to build an Android Kernel?</h3>
<p>Generally, I won’t tell anything in this parts, just mark some related links, and point out some mistakes or error solutions.</p>
@@ -145,6 +145,38 @@ sync
</li>
</ul>
<h1id="section-2">2016-12</h1>
<h2id="android-kernel-1">Android Kernel</h2>
<h3id="how-to-compile-with-ftrace">How to compile with ftrace?</h3>
<p>If we want to debug under android, ftrace is a great tool for working. But, ftrace is not available in android if we used default configure file. Android kernel configuration is in <strong>arch/arm64/kernel/configs</strong>. We need to add few lines under that.</p>
<h3id="how-to-extract-android-images-dump-an-image">How to extract android images: Dump an image</h3>
<p>If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, <ahref="http://getpocket.com/redirect?url=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2450045">this article</a> provide three ways to dump an image, I picked one for easy using.</p>
<li><aclass="post-link"href="/archivers/freshman-from-china">Freshman from china ~ 人生修复者</a></li>
<li><aclass="post-link"href="/archivers/some-of-my-previews-exper-work">Some of my previews experiment works</a></li>
<li><aclass="post-link"href="/archivers/some-of-my-previews-exper-work">Some of my previews experiment works: 2016</a></li>
<li><aclass="post-link"href="/archivers/charles-is-not-a-good-tool">Using charles proxy to monitor mobile SSL traffics</a></li>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.