<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.2" -->
<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/"
	>

<channel>
	<title>连涛的Blog - Jesse's Blog</title>
	<link>http://www.elian.co.uk</link>
	<description>连涛的Blog - Jesse's Blog</description>
	<pubDate>Wed, 20 Aug 2008 19:14:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>
	<language>en</language>
			<item>
		<title>“ATOMIC BAND” - ITune Server - V2</title>
		<link>http://www.elian.co.uk/2008/04/28/atomic-band-itune-server-v2/</link>
		<comments>http://www.elian.co.uk/2008/04/28/atomic-band-itune-server-v2/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 19:14:42 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>atomic band</b></category><category><b>fb7</b></category><category><b>freebsd</b></category><category><b>freebsd 7</b></category><category><b>freebsd ports</b></category><category><b>gcc</b></category><category><b>gcc v4</b></category><category><b>itune server</b></category><category><b>mt daapd</b></category><category><b>Networking</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2008/04/28/atomic-band-itune-server-v2/</guid>
		<description><![CDATA[I wrote a post on install ITune Server on FC6 (http://www.elian.co.uk/2007/04/12/atomic-band-itune-server/)
Due to recent upgrade our internal server to FreeBSD 7, I am looking for a similar solution for ITune Server on FB7.  When FB7 first released, the default C compile is gcc v4.2 and mt-daap was &#8220;known-not-compatible&#8221; with gcc 4. However, recently I find the new version [...]]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2008/04/28/atomic-band-itune-server-v2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>vim problem on freebsd</title>
		<link>http://www.elian.co.uk/2008/01/30/vim-problem-on-freebsd/</link>
		<comments>http://www.elian.co.uk/2008/01/30/vim-problem-on-freebsd/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 23:09:55 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>
<category><b>freebsd</b></category><category><b>term</b></category><category><b>vim</b></category><category><b>xterm</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2008/01/30/vim-problem-on-freebsd/</guid>
		<description><![CDATA[When using $TERM=xterm, arrow-keys wont work. the work around is re-assign arrow-keys using following command:
In vimrc:

set t_ku= (now type Ctrl-V and press cursor up)
set t_kd= (now type Ctrl-V and press cursor down)
set t_kr= (now type Ctrl-V and press cursor right)
set t_kr= (now type Ctrl-V and press cursor left)  
freebsd, term, vim, xterm]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2008/01/30/vim-problem-on-freebsd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TAO&#8217;s Kernel</title>
		<link>http://www.elian.co.uk/2007/12/23/taos-kernel/</link>
		<comments>http://www.elian.co.uk/2007/12/23/taos-kernel/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 14:59:38 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>Computing</b></category><category><b>freebsd</b></category><category><b>freebsd 7</b></category><category><b>kernel</b></category><category><b>OS</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/12/23/taos-kernel/</guid>
		<description><![CDATA[# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2 2007/12/15 02:57:30 scottl Exp $
cpu        I486_CPU
cpu        I586_CPU
cpu        I686_CPU
ident        TAO
# To statically compile in device wiring instead of /boot/device.hints
#hints        &#8220;GENERIC.hints&#8221;        # Default places to look for devices.
makeoptions    DEBUG=-g        # Build kernel with gdb(1) debug symbols
#options     SCHED_4BSD        # 4BSD scheduler
options        SCHED_ULE
options     PREEMPTION    [...]]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/12/23/taos-kernel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Compile FreeBSD Kernel</title>
		<link>http://www.elian.co.uk/2007/12/23/compile-freebsd-kernel/</link>
		<comments>http://www.elian.co.uk/2007/12/23/compile-freebsd-kernel/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 13:11:10 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>cflags</b></category><category><b>Computing</b></category><category><b>freebsd</b></category><category><b>kernel</b></category><category><b>OS</b></category><category><b>ule</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/12/23/compile-freebsd-kernel/</guid>
		<description><![CDATA[First of all, you need to  have full FreeBSD source tree to build the kernel. If you dont, download them now.
* COPY /usr/src/sys/i386/conf/GENERIC /root/sys/TAO and ln -s /root/sys/TAO /usr/src/sys/i386/conf/TAO
* vi /root/sys/TAO, comment all the device you dont need
* Change scheduler to ULE if you are using FreeBSD 7 (experimental), as mention by Kris, new [...]]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/12/23/compile-freebsd-kernel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My FreeBSD installation</title>
		<link>http://www.elian.co.uk/2007/12/23/my-freebsd-installation/</link>
		<comments>http://www.elian.co.uk/2007/12/23/my-freebsd-installation/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 12:03:20 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>Computing</b></category><category><b>freebsd</b></category><category><b>freebsd 6</b></category><category><b>freebsd 7</b></category><category><b>kernel</b></category><category><b>mail</b></category><category><b>minimal installation</b></category><category><b>OS</b></category><category><b>sendmail</b></category><category><b>vim</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/09/09/my-freebsd-installation/</guid>
		<description><![CDATA[* Minimal installation(very simply, google it or follow the manual book on FreeBSD website). enable softupdate for non-root slice
* Install man package
* Install cvsup by pkg_add -r cvsup-without-gui (run rehash or re-login)
* Install vim &#8220;pkg_add -r vim-lite&#8221;
* Using vim instead of vi(may have security issue, careful!). ln -s /usr/local/bin/vim /bin/vi
* Copy /usr/local/share/vim71/vimrc_example.vim to /usr/local/share/vim71/vimrc (gramma [...]]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/12/23/my-freebsd-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Does FreeBSD 7 solve its MySQL problem?</title>
		<link>http://www.elian.co.uk/2007/12/22/does-freebsd-7-solve-its-mysql-problem/</link>
		<comments>http://www.elian.co.uk/2007/12/22/does-freebsd-7-solve-its-mysql-problem/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 18:19:12 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>4bsd</b></category><category><b>7</b></category><category><b>Computing</b></category><category><b>freebsd</b></category><category><b>mysql</b></category><category><b>Networking</b></category><category><b>new features</b></category><category><b>OS</b></category><category><b>performance</b></category><category><b>ule</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/12/22/does-freebsd-7-solve-its-mysql-problem/</guid>
		<description><![CDATA[A very famous article by Jeremy pointed out the reason mysql database had lower performance on BSD system which is my most preferred OS (http://jeremy.zawodny.com/blog/archives/000203.html). Although, there is a work-around by using LinuxThread (http://pauillac.inria.fr/~xleroy/linuxthreads/), it cannot satisfy all the pure BSDers.
Since the annoucement of V7, many people are exciting for its new features. Especially, the [...]]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/12/22/does-freebsd-7-solve-its-mysql-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD announce the release date of V7</title>
		<link>http://www.elian.co.uk/2007/10/25/freebsd-announce-the-release-date-of-v7/</link>
		<comments>http://www.elian.co.uk/2007/10/25/freebsd-announce-the-release-date-of-v7/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 17:24:57 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>Computing</b></category><category><b>freebsd</b></category><category><b>freebsd os</b></category><category><b>OS</b></category><category><b>release date</b></category><category><b>v7</b></category><category><b>version 7</b></category><category><b>zfs</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/10/25/freebsd-announce-the-release-date-of-v7/</guid>
		<description><![CDATA[FreeBSD team announced the release date of another major upgrade for version 7 of FreeBSD OS.
http://www.freebsd.org/releases/7.0R/schedule.html
As everyone knows, V7 will have a massive change comparing V6, such as ZFS etc. I am really looking forward to seeing it.
Computing, freebsd, freebsd os, OS, release date, v7, version 7, zfs]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/10/25/freebsd-announce-the-release-date-of-v7/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD 的优化参数</title>
		<link>http://www.elian.co.uk/2007/09/10/freebsd-%e7%9a%84%e4%bc%98%e5%8c%96%e5%8f%82%e6%95%b0-2/</link>
		<comments>http://www.elian.co.uk/2007/09/10/freebsd-%e7%9a%84%e4%bc%98%e5%8c%96%e5%8f%82%e6%95%b0-2/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 21:11:33 +0000</pubDate>
		<dc:creator>Tao</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>
<category><b>Computing</b></category><category><b>freebsd</b></category><category><b>OS</b></category>
		<guid isPermaLink="false">http://www.elian.co.uk/2007/09/10/freebsd-%e7%9a%84%e4%bc%98%e5%8c%96%e5%8f%82%e6%95%b0-2/</guid>
		<description><![CDATA[来源：iceblood 作者： 发布时间：2007-04-06
很多人想优化自己的FreeBSD，特别是在网络性能以及内核调整上，因为这些是最直接的优化方式。在这里我收集整理并用中文注释了一下，相信很多人用得到。
#最大的待发送TCP数据缓冲区空间
net.inet.tcp.sendspace=65536
#最大的接受TCP缓冲区空间
net.inet.tcp.recvspace=65536
#最大的接受UDP缓冲区大小
net.inet.udp.sendspace=65535
#最大的发送UDP数据缓冲区大小
net.inet.udp.maxdgram=65535
#本地套接字连接的数据发送空间
net.local.stream.sendspace=65535
#加快网络性能的协议
net.inet.tcp.rfc1323=1
net.inet.tcp.rfc1644=1
net.inet.tcp.rfc3042=1
net.inet.tcp.rfc3390=1
#最大的套接字缓冲区
kern.ipc.maxsockbuf=2097152
#系统中允许的最多文件数量
kern.maxfiles=65536
#每个进程能够同时打开的最大文件数量
kern.maxfilesperproc=32768
#当一台计算机发起TCP连接请求时，系统会回应ACK应答数据包。
#该选项设置是否延迟ACK应答数据包，把它和包含数据的数据包一起发送，
#在高速网络和低负载的情况下会略微提高性能，但在网络连接较差的时候，
#对方计算机得不到应答会持续发起连接请求，反而会降低性能。
net.inet.tcp.delayed_ack=0
#屏蔽ICMP重定向功能
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=1
net.inet.ip.redirect=0
net.inet6.ip6.redirect=0
#防止ICMP广播风暴
net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
#限制系统发送ICMP速率
net.inet.icmp.icmplim=100
#安全参数，编译内核的时候加了options TCP_DROP_SYNFIN才可以用
net.inet.icmp.icmplim_output=0
net.inet.tcp.drop_synfin=1
#设置为1会帮助系统清除没有正常断开的TCP连接，这增加了一些网络带宽的使用，但是一些死掉的连接最终能被识别并清除。死的TCP连接是被拨号用户存取的系统的一个特别的问题，因为用户经常断开modem而不正确的关闭活动的连接
net.inet.tcp.always_keepalive=1
#若看到net.inet.ip.intr_queue_drops这个在增加，就要调大net.inet.ip.intr_queue_maxlen，为0最好
net.inet.ip.intr_queue_maxlen=1000
#防止DOS攻击，默认为30000
net.inet.tcp.msl=7500
#接收到一个已经关闭的端口发来的所有包，直接drop，如果设置为1则是只针对TCP包
net.inet.tcp.blackhole=2
#接收到一个已经关闭的端口发来的所有UDP包直接drop
net.inet.udp.blackhole=1
#为网络数据连接时提供缓冲
net.inet.tcp.inflight.enable=1
#如果打开的话每个目标地址一次转发成功以后它的数据都将被记录进路由表和arp数据表，节约路由的计算时间,但会需要大量的内核内存空间来保存路由表
net.inet.ip.fastforwarding=0
##kernel编译打开options POLLING功能，高负载情况下使用低负载不推荐
##SMP不能和polling一起用
#kern.polling.enable=1
#并发连接数，默认为128，推荐在1024-4096之间，数字越大占用内存也越大
kern.ipc.somaxconn=32768
#禁止用户查看其他用户的进程
security.bsd.see_other_uids=0
#设置kernel安全级别
kern.securelevel=0
#记录下任何TCP连接
net.inet.tcp.log_in_vain=1
#记录下任何UDP连接
net.inet.udp.log_in_vain=1
#防止不正确的udp包的攻击
net.inet.udp.checksum=1
#防止DOS攻击
net.inet.tcp.syncookies=1
#仅为线程提供物理内存支持，需要256兆以上内存
kern.ipc.shm_use_phys=1
# 线程可使用的最大共享内存
kern.ipc.shmmax=67108864
# 最大线程数量
kern.ipc.shmall=32768
# 程序崩溃时不记录
kern.coredump=0
# lo本地数据流接收和发送空间
net.local.stream.recvspace=65536
net.local.dgram.maxdgram=16384
net.local.dgram.recvspace=65536
# 数据包数据段大小，ADSL为1452。
net.inet.tcp.mssdflt=1460
# 为网络数据连接时提供缓冲
net.inet.tcp.inflight_enable=1
# 数据包数据段最小值，ADSL为1452
net.inet.tcp.minmss=1460
# 本地数据最大数量
net.inet.raw.maxdgram=65536
# 本地数据流接收空间
net.inet.raw.recvspace=65536
#ipfw防火墙动态规则数量，默认为4096，增大该值可以防止某些病毒发送大量TCP连接，导致不能建立正常连接
net.inet.ip.fw.dyn_max=65535
#设置ipf防火墙TCP连接空闲保留时间，默认8640000（120小时）
net.inet.ipf.fr_tcpidletimeout=864000
#所有MPSAFE的网络ISR对包做立即响应
net.isr.direct=1
Computing, freebsd, OS]]></description>
		<wfw:commentRss>http://www.elian.co.uk/2007/09/10/freebsd-%e7%9a%84%e4%bc%98%e5%8c%96%e5%8f%82%e6%95%b0-2/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
