分類彙整: FreeBSD

2011 夏日省電大作戰

本站的伺服器自 2006 年採用 Intel Q6600 至今已屆五年,
雖然近來無恙但考慮到器材老舊與廢熱排放,
索性趁著記憶體價格崩盤及溽暑來臨之前物色新的硬體平台,
並試圖打造峰值耗電小於 150w 的節能伺服器。

閱讀全文 2011 夏日省電大作戰

夏日省電大作戰 – ubench

炎炎夏日,為了達到節能減碳並降低電腦排放廢熱的目的,
對家裡的兩台主力機做了如下的降頻降壓設定;看看調整後的效能表現如何吧。

Processor Original V. Original F. Reduced V. Reduced F.
Server Core 2 Quad Q6600 1.25 V o.c. 3.0 GHz 1.00 V 1.2 GHz
Desktop Core i7 920 1.15 V o.c. 3.6 GHz 0.85 V 1.6 GHZ

閱讀全文 夏日省電大作戰 – ubench

Bourne Shell 中 read 的 silent mode

這兒近三個月沒發表技術性的文章,實在情非得已。

今年負責的專案,是典型的 one man force 模式,
從先期研究到兩階段開發一手包辦,歷經八個月著實累積不少知識。
但是礙於 NDA (Non-disclosure agreement),在開發期間無法提及太多技術細節。

趕在年底休假前,將成果交付給合作單位,
現在可以暢所欲言來談技術細節了…(去它的 NDA)

閱讀全文 Bourne Shell 中 read 的 silent mode

FreeBSD 中如何取得 ATA 裝置資訊

(For English version, please read previous post.)

最近替工作單位的 SVN Server 新加了兩顆 SATA 1TB 的硬碟,
但後來為了財產登記,必須取得硬體型號 (Model Number) 及序號 (Serial Number)。

身為一個 IT 人,秉持著說多懶就有多懶的原則,
當然不肯多花時間拆機殼、拔硬碟、看序號,
於是便試圖找尋以軟體指令查詢硬碟資訊的方法…
閱讀全文 FreeBSD 中如何取得 ATA 裝置資訊

How to Inquire ATA Device Information in FreeBSD

(中文版請見後一篇)

Recently, I added two SATA 1TB hard drives into the SVN server of my team. For inventory control, the model number and the serial number of new hardware must be reported. As an IT guy, I won’t bother to remove the chassis, unplug the HD and then check the S/N. So I was trying to look for way to obtain the device information as easy as possible…
閱讀全文 How to Inquire ATA Device Information in FreeBSD