= 2008-12-29 = * WSU 軟體自動升級機制測試 == Perl == * [http://riseuplabs.org/grimoire/development/cpan-debian-packages/ Building CPAN modules as debian packages] {{{ # apt-get install dh-make-perl gzip unzip tar wget # dh-make-perl --build --cpan Archive::Zip }}} * [http://debian.pkgs.cpan.org/ debian.pkgs.cpan.org] -- debified CPAN packages * Perl + SQLite * [http://mailliststock.wordpress.com/2007/03/01/sqlite-examples-with-bash-perl-and-python/ SQLite examples with Bash, Perl and Python] * Debian Package: [http://packages.debian.org/etch/libclass-dbi-sqlite-perl libclass-dbi-sqlite-perl] * Perl Stomp Client : [http://search.cpan.org/dist/Net-Stomp/lib/Net/Stomp.pm Net::Stomp] == AoE == * 跟 Thomas 討論到怎麼加速 AoE 的存取速度,簡單記下重點: * 縱使使用 Ethernet Bounding 的技巧,仍然需要搭配 Switch 的網管功能才能真正達成 Bounding 的效果 * 縱使 Bounding 了三張網卡,但是觀察 AoE 總流量還是跟一張網卡是一樣的。因此超過 10 台以上的 AoE Disk 同時存取,I/O 瓶頸在於 SATA 排線上。 * Q: 如果要使用 GPFS 或 Lustre 來加速/分流 AoE 呢? A: 是可行的。等於用四台 GPFS Storage Farm 來服務四十台 AoE Client。 {{{ AoE Client #1 ---+ +-----------------------+ +-- GPFS Node #1 -- SATA -- Disk #1 AoE Client #2 ---+-- GE --+ eth0 eth1 +-- GE --+-- GPFS Node #2 -- SATA -- Disk #2 | | AoE Server | | AoE Client #n ---+ +-----------------------+ +-- GPFS Node #M -- SATA -- Disk #M }}} * 根據經驗法則,NFS、GPFS 與 Lustre 如果有存在 Cache 中的資料,I/O 會有加速效果。因此可以研究 AoE 是否可以有參數調整 Cache Size? * [http://xenaoe.org/wiki/aoe-caching-alignment.pdf ATA over Ethernet and Cache Page Misalignment] (What? XenAoE.org ?!) * 另一個想法是把 AoE Image 放到 RAMfs 中,理論上 CPU 不用經過南橋再跟 SATA 要資料,會比較快才對。 * 先前一直在討論如何支援把兩個目錄(UnionFS)變成一個新的 device 好讓系統可以是共用同一份 Window Image 卻只寫入差異的部分到不同的目錄。 * [http://www.mobile01.com/print.php?f=159&t=368959&p=1 可切換成唯讀模式的作業系統--Windows XP 及 Ubuntu 7.04] : 這一篇提到怎麼把 Windows XP 變成唯讀