Updated all covers and small css change

This commit is contained in:
2024-04-19 04:41:23 +00:00
parent 2f9718bfbe
commit 6b62306a29
24 changed files with 60 additions and 57 deletions
+14 -14
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.2.2">Jekyll</generator><link href="https://blog.pengzhan.dev/feed.xml" rel="self" type="application/atom+xml" /><link href="https://blog.pengzhan.dev/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-04-18T21:19:41-04:00</updated><id>https://blog.pengzhan.dev/feed.xml</id><title type="html">STSD</title><subtitle>My personal blog, some contents are useful, the others are not. Just like my mediocre life.
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.2.2">Jekyll</generator><link href="https://blog.pengzhan.dev/feed.xml" rel="self" type="application/atom+xml" /><link href="https://blog.pengzhan.dev/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-04-19T00:41:17-04:00</updated><id>https://blog.pengzhan.dev/feed.xml</id><title type="html">STSD</title><subtitle>My personal blog, some contents are useful, the others are not. Just like my mediocre life.
</subtitle><author><name>Pengzhan Hao</name><email>haopengzhan@gmail.com</email></author><entry><title type="html">Inotify watcher leaks in Kubelet</title><link href="https://blog.pengzhan.dev/posts/inotify-watcher-leaks-in-kubelet" rel="alternate" type="text/html" title="Inotify watcher leaks in Kubelet" /><published>2024-04-18T16:35:00-04:00</published><updated>2024-04-18T21:14:15-04:00</updated><id>https://blog.pengzhan.dev/posts/inotify-watcher-leaks-in-kubelet</id><content type="html" xml:base="https://blog.pengzhan.dev/posts/inotify-watcher-leaks-in-kubelet"><![CDATA[<h2 id="symptom">Symptom</h2>
<p>Recently, I faced an issue where Kubelet on a node reported error message failed to create file descriptors.</p>
@@ -985,13 +985,13 @@ Using ssh may connect to different physical devices under same domain name, this
</code></pre></div></div>]]></content><author><name>Pengzhan Hao</name></author><category term="Xv6" /><category term="Teaching" /><category term="Operating system" /><summary type="html"><![CDATA[In this post, you will learn a few basic concepts of xv6. Learning path will be closed coupled to first project assignment I gave when I assisted in teaching OS classes. Understand system call and know how to implement a simple one will be coved as the first half. In the second half of this post, I will discuss a little bit more on how to debug xv6 using gdb.]]></summary></entry><entry><title type="html">Some of my previews experiment works: 2016</title><link href="https://blog.pengzhan.dev/posts/some-of-my-previews-exper-work" rel="alternate" type="text/html" title="Some of my previews experiment works: 2016" /><published>2016-10-28T12:27:33-04:00</published><updated>2021-12-11T13:35:39-05:00</updated><id>https://blog.pengzhan.dev/posts/some-of-my-previews-exper-work</id><content type="html" xml:base="https://blog.pengzhan.dev/posts/some-of-my-previews-exper-work"><![CDATA[<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.
<!--more--></p>
<h1 id="2016-10">2016-10</h1>
<h2 id="2016-10">2016-10</h2>
<h2 id="time-experiment-of-rsync">Time Experiment of rsync</h2>
<h3 id="time-experiment-of-rsync">Time Experiment of rsync</h3>
<p>Patch is based on rsync with version 3.1.2. [<a href="https://download.samba.org/pub/rsync/rsync-3.1.2.tar.gz">Rsync</a>|<a href="/static/2016-10/rsync/rsync-3.1.2-time.patch">Patch</a>]</p>
<h3 id="how-to-collect-data">How to collect data</h3>
<h4 id="how-to-collect-data">How to collect data</h4>
<p>Basically, everything of transmission time and computation time will be output with overall time will be printed on the console.
But we also need some bash script to collect data through different size of random size and with different modification through them.</p>
@@ -1002,11 +1002,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, [<a href="/static/2016-10/rsync/small2Big_change_at_anyplace.sh">Bash script</a>|<a href="/static/2016-10/rsync/addbyte.py">Python program</a>]</li>
</ul>
<h2 id="time-experiment-of-seafile">Time Experiment of seafile</h2>
<h3 id="time-experiment-of-seafile">Time Experiment of seafile</h3>
<p>Patch is based on seafile 5.1.4. You can find the release from <a href="https://github.com/haiwen/seafile/releases">seafile official repo</a>. You may follow official compile instructions from <a href="https://manual.seafile.com/build_seafile/linux.html">here</a>. [<a href="">Patch <strong>no longer avaiable, new version at following sections</strong></a>]</p>
<h3 id="how-to-collect-data-1">How to collect data</h3>
<h4 id="how-to-collect-data-1">How to collect data</h4>
<p>We also need everything be done using scripting. But this time I only design added some distance between two increasing files sizes.</p>
@@ -1022,7 +1022,7 @@ But we also need some bash script to collect data through different size of rand
<span class="nb">awk</span> <span class="s1">'/CDC|HUT|ALL/ {print $4,$5}'</span> ~/.ccnet/log/seafile.log <span class="o">&gt;</span> results.stat
</code></pre></div></div>
<h3 id="install-seafile-on-odroid-xu">Install Seafile on odroid xu</h3>
<h4 id="install-seafile-on-odroid-xu">Install Seafile on odroid xu</h4>
<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 <a href="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 wont address much this time. But Ill start a blog telling some really cool stuff I made for a strange aim.</p>
@@ -1044,11 +1044,11 @@ unxz ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img.xz
<span class="nb">sync</span>
</code></pre></div></div>
<h1 id="2016-11">2016-11</h1>
<h2 id="2016-11">2016-11</h2>
<h2 id="android-kernel">Android Kernel</h2>
<h3 id="android-kernel">Android Kernel</h3>
<h3 id="how-to-build-an-android-kernel">How to build an Android Kernel?</h3>
<h4 id="how-to-build-an-android-kernel">How to build an Android Kernel?</h4>
<p>Generally, I wont tell anything in this parts, just mark some related links, and point out some mistakes or error solutions.</p>
@@ -1063,11 +1063,11 @@ unxz ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img.xz
</li>
</ul>
<h1 id="2016-12">2016-12</h1>
<h2 id="2016-12">2016-12</h2>
<h2 id="android-kernel-1">Android Kernel</h2>
<h3 id="android-kernel-1">Android Kernel</h3>
<h3 id="how-to-compile-with-ftrace">How to compile with ftrace?</h3>
<h4 id="how-to-compile-with-ftrace">How to compile with ftrace?</h4>
<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>
@@ -1082,7 +1082,7 @@ unxz ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img.xz
<span class="nv">CONFIG_STACK_TRACER</span><span class="o">=</span>y
</code></pre></div></div>
<h3 id="how-to-extract-android-images-dump-an-image">How to extract android images: Dump an image</h3>
<h4 id="how-to-extract-android-images-dump-an-image">How to extract android images: Dump an image</h4>
<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, <a href="http://forum.xda-developers.com/showthread.php?t=2450045">this article</a> provide three ways to dump an image, I picked one for easy using.</p>