<?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>mimitech's blog</title>
	<atom:link href="http://blog.donews.com/mimitech/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.donews.com/mimitech</link>
	<description>Internet, information personalization, trance music</description>
	<lastBuildDate>Sat, 04 Feb 2006 13:55:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HOWTO: linux进程统计 (process accounting)</title>
		<link>http://blog.donews.com/mimitech/archive/2006/02/04/714927.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2006/02/04/714927.aspx#comments</comments>
		<pubDate>Sat, 04 Feb 2006 13:55:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2006/02/04/714927.aspx</guid>
		<description><![CDATA[

进程统计（process accounting）可以记录linux系统内执行的每个命令/进程的执行时间、占用内存等情况，可用于评估用户日常命令操作的profile/常用命令、系统资源占用是否存在瓶颈或使用不足的情况以及是由于哪个进程造成的。

1. 首先确认你的linux内核支持process accounting功能
在内核配置菜单”general setup”里面的”BSD process accounting”，注意不要选择v3 file format

2. 在/etc/rc.local里面增加以下命令，这样在系统启动时自动打开进程统计功能
accton /var/account/pacct

3. 以root用户执行以下命令观察统计结果
sa -u

输出例如：

    root 0.00 cpu 378k mem 0 io hostname
    root 0.00 cpu 550k mem 0 io bash *
    root 0.00 cpu 381k mem 0 io dircolors
    root 0.00 cp]]></description>
			<content:encoded><![CDATA[<div class="storycontent">
<p>进程统计（process accounting）可以记录linux系统内执行的每个命令/进程的执行时间、占用内存等情况，可用于评估用户日常命令操作的profile/常用命令、系统资源占用是否存在瓶颈或使用不足的情况以及是由于哪个进程造成的。</p>
<p>1. 首先确认你的linux内核支持process accounting功能<br/><br />
在内核配置菜单&rdquo;general setup&rdquo;里面的&rdquo;BSD process accounting&rdquo;，注意<strong>不要</strong>选择v3 file format</p>
<p>2. 在/etc/rc.local里面增加以下命令，这样在系统启动时自动打开进程统计功能<br/><br />
accton /var/account/pacct</p>
<p>3. 以root用户执行以下命令观察统计结果<br/><br />
sa -u</p>
<p>输出例如：</p>
<blockquote><p>root       0.00 cpu      378k mem      0 io hostname<br/><br />
root       0.00 cpu      550k mem      0 io bash             *<br/><br />
root       0.00 cpu      381k mem      0 io dircolors<br/><br />
root       0.00 cpu      550k mem      0 io bash             *<br/><br />
root       0.00 cpu      410k mem      0 io egrep<br/><br />
root       0.00 cpu      550k mem      0 io bash             *<br/><br />
root       0.00 cpu      410k mem      0 io grep<br/><br />
root       0.00 cpu      550k mem      0 io bash             *<br/><br />
root       0.00 cpu      410k mem      0 io grep<br/><br />
root       0.00 cpu      395k mem      0 io id<br/><br />
root       0.00 cpu      550k mem      0 io bash             *<br/><br />
root       0.00 cpu      344k mem      0 io consoletype<br/><br />
root       0.00 cpu     1068k mem      0 io bash             *<br/><br />
root       0.00 cpu      344k mem      0 io consoletype<br/><br />
root       0.00 cpu      890k mem      0 io kbd_mode
</p>
</blockquote>
<p>注意，日志文件/var/account/pacct在运行一段时间后可以会很大！</p>
<p>遗留问题：<br/>* 没有记录命令/进程的启动、停止时间（wall clock）
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2006/02/04/714927.aspx/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>高效使用linux桌面的小帖士</title>
		<link>http://blog.donews.com/mimitech/archive/2005/12/10/653785.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/12/10/653785.aspx#comments</comments>
		<pubDate>Sat, 10 Dec 2005 14:27:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/12/10/653785.aspx</guid>
		<description><![CDATA[ 一般原理

   1. Refuse every commitment that is not essential.
   2. Place every commitment you make, no matter how trivial, into a tracking system.
   3. Review everything in you system without fail every Monday, refactoring undoable items into doable steps.
   4. Review the doable items you have without fail every day.


基本规则

    * automate *everything* the each time you find yourself repeating a task
    * for the most productivity, nothing beats a console. (or Full Screen: "keep eve]]></description>
			<content:encoded><![CDATA[<h2> 一般原理 </h2>
<ol>
<li> Refuse every commitment that is not essential.
</li>
<li> Place every commitment you make, no matter how trivial, into a tracking system.
</li>
<li> Review everything in you system <i>without fail</i> every Monday, refactoring undoable items into doable steps.
</li>
<li> Review the doable items you have <i>without fail</i> every day.
</li>
</ol>
<p><br/><br />
<h2> 基本规则 </h2>
<ul>
<li> automate *everything* the each time you find yourself repeating a task
</li>
<li> for the most productivity, nothing beats a console. (or Full Screen: &quot;keep everything I do in one window&quot;)
</li>
<li> 多用keyboard shortcuts
</li>
</ul>
<p><br/><br />
<h2> bash &amp; ssh</h2>
<ul>
<li> Set up <b>Ssh</b> to allow you in to your usual haunts without a password
</li>
<li> <b>bash</b>: Ctl-R history recall search feature
</li>
<li> crank up your history list to a few thousand entries and set it to forget dupes，这样大约可以保存数月的历史记录
</li>
<li> For example &quot;ls foo&quot; would get you to your previous command<br />
that starts with ls foo, even if it wasn&#8217;t the last command you typed. </li>
</ul>
<pre>In your .inputrc:<br/>   &quot;\e[A&quot;: history-search-backward<br/>   &quot;\e[B&quot;: history-search-forward<br/></pre>
<ul>
<li> Make your history immediately available from all your bash instances
</li>
</ul>
<pre>in your .bashrc:<br/>   shopt -s histappend<br/>   PROMPT_COMMAND='history -a'<br/></pre>
<ul>
<li> bash completions [caliban.org]: Quasi-telepathic tab completion
</li>
</ul>
<p><br/><br />
<h2> X &amp; windows manager </h2>
<ul>
<li> 采用大显示器：1600x1200；采用多显示器！
</li>
<li> 采用简单的WM：Fluxbox, ICEwm, Fvwm, Xfce, WindowMaker, enlightenment, ...?
</li>
<li> 采用Multiple desktops! Create a convention on how you would use your multiple desktops
</li>
<li> 在任何WM下仍然可以运行：&quot;kicker&quot; for KDE's panel, &quot;gnome-panel&quot; for Gnome's, and &quot;xfce4-panel&quot; for Xfce's
</li>
<li> <b>Ratpoison</b> [nongnu.org]－the mouse-less, window-less window manager, or better <b>ion [cs.tut.fi]</b><br />
Pane-based (v. window-based) window managers. Little to no wasted<br />
screen real estate. Significantly reduced mouse usage. allows you to<br />
completely control and automate your window mangement.
</li>
<li> GNU Screen [gnu.org] is a featured packed window manager<br />
that multiplexes a physical terminal between several processes; an<br />
essential feature if you use ssh alot. Among many other abilities,<br />
screen+ssh can provide VNC-like capabilities for your terminal sessions
</li>
<li> root-tail is a program that allows printing of text directly to the X11 root window
</li>
<li> 用于多显示器情况下：Xdmx and xmove. Possibly NX as well
</li>
</ul>
<p><br/><br />
<h2> KDE &amp; konqueror</h2>
<ul>
<li> Just enter in Konqueror fish://user@yourdomain.com; Your<br />
remote files appear in Konqueror &amp; you can then copy/paste etc to<br />
your local filesystem.（基于ssh，无须安装nfs/samba）
</li>
<li> man:screen or info:glibc as a URL in konqueror
</li>
<li> KDE's alt-f2 dialog. It does integer arithmetic and opens URLs
</li>
<li> Type 'gg:whatever' in that alt+f2 dialog, or any konqueror,<br />
and you'll be taken to google. Same thing for imdb, fm [freshmeat], etc
</li>
</ul>
<p><br/>摘自：<br type="_moz"/><br />
<h3><a href="http://ask.slashdot.org/article.pl?sid=05/11/27/0252214&amp;tid=189&amp;tid=185&amp;tid=4">slashdot - Time Saving Linux Desktop Tips?</a></h3>
<p><br type="_moz"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/12/10/653785.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于HDTV media center的方案和HDTV的实用性考虑</title>
		<link>http://blog.donews.com/mimitech/archive/2005/11/20/633638.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/11/20/633638.aspx#comments</comments>
		<pubDate>Sun, 20 Nov 2005 12:16:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/11/20/633638.aspx</guid>
		<description><![CDATA[目前的media center，包括DVD机/xbox+xbmc/pc+geexbox&#124;movix等方案，要想HDTV化，考虑3种可选方案：

1. HTPC或普通PC+支持HDTV out的显卡
HTPC本身主要解决外观/散热/噪音/体积等问题，主要还是内部零件的选择。比较倾向于A64或Sempron+整合主板：优选Nvidia C51G/PV，RS480的方案，或者用独立显卡的话需要能够较好地支持3D gaming，如Doom3/Quake4, HL2, Far cry, F.E.A.R等顶极FPS类游戏。但据说媒体播放时，Intel P4的性能要高一些，考虑到P4的功耗和低效，实在不愿考虑。
显卡方面，主要考虑6200/6600等中低端显卡；如果只用于HDTV播放目的，S3的deltachome也是一个不错的选择
另外还要考虑的是，希望能采用Linux作为操作系统，这方面显卡的驱动是个难点；基本上微软的xp media center的方案不用考虑，有点笨重
采用PC的方案，成本大约在2500~3000，好处是功能全面；

2、国产hdtv影碟机
就是HDTV中国]]></description>
			<content:encoded><![CDATA[<p>目前的media center，包括DVD机/xbox+xbmc/pc+geexbox|movix等方案，要想HDTV化，可以考虑3种可选方案：<br/><br/><strong>1. HTPC或普通PC+支持HDTV out的显卡</strong><br/><br />
HTPC本身主要解决外观/散热/噪音/体积等问题，主要还是内部零件的选择。比较倾向于A64或Sempron+整合主板：优选Nvidia<br />
C51G/PV，RS480的方案，或者用独立显卡的话需要能够较好地支持3D gaming，如Doom3/Quake4, HL2, Far<br />
cry, F.E.A.R等顶极FPS类游戏。但据说媒体播放时，Intel P4的性能要高一些，考虑到P4的功耗和低效，实在不愿考虑。<br/><br />
显卡方面，主要考虑6200/6600等中低端显卡；如果只用于HDTV播放目的，S3的deltachome也是一个不错的选择<br/><br />
另外还要考虑的是，希望能采用Linux作为操作系统，这方面显卡的驱动是个难点；基本上微软的xp media center的方案不用考虑，有点笨重<br/><br />
采用PC的方案，成本大约在2500~3000，好处是功能全面；</p>
<p><strong>2、国产hdtv影碟机</strong><br/><br />
就是HDTV中国网（http://www.hd-tv.cn）的版主推出的一款国产机器，<a href="http://dh.yesky.com/286/2113286.shtml">好像是地下制作？</a>，采用sigma design的套件和方案，包括一个VIA的嵌入式主机（166MHz x86），运行linux，支持网络和WiFi。<br/><br />
这个方案好像看到有的IPTV机顶盒在用。他们主要是做了硬件制造和UI的定制。<br/><br />
价格约2000。有些贵，毕竟不是通用器件，但易用性好一些？</p>
<p><strong>3. xbox360/ps3作为media center</strong><br/><br />
就像xbox media center软件（xbmc）那样，用xbox360支持HDTV肯定没问题。xbox360已经上市，应该能够很快破解。由于xbox在欧美市场的优势，而主要的黑客也是集中在欧美地区，预计xbox360应该比ps3更快被破解？<br/><br />
成本大约2500~3500左右。</p>
<p><br/><strong>关于HDTV的片源问题</strong><br/><br />
目前主要的来源还是emule/BT等。在emule上搜索了一下，不算HDTV的电视剧集，movie或demo应该不超过300部，720p或者1080i的都有；一部片子3G左右，而目前P2P网络的速度确实比较痛苦。看来片源的问题仍然是HDTV实用性的最大问题。<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/11/20/633638.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>值得关注的两个deep search公司</title>
		<link>http://blog.donews.com/mimitech/archive/2005/10/16/590635.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/10/16/590635.aspx#comments</comments>
		<pubDate>Sun, 16 Oct 2005 08:53:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/10/16/590635.aspx</guid>
		<description><![CDATA[

1. kozoru
是个典型的web 2.0公司，在web 2.0 2005大会上有很多信息；据说其核心技术是基于问答模式的信息检索服务，但是目前在其网站上还没有相关演示。
根据其宣传片，其产品是通过即时消息IM作为人机接口，实现问答式交互，其实现了对自然语言查询进行结构分析和理解。产品计划在2006年4.15日发布，听起来很高级呵

2. Glenbrook Networks－所谓vertical search技术
基本上是模拟人的网站访问行为，能够自动注册和登录一些需要帐户的网站，然后可以进一步挖掘网站内部的深度信息：

    The Trawler consists of five layers:

    1. Discoverer - locates perspective target home pages in Surface Web
    2. Scout - navigates Surface Web part of a web site and finds the “doors” - DHTML pages that contain ]]></description>
			<content:encoded><![CDATA[<div class="storycontent">
<p>1. kozoru<br/><br />
是个典型的web 2.0公司，在web 2.0 2005大会上有很多信息；据说其核心技术是基于问答模式的信息检索服务，但是目前在其<a href="http://www.kozoru.com/">网站</a>上还没有相关演示。<br/><br />
根据其宣传片，其产品是通过即时消息IM作为人机接口，实现问答式交互，其实现了对自然语言查询进行结构分析和理解。产品计划在2006年4.15日发布，听起来很高级呵</p>
<p>2. Glenbrook Networks－所谓vertical search技术<br/><br />
基本上是模拟人的网站访问行为，能够自动注册和登录一些需要帐户的网站，然后可以进一步挖掘网站内部的深度信息：</p>
<blockquote><p>The Trawler consists of five layers:</p>
<p>   1. Discoverer &#8211; locates perspective target home pages in Surface Web<br/><br />
2. Scout &#8211; navigates Surface Web part of a web site and finds the<br />
&ldquo;doors&rdquo; &#8211; DHTML pages that contain forms leading to the Deep Web part<br />
of a web site<br/><br />
   3. Locksmith &#8211; fills up the forms with various requests and collects responses<br/><br />
4. Assessor &#8211; analyses responses and makes a decision to use this door<br />
as candidate to query the Deep Web part of the site or move elsewhere<br/><br />
   5. Harvester &#8211; collects all relevant pages from Surface and Deep Web parts of the web site </p>
</blockquote>
<p><a href="http://www.glendor.com/">他们网站</a>上有一个基于该技术的演示，可以显示出硅谷地区各类job招聘需求的地域分布情况。
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/10/16/590635.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>受索尼CCD问题影响的DC/DV型号一览表</title>
		<link>http://blog.donews.com/mimitech/archive/2005/10/15/589441.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/10/15/589441.aspx#comments</comments>
		<pubDate>Sat, 15 Oct 2005 03:18:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/10/15/589441.aspx</guid>
		<description><![CDATA[
根据slashdot上的这篇文章，以下列出受影响的DC/DV相关型号（未作确认，仅供参考）；可怜我的V1也在里面，呜呜

（有关该问题的报道请参考：受问题索尼CCD拖累 日数码机在华遭信誉危机）

Digital still cameras

    * Canon:
          o Digital IXUS V3, Digital IXUS II, Digital IXUS II2
          o IXY DIGITAL 320, IXY DIGITAL 30, IXY DIGITAL 30a
          o PowerShot A60, PowerShot A70, PowerShot A75, PowerShot A300, PowerShot A310

    * Fujifilm:
          o FinePix A303 (serial 3100****, 3101****, 3JA4****, 3JA5****)
          o FinePix F410 (serial 3100****-3105]]></description>
			<content:encoded><![CDATA[</p>
<p>根据<a href="http://hardware.slashdot.org/article.pl?sid=05/10/10/2235206&amp;tid=233&amp;tid=137">slashdot上的这篇文章</a>，以下列出受影响的DC/DV相关型号（未作确认，仅供参考）；故障现象是<a href="http://flickr.com/photos/dekstop/sets/1026874/">这样滴</a>，可怜我的V1也在里面，呜呜</p>
<p>（有关该问题的报道请参考：<a href="../../chinart/archive/2005/10/15/589329.aspx">受问题索尼CCD拖累 日数码机在华遭信誉危机）</a></p>
<p><b>Digital still cameras</b>
</p>
<ul>
<li>Canon:</p>
<ul>
<li>Digital IXUS V3, Digital IXUS II, Digital IXUS II2</li>
<li>IXY DIGITAL 320, IXY DIGITAL 30, IXY DIGITAL 30a</li>
<li>PowerShot A60, PowerShot A70, PowerShot A75, PowerShot A300, PowerShot A310</li>
</ul>
</li>
<li>Fujifilm:
<ul>
<li>FinePix A303 (serial 3100****, 3101****, 3JA4****, 3JA5****)</li>
<li>FinePix F410 (serial 3100****-3105****, 32A1****, 32A6****, 32A7****, 32A9****)</li>
<li>FinePix F700 (serial 3312****, 3313****, 33A0****, 3402****, 34A1****)</li>
<li>FinePix S2Pro (serial 310110**-310115**, 320000**-320008**, 330000**-340001**)</li>
</ul>
</li>
<li>Konica Minolta:
<ul>
<li>DiMAGE 7i, DiMAGE 7Hi, DiMAGE A1, DiMAGE F300, DiMAGE S414, DiMAGE Xi, DiMAGE Xt, DiMAGE X20</li>
<li>Digital Genba Kantoku DG-2, DG-3Z, DG-4W</li>
</ul>
</li>
<li>Sony:
<ul>
<li>DSC-F717</li>
<li>DSC-P2, DSC-P7, DSC-P8, DSC-P10, DSC-P12, DSC-P31, DSC-P32, DSC-P51, DSC-P52, DSC-P71, DSC-P72, DSC-P92</li>
<li>DSC-U10, DSC-U20, DSC-U30, DSC-U60</li>
<li>DSC-V1</li>
<li>MVC-CD250, MVC-CD400, MVC-CD500</li>
<li>MVC-FD100, MVC-FD200</li>
</ul>
</li>
</ul>
<p> <b>Digital video cameras</b>
</p>
<ul>
<li>Canon:</p>
<ul>
<li>Elura 40 MC, Elura 50</li>
<li>FV40, FV50, FV300, FV400</li>
<li>IXY DV3, IXY DV5</li>
<li>MV5i, MV5i MC, MV6i MC, MV600i, MV630i, MV650i, MV700i, MV730i, MV750i</li>
<li>ZR60, ZR65 MC, ZR70MC, ZR80, ZR85, ZR90</li>
</ul>
</li>
<li>Sony:
<ul>
<li>CCD-MC100</li>
<li>CCD-TRV106K, CCD-TRV107E, CCD-TRV116, CCD-TRV118, CCD-TRV128,<br />
CCD-TRV218E, CCD-TRV228, CCD-TRV228E, CCD-TRV318, CCD-TRV328,<br />
CCD-TRV418, CCD-TRV418E, CCD-TRV428, CCD-TRV428E</li>
<li>DCR-DVD91E, DCR-DVD100, DCR-DVD100E, DCR-DVD101, DCR-DVD101E, DCR-DVD200, DCR-DVD200E, DCR-DVD300</li>
<li>DCR-HC14E, DCR-HC15, DCR-HC15E, DCR-HC16E, DCR-HC18E, DCR-HC20, DCR-HC20E, DCR-HC30, DCR-HC30E</li>
<li>DCR-IP5, DCR-IP5E, DCR-IP7E, DCR-IP45, DCR-IP45E, DCR-IP55, DCR-IP55E</li>
<li>DCR-PC101, DCR-PC101E, DCR-PC101K, DCR-PC103E, DCR-PC105,<br />
DCR-PC105E, DCR-PC105K, DCR-PC106E, DCR-PC107E, DCR-PC108, DCR-PC108E,<br />
DCR-PC115, DCR-PC115E, DCR-PC120, DCR-PC120E</li>
<li>DCR-TRV14E, DCR-TRV16, DCR-TRV16E, DCR-TRV18, DCR-TRV18E,<br />
DCR-TRV18K, DCR-TRV19, DCR-TRV19E, DCR-TRV22, DCR-TRV22E, DCR-TRV22K,<br />
DCR-TRV24E, DCR-TRV25, DCR-TRV25E, DCR-TRV27, DCR-TRV27E, DCR-TRV27PK,<br />
DCR-TRV33, DCR-TRV33E, DCR-TRV33K, DCR-TRV33PK, DCR-TRV38, DCR-TRV38E,<br />
DCR-TRV39, DCR-TRV40, DCR-TRV40E, DCR-TRV50, DCR-TRV50E, DCR-TRV147E,<br />
DCR-TRV240E, DCR-TRV250, DCR-TRV250E, DCR-TRV255E, DCR-TRV260,<br />
DCR-TRV265, DCR-TRV265E, DCR-TRV340, DCR-TRV340E, DCR-TRV361,<br />
DCR-TRV460, DCR-TRV460E, DCR-TRV461E, DCR-TRV740, DCR-TRV740E,<br />
DCR-TRV840, DCR-TRV940, DCR-TRV940E, DCR-TRV950, DCR-TRV950E</li>
<li>DCR-VX2000, DCR-VX200E, DCR-VX2100, DCR-VX2100E</li>
</ul>
</li>
</ul>
<p> <b>Professional camcorders</b>
</p>
<ul>
<li>Sony:</p>
<ul>
<li>DSR-250, DSR-250P</li>
<li>DSR-PD150, DSR-PD150P, DSR-PD170, DSR-PD170P, DSR-PDX10, DSR-PDX10P</li>
</ul>
</li>
</ul>
<p> <b>Other products</b>
</p>
<ul>
<li>Sony:</p>
<ul>
<li>Clie PEG-NZ90</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/10/15/589441.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xen同其他模拟器/虚拟机软件的比较</title>
		<link>http://blog.donews.com/mimitech/archive/2005/10/07/579927.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/10/07/579927.aspx#comments</comments>
		<pubDate>Fri, 07 Oct 2005 15:16:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/10/07/579927.aspx</guid>
		<description><![CDATA[    经过这段时间对xen的试用，我是非常推崇这个软件的，以下从几个方面，包括源码的规模统计角度来对比xen同其他类似软件的优势

1. xen同qemu等模拟器软件的比较
    我们知道，xen采用了部分虚拟化技术（paravirtualization），需要对guest OS的代码进行修改，以便同虚拟机核心监控代码进行协同，这样可以提高系统的性能，并降低实现的复杂度。
    xen代码的规模为：2.0版本 ~120k LOC（用sloccount软件统计），3.0测试版~300k LOC；代码主要包括xen核心，管理工具，内核补丁三部分，主要用C语言加部分汇编编写，工具部分也大量用到了python；
    作为对比，qemu的源码规模约135k LOC，主要是用于CPU和硬件模拟的代码；开放源码的部分不含kqemu这个虚拟化软件，因此，qemu可以认为是一个类似bochs的纯模拟器（bochs代码规模类似，~150k LOC），其优势是适应性强，缺点是性能低；

2. xen同其他采用部分虚拟化技术的类似软件的比较
同xen原理有些类似的软件包括：
* c]]></description>
			<content:encoded><![CDATA[<div class="storycontent">
<p>&nbsp;&nbsp;&nbsp; 经过这段时间对<a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/">xen</a>的试用，我是非常推崇这个软件的，以下从几个方面，包括源码的规模统计角度来对比xen同其他类似软件的优势</p>
<p><strong>1. xen同<a href="http://fabrice.bellard.free.fr/qemu/">qemu</a>等模拟器软件的比较</strong><br/>&nbsp;&nbsp;&nbsp; 我们知道，xen采用了部分虚拟化技术（<a href="http://en.wikipedia.org/wiki/Paravirtualization">paravirtualization</a>），需要对guest OS的代码进行修改，以便同虚拟机核心监控代码进行协同，这样可以提高系统的性能，并降低实现的复杂度。<br/>&nbsp;&nbsp;&nbsp; xen代码的规模为：2.0版本 ~120k LOC（用sloccount软件统计），3.0测试版~300k LOC；代码主要包括xen核心，管理工具，内核补丁三部分，主要用C语言加部分汇编编写，工具部分也大量用到了python；<br/>&nbsp;&nbsp;&nbsp; 作为对比，qemu的源码规模约135k<br />
LOC，主要是用于CPU和硬件模拟的代码；开放源码的部分不含kqemu这个虚拟化软件，因此，qemu可以认为是一个类似bochs的纯模拟器<br />
（bochs代码规模类似，~150k LOC），其优势是适应性强，缺点是性能低；</p>
<p><strong>2. xen同其他采用部分虚拟化技术的类似软件的比较</strong><br/><br />
同xen原理有些类似的软件包括：<br/><br />
* <a href="http://www.colinux.org/">colinux</a>－这是一个在windows上运行linux的软件，原理有点类似于部分虚拟化技术，这个软件最初是由一个日本的学生编写，规模较小~30k；<br/><br />
* IBM的<a href="http://www.research.ibm.com/hypervisor/">rhype</a>－是IBM的hypervisor虚拟机软件的开源研究版本，规模~45k行，采用c和汇编开发；<br/><br />
从代码规模判断，xen同这些软件相比是比较成熟和完善的；</p>
<p><strong>3. xen同linux VServer和UML的比较</strong><br/><br />
* <a href="http://linux-vserver.org/">Linux vserver</a>是<br />
一个类似于BSD<br />
Jail的方案，同样可以达到在一台机器上运行多个linux的目的，它比xen能更节约硬盘空间，比较适用于提供hosting业务的服务商，缺点是在<br />
操作管理上不如xen方便，因为xen操作起来同操作物理机器没有什么不同； vserver的代码规模不大－内核补丁：~12k；工具代码：30k；<br/><br />
* Uml（user mode linux）是一个已经包含在linux<br />
2.6内核中的软件模块，其2.4内核补丁规模约~40k；Uml的缺点是性能比较差，现在有了xen以后，基本上没有理由再用uml了，所以现在有不少<br />
关于将xen合并入linux内核的建议和讨论；</p>
<p><strong>4. xen同vmware等商业软件的比较</strong><br/><br />
同vmware相比，xen的主要优势一是性能，特别是处理I/O任务时的性能，同真实机器性能下降很少，这对服务器等应用非常关键；虽然vmware同开源的qemu+kqemu软件相比性能要高很多，但比xen仍有不小的差距；<br/><br />
第二个优势是稳定性，这是由软件架构而决定的。xen非常聪明地利用了linux开源的特点，而采用了部分虚拟化的技术，因此从实现的复杂度、适应性和稳定性方面都要比vmware有优势，实际使用也确实如此；稳定性对于服务器应用而言也是非常重要；<br/><br />
第三个就是xen经常宣传的live migration，就是可以动态地将某个虚拟机从一个物理机器迁移到另一个物理机器，而中间的业务中断时间只有几十~几百ms，这个特性也是在服务器应用里面非常有价值的，我暂时还没有机会实际使用。</p>
<p><strong>小结</strong><br/>&nbsp;&nbsp;&nbsp; 由上述可见，xen同linux是一个完美的组合，是目前linux上的最佳的虚拟化解决方案，特别适合于服务器应用，如用于将多个服务器合并到一台物理<br />
服务器上，以节省运营成本（机房空间、电力消耗）；或者是出于安全角度的考虑，需要将不同的应用进行分区，以便降低安全风险等。<br/>&nbsp;&nbsp;&nbsp; 出于类似的考虑，xen得到了很多linux厂商的大力支持，其中包括novell等大公司。<br/>&nbsp;&nbsp;&nbsp; 目前xen还不是很合适作为桌面应用，例如xen的2.0版本还不支持agppart和声卡设备虚拟化，运行x-windows将比较困难。<br/>&nbsp;&nbsp;&nbsp; 另外，利用intel和amd最新CPU的内嵌虚拟化特性，xen也可以支持windows作为guest OS。不过我觉得这样的情况并不是很有价值。</p>
<p><strong>参考资料</strong><br/><br />
* <a href="http://en.wikipedia.org/wiki/Xen_%28virtual_machine_monitor%29">wikipedia上对xen的介绍</a><br/><br />
* <a href="../../mimitech/archive/2005/08/24/524815.aspx">linux 上的虚拟机方案评价</a>
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/10/07/579927.aspx/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>維基百科(wikipedia)服务器的软硬件构成</title>
		<link>http://blog.donews.com/mimitech/archive/2005/09/17/557544.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/09/17/557544.aspx#comments</comments>
		<pubDate>Sat, 17 Sep 2005 15:07:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/09/17/557544.aspx</guid>
		<description><![CDATA[今天在wikipedia上逛了很多时间。wikipedia在IT架构方面的经验，对于我们构建网站极有参考价值，因为wikipedia提供的这些信息非常详细和确凿。（以下是我的简单总结，仅供参考，准确信息请访问参考资料）

wikipedia目前一年大概可以募集约10万USD的捐款。其中90%都用于购置服务器等硬件以及租用机房/带宽等费用，另外来自大公司捐赠的hosting资源（如yahoo），包括服务器/IDC资源等。
# 数据库服务器：MySql，7台，AMD64平台，4~16GB内存，FedoraCore3；
# Cache服务器：squid，~17台，P4，3~4GB内存，1U机架服务器，FedoraCore3；

    Squid 大部份應付未登入使用者的需求，快取命中率達75%，有效的減輕Apache的負載。負載平衡是以Round-Robin DNS法來達成。

# Web服务器：Apache，49台，P4，1~4GB内存，1U机架服务器，FedoraCore2；

    運行PHP，且搭配Turck的PHP快取系統以增進效能。這些伺服器以NFS共享工]]></description>
			<content:encoded><![CDATA[<p>今天在wikipedia上逛了很多时间。wikipedia在IT架构方面的经验，对于我们构建网站极有参考价值，因为wikipedia提供的这些信息非常详细和确凿。（以下是我的简单总结，仅供参考，准确信息请访问参考资料）<br/>
<p>
wikipedia目前一年大概可以募集约10万USD的捐款。其中90%都用于购置服务器等硬件以及租用机房/带宽等费用，另外来自大公司捐赠的hosting资源（如yahoo），包括服务器/IDC资源等。</p>
<div class="storycontent">
<li>数据库服务器：MySql，7台，AMD64平台，4~16GB内存，FedoraCore3；</li>
<li>Cache服务器：squid，~17台，P4，3~4GB内存，1U机架服务器，FedoraCore3；</li>
<blockquote><p>Squid 大部份應付未登入使用者的需求，快取命中率達75%，有效的減輕Apache的負載。負載平衡是以Round-Robin DNS法來達成。</p>
</blockquote>
<li>Web服务器：Apache，49台，P4，1~4GB内存，1U机架服务器，FedoraCore2；</li>
<blockquote><p>運行PHP，且搭配Turck的PHP快取系統以增進效能。這些伺服器以NFS共享工作目錄，以實現同步運作</p>
</blockquote>
<li>其他服务器：~8台，用于NFS、DB dump、DNS、社区运作，如email, irc等，机器比较杂，配置较低，运行较老版本的linux</li>
<p>总共83台服务器；说明LAMP已经非常成熟可用于世界级的大网站应用。</p>
<p>目前wikipedia的服务器访问量平均在1400req/s，峰值到2000req/s。流量方面，数据库服务器的流量大约在8MB/s（单机?）；</p>
<p>软件方面，mediawiki的最新版本的代码量大约为13万行（PHP代码）；</p>
<p>下图为wikipedia网络架构<br/></p>
<p><br/><br />
<img alt="" src="http://upload.wikimedia.org/wikipedia/meta/thumb/1/11/Wikimedia-servers-2005-04-12.png/800px-Wikimedia-servers-2005-04-12.png"/>
	</p>
<p>参考资料<br/><br />
* <a href="http://meta.wikipedia.org/">Wikipedia meta</a><br/><br />
* <a href="http://meta.wikimedia.org/wiki/Wikimedia_servers">wikipedia server原始资料</a>，<a href="http://zh.wikipedia.org/wiki/Wikipedia:%E6%9C%8D%E5%8A%A1%E5%99%A8">中文</a>
</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/09/17/557544.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>今天是9.11 四周年纪念日</title>
		<link>http://blog.donews.com/mimitech/archive/2005/09/11/549893.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/09/11/549893.aspx#comments</comments>
		<pubDate>Sun, 11 Sep 2005 12:34:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/09/11/549893.aspx</guid>
		<description><![CDATA[ 怎么没看到什么纪念的活动消息呢？

google的图标也没有变化。

哎，我倒是搞了一个纪念活动，观看电影“war of world”；据说这部电影是在当年由于怕引起9-11的不良回忆而延迟到今年拍摄播出的。里面确实有很多情节可以同9-11事件有一些联系。
]]></description>
			<content:encoded><![CDATA[<p>
        	怎么没看到什么纪念的活动消息呢？<br/>
<div class="storycontent">
<p>
google的图标也没有变化。</p>
<p>哎，我倒是搞了一个纪念活动，观看电影&ldquo;war of world&rdquo;；据说这部电影是在当年由于怕引起9-11的不良回忆而延迟到今年拍摄播出的。里面确实有很多情节可以同9-11事件有一些联系。
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/09/11/549893.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux 上的虚拟机方案评价</title>
		<link>http://blog.donews.com/mimitech/archive/2005/08/24/524815.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/08/24/524815.aspx#comments</comments>
		<pubDate>Wed, 24 Aug 2005 14:11:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/08/24/524815.aspx</guid>
		<description><![CDATA[以下只评估开源方案（商业软件包括－vmware, MS virtualPC, win4lin, 等）
1. qemu方案

优点：不用修改guest os，使用方便；可以支持win2000作为guest OS，支持win98/2k/xp作为host OS
缺点：virtualization模块不开源，以二进制代码发布；速度不是太理想，例如在guest OS里面运行wine＋superpi就有问题
速度：模拟方式－1/5~1/10；虚拟方式－接近全速
适用场合：主要用于替代vmware的场合，在桌面环境上运行guest OS，如对新的linux发行版的评估、学习等。
2. xen方案

优点：速度快，开销低，兼容性好
缺点：需要修改guest os内核代码，目前只支持linux作为Guest/Host
适用场合：主要作为server虚拟化应用，如把几台server整合到1台物理server里面，或者是从安全性角度考虑，把各个应用用不同的（虚拟）服务器隔离开。并且xen的效率较高，开销不大，适合长期运行，增加新的虚拟服务器只需要扩充内存和硬盘就可以了。由于linux开]]></description>
			<content:encoded><![CDATA[<div class="storycontent">
<p>以下只评估开源方案（商业软件包括－vmware, MS virtualPC, win4lin, 等）</p>
<h3>1. <a href="http://fabrice.bellard.free.fr/qemu">qemu方案</a></h3>
<p><strong>优点</strong>：不用修改guest os，使用方便；可以支持win2000作为guest OS，支持win98/2k/xp作为host OS<br/><br />
<strong>缺点</strong>：virtualization模块不开源，以二进制代码发布；速度不是太理想，例如在guest OS里面运行wine＋superpi就有问题<br/><br />
<strong>速度</strong>：模拟方式－1/5~1/10；虚拟方式－接近全速<br/><br />
<strong>适用场合</strong>：主要用于替代vmware的场合，在桌面环境上运行guest OS，如对新的linux发行版的评估、学习等。</p>
<h3>2. <a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/">xen方案</a></h3>
<p><strong>优点</strong>：速度快，开销低，兼容性好<br/><br />
<strong>缺点</strong>：需要修改guest os内核代码，目前只支持linux作为Guest/Host<br/><br />
<strong>适用场合</strong>：主要作为server虚拟化应用，如把几台server整合到1台物理server里面，或者是从安全性角<br />
度考虑，把各个应用用不同的（虚拟）服务器隔离开。并且xen的效率较高，开销不大，适合长期运行，增加新的虚拟服务器只需要扩充内存和硬盘就可以了。由<br />
于linux开放源码的优势，用xen虚拟化的效率是vmware无法相比的。xen现在已得到redhat和novell的支持。</p>
<h3>3. <a href="http://linux-vserver.org/">Linux VServer方案</a></h3>
<p><strong>优点</strong>：非虚拟化技术，而是类似chroot的概念，可以限制guest os的存取范围，起到隔离的效果；效率高，CPU和文件系统额外开销都很小<br/><br />
<strong>缺点</strong>：需要修改内核；各guest os必须采用同一个linux发行版本，无进程隔离和内存隔离的效果（可能看起来有）<br/><br />
<strong>适用场合</strong>：同样可以作为server consolidation场合，与xen相比各有千秋。
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/08/24/524815.aspx/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在PC上运行MacOS X的原理</title>
		<link>http://blog.donews.com/mimitech/archive/2005/08/21/519660.aspx</link>
		<comments>http://blog.donews.com/mimitech/archive/2005/08/21/519660.aspx#comments</comments>
		<pubDate>Sun, 21 Aug 2005 08:26:00 +0000</pubDate>
		<dc:creator>mimitech</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/mimitech/archive/2005/08/21/519660.aspx</guid>
		<description><![CDATA[
最近网上传的很火，苹果Mac OS X的x86版本被破解了，可以在普通pc机上跑起来。不过网上介绍的操作步骤多且语焉不详。初步研究了一下，主要的原理如下：

1. 合法获取Mac OS Tiger x86 Developer Kit Install DVD
2. 用PearPC软件将该DVD安装到某一硬盘映像文件内（不是太理解这一步，PearPC是在PC上模拟Mac PowerPC的软件，难道上述DVD是在苹果机上直接安装的么）
3. 用VMware安装Darwin 8.0.1，以及升级到8.1（这是苹果公司的开源OS核心部分，这就说明x86版本的内核就仅仅是Darwin，Tiger等GUI应用就架构在它上面）
4. 在VMware里运行的darwin上，把PearPC生成的Tiger硬盘映像加进去
5. 进行patch, 破解如TPM、SSE3等限制（oah750d ditto.tgz CoreGraphics.tgz等）
6. OK

似乎并不是所有的Tiger程序都移植到了x86上，以此需要用Rosetta这个模拟器来运行PowerPC代码，而Roset]]></description>
			<content:encoded><![CDATA[<div class="storycontent">
<p>最近网上传的很火，苹果Mac OS X的x86版本被破解了，可以在普通pc机上跑起来。不过网上介绍的操作步骤多且语焉不详。初步研究了一下，主要的原理如下：</p>
<p>1. 合法获取Mac OS Tiger x86 Developer Kit Install DVD<br/><br />
2. 用PearPC软件将该DVD安装到某一硬盘映像文件内（不是太理解这一步，PearPC是在PC上模拟Mac PowerPC的软件，难道上述DVD是在苹果机上直接安装的么）<br/><br />
3. 用VMware安装Darwin 8.0.1，以及升级到8.1（这是苹果公司的开源OS核心部分，这就说明x86版本的内核就仅仅是Darwin，Tiger等GUI应用就架构在它上面）<br/><br />
4. 在VMware里运行的darwin上，把PearPC生成的Tiger硬盘映像加进去<br/><br />
5. 进行patch, 破解如TPM、SSE3等限制（oah750d ditto.tgz CoreGraphics.tgz等）<br/><br />
6. OK</p>
<p>似乎并不是所有的Tiger程序都移植到了x86上，以此需要用<a href="http://en.wikipedia.org/wiki/Rosetta_%28software%29">Rosetta这个模拟器</a>来运行PowerPC代码，而Rosetta需要SSE3支持</p>
<p>如果需要脱离Vmware的Native运行，可能还要麻烦些，硬件要求如下：</p>
<blockquote><p>    * CPU: must support SSE3<br/><br />
    * Chipset: Intel 915 chipset (others may work if they support ich4 or ich5)<br/><br />
    * GPU<br/><br />
          o Intel Graphics Media Accelerator 900<br/><br />
    * Motherboard<br/><br />
          o Intel D915GUXLK (http://www.intel.com/design/motherbd/ux/ux_available.htm)</p>
</blockquote>
<p>当然也可以获取已经安装和补丁后的映像文件，没有这么麻烦，但这是非法的！</p>
<p>目前还不是很清楚这个版本的中文支持程度如何。</p>
<p><strong>Tiger的价值</strong><br/><br />
对我而言，Tiger的很多功能很有吸引力，特别是Spotlight这个桌面搜索引擎。用过iTunes软件的就能体会spotlight的强大、高效。</p>
<p><strong>参考资料</strong><br/><br />
<a href="http://www.osx86project.org/">http://www.osx86project.org/</a><br/><br />
<a href="http://wiki.osx86project.org/">http://wiki.osx86project.org/</a>
</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/mimitech/archive/2005/08/21/519660.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

