delphij's Chaos
选择chaos这个词是因为~~实在很难找到一个更合适的词来形容这儿了……
今天突发奇想找到的。
我们是共产主义接班人,
继承革命先辈光荣传统,
爱祖国,爱人民,
鲜艳的红领巾飘扬在前胸。
不怕困难,不怕牺牲,顽强学习,
坚决斗争,向着胜利勇敢前进,
向着胜利勇敢前进,前进,
向着胜利勇敢前进,
我们是共产主义接班人。
For those who does not track FreeBSD-CURRENT -current@, Andre Opperamann (andre@) has just posted a new progress for his TCP/IP optimization:
This is a continuation of the previous postings with similiar titles. New is a specific soreceive_stream() function for stream protocols (primarily TCP)
Read more...
that does only one socket buffer lock per socket read instead of one per data mbuf
copied to userland. When doing netperf tests with WITNESS (full lock tracking and
validation enabled) the receive performance increases from ~360Mbit/s to ~520Mbit/s.
Without WITNESS I could not measure any statistically significant improvement on a
otherwise unloaded machine. The reason is two-fold: 1) per packet we do a wakeup
and readv() is pretty much as many times as packets come it, thus the general over-
head dominates; 2) the packet input path has a pretty high overhead too. On heavily
loaded machines which do a lot of high speed receives a performance increase should
be measureable.
An internal discussion happened in -developers@ has finally decided that we put ULE scheduler back to the “experimental” state, in order to reduce the number of reports about crashes and other bad things for it.
Currently the fact that ULE is not being actively maintained is the cause of this change. We hope that we can find someone who has interest on it. Additionally, it is worthy to have a look at David Xu’s new “CORE” scheduler (a ULE fork, using Linux’s algorithm).
Read more...以下内容为作弊条,仅供参考;只保证在FreeBSD下能用。
为postfix配置TLS的关键是产生自己的CA证书,并签署一年一续的服务证书。注意一定要保管好前者的私钥!
第一步,创建自签名CA:
mkdir /usr/local/etc/ca
cd /usr/local/etc/ca
mkdir certs crl newcerts private
echo 「01」 > serial
cp /dev/null index.txt
cp /etc/ssl/openssl.cnf openssl.cnf
vi openssl.cnf
之前zoomq同学说trac-dev版本很好用,不过我总觉得在如此重要的生产系统上玩CURRENT一类的东西是给自己找麻烦,可是trac的发行版本一直都没有出,直到前几天扫描PR,发现宋政隆同学已经提交了一个patch,于是直接升级了。
没听说过trac,专职做开发的同学请自觉面壁一分钟 :P
Read more...转载请注明出处: https://blog.delphij.net
注意:本文内容已经过时,不再更新。最新内容请参见我在2023年6月的这一篇。
域名服务与邮件服务一样,是非常重要的互联网基础服务。与几年前动辄每年几十$,到现今最低至1.99$的注册服务,域名注册服务商能够从中获取的利润也越来越少。
为了解决利润的问题,多数域名注册服务提供商(Registrar)会捆绑销售一些其它的产品,例如虚拟主机、企业邮箱,乃至新兴的个人blog等等。透过这些服务,他们能够获取更多的利润,同时,这些服务也满足了一些不愿或不会自己架设域名、主页、邮件服务器的用户的需要。幸运的是,这些用户占全部用户总数中的绝大多数。
这里将要讨论的是愿意花费时间精力,并且有能力自己架设域名解析、主页和邮件等服务的用户的需求。首先,架设域名解析等服务器是需要有一些投入的,另一方面,在这种情况下,往往域名注册服务提供商提供的其它服务,例如虚拟主机等,就不再是必要或完全是多余的了,因此,此时价格、可靠性等就成了最大的决定性因素。
Read more...The patch is available at: http://people.freebsd.org/~delphij/for_review/bsd_gzip/. Please note that this is considered experimental and it is preliminary for FreeBSD for now, while I think it is very mature code and has been available on NetBSD for years. Positive and negative feedbacks are all welcome.
Read more...今天是10月2号,照例从电钻的噪声中吵醒。真有点想冲到楼上、楼下去骂人。
Read more...好好睡了一觉。今年国庆北京的交通拥堵现象依旧,不打算尝试去太远的地方了。
BTW. 端木同学今天正式进入奔三的年纪,哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
Read more...总算支持了……这款声卡见于Dell Latitude D620/D820机型。
Read more...