優化 Kernel 個人覺得很重要
雖然有現成的 CentOS 的 kernel rpm 可以用
但還是不太符合目前的環境 所以要自己動手了
我的目標是編出一個高效的 kernel
目前已知 LinuxDNA 在做這件事
但只有 Intel, For AMD 本人在找
LinxDNA http://www.linuxdna.com/
http://www.linuxjournal.com/content/linuxdna-supercharges-linux-intel-cc-compiler
Monday, April 13, 2009
Wednesday, April 08, 2009
亂找 優化超大記憶體的 Server
目前要優化 Server 效能
CPU 4*2 , Memory 64Gb
一個 job 可能大到數十 Gb
目前用了這一些關鍵字在找
linux large scale
linux 64G memory sysctl.conf
nr_hugepages 64bit
nr_hugepages 64G
enterprise linux performance tuning -- 這個關鍵字不錯喔 2009/04/13
make linux high performance kernel -- 2009/04/13
CPU 4*2 , Memory 64Gb
一個 job 可能大到數十 Gb
目前用了這一些關鍵字在找
linux large scale
linux 64G memory sysctl.conf
nr_hugepages 64bit
nr_hugepages 64G
enterprise linux performance tuning -- 這個關鍵字不錯喔 2009/04/13
make linux high performance kernel -- 2009/04/13
Monday, April 06, 2009
gmail 新增的 task list 功能很不錯喔 - 可以提醒自己忘了甚麼事
常忘記甚麼事嗎?偏偏又常常忘記在行事曆新增工作呢?
Gmail 有個很棒的功能就是把 Email 變成 Task
只要你有甚麼事情怕忘記 就把他勾起來變成 Task
這樣他就會一直顯示在 gmail 右下角提醒你
如果你是常忘記繳信用卡的小迷糊(好像是我啦) 這個東東就可以提醒你嚕
來設定吧!
目前因為還在測試 所以只支援英文版
所以先到 Gmail 的設定將改為 English(US)
然後再點右上角 Settings 左邊的綠色小瓶子, 點選就可以進入 Labs
找到 Tasks 選右邊 Enable (目前是第一個) Save Changes 即可。
Gmail 有個很棒的功能就是把 Email 變成 Task
只要你有甚麼事情怕忘記 就把他勾起來變成 Task
這樣他就會一直顯示在 gmail 右下角提醒你
如果你是常忘記繳信用卡的小迷糊(好像是我啦) 這個東東就可以提醒你嚕
來設定吧!
目前因為還在測試 所以只支援英文版
所以先到 Gmail 的設定將改為 English(US)
然後再點右上角 Settings 左邊的綠色小瓶子, 點選就可以進入 Labs
找到 Tasks 選右邊 Enable (目前是第一個) Save Changes 即可。
Friday, March 20, 2009
How to userspace l7 filter on Ubuntu
How to userspace l7 filter on Ubuntu
http://kuscsik.blogspot.com/2008/02/how-to-userspace-l7-filter-on-ubuntu.html
測試中~~~
http://kuscsik.blogspot.com/2008/02/how-to-userspace-l7-filter-on-ubuntu.html
測試中~~~
build squid3 on Ubuntu
apt-get update
apt-get install devscripts build-essential
apt-get source squid3
apt-get build-dep squid3
cd squid3-"version"
nano debian/rules # or whatever editor you use
add the --enable-icap-client line among the other --enable-blah- lines
debuild -us -uc
cd ..
dpkg -i your_built_package.deb
apt-get install devscripts build-essential
apt-get source squid3
apt-get build-dep squid3
cd squid3-"version"
nano debian/rules # or whatever editor you use
add the --enable-icap-client line among the other --enable-blah- lines
debuild -us -uc
cd ..
dpkg -i your_built_package.deb
Thursday, March 19, 2009
Ubuntu mirror.list - good example
個人覺得這樣寫比較好啦
deb-i386 就只抓 i386 這樣比較節省空間
我們公司兩者都有 所以兩者都寫
############# config ##################
#
#set base_path /var/spool/apt-mirror
set base_path /home/apt-mirror
#
# if you change the base path you must create the directories below with write privlages
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch
set nthreads 2
set _tilde 0
#
############# end config ##############
# Ubuntu 8.04 "Hardy" amd64
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
# Ubuntu 8.04 "Hardy" i386
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
clean http://tw.archive.ubuntu.com/ubuntu
deb-i386 就只抓 i386 這樣比較節省空間
我們公司兩者都有 所以兩者都寫
############# config ##################
#
#set base_path /var/spool/apt-mirror
set base_path /home/apt-mirror
#
# if you change the base path you must create the directories below with write privlages
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch
set nthreads 2
set _tilde 0
#
############# end config ##############
# Ubuntu 8.04 "Hardy" amd64
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
# Ubuntu 8.04 "Hardy" i386
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
clean http://tw.archive.ubuntu.com/ubuntu
Wednesday, March 18, 2009
快速重裝ubuntu
####快速重裝ubuntu####
dpkg --get-selections | grep -v deinstall > ubuntu.files #得到已安裝軟件列表文件
下次重裝ubuntu 的時候,執行
dpkg --set-selections < ubuntu.files
apt-get install nfs-common
apt-get install nfs-kernel-server
vi /etc/exports
app/nfs 192.168.1.6(ro)
/etc/init.d/nfs-kernel-server start
dpkg --get-selections | grep -v deinstall > ubuntu.files #得到已安裝軟件列表文件
下次重裝ubuntu 的時候,執行
dpkg --set-selections < ubuntu.files
apt-get install nfs-common
apt-get install nfs-kernel-server
vi /etc/exports
app/nfs 192.168.1.6(ro)
/etc/init.d/nfs-kernel-server start
Installation Checklist
Post installation checklist for Ubuntu Hardy Heron 8.04
http://ubuntuforums.org/showthread.php?t=803897
http://ubuntuforums.org/showthread.php?t=803897
Subscribe to:
Posts (Atom)
