2010年1月14日 星期四

ESXi with HP P4x0 array card cause low performance

Enviroment : ESXi 4.0 U1 + HP DL380G6 16G ram with P410i 256M cache

實測磁碟效能大約5M/s

查了不少文件,國外文件直接指向Raid Card 需要加裝BBWC(Battery Backend Write Cache) 以避免ESXi有Lazy Cache的大頭症。

裝上替換的512M cache 跟Battery Pack後

實測磁碟效能大約78M/s

目前沒有實測過hyper-v,不過推測應該沒有這個問題才是。

2010年1月12日 星期二

Tomcat Tuning Notes

Just for Tomcat 6.x and JRE 5.x

file:server.xml

<Connector port="80"

 protocol="org.apache.coyote.http11.Http11NioProtocol"

      maxThreads="400"

      connectionTimeout="20000"

  acceptorThreadCount="8" 有幾顆CPU就填上幾個執行緒

      redirectPort="8443"

  enableLookups="false"

      socket.directBuffer="false" />

Tomcat configuration: (最小值與最大值最好一致)

initial memory pool: 

Maximum memory pool:

2010年1月9日 星期六

Apple usb ethernet adapter for win7 x64 driver

M,134
最近常常覺得為了設定switch常常網路線要拔來拔去很麻煩,就決定多買一張網卡方便使用。
本來是打算買Linksys EC1000 gigabit express card
不過Y拍找不到,國外的拍賣網站都沒貨(Linksys本身的網路商店也是缺貨)
看了一下Y拍國慘的express card 看起來真是慘不忍睹就放棄啦。
最後終於找到這個
MB442
蘋果的USB Ethernet Adapter 科技感比較差一點(沒有任何燈號是怎樣!),但是質感還算不錯,當然透過USB只有10/100M 就別太苛求了。
而且還有通過win7的相容測試哦 windows 7 compatiable center
隔天中午就跑去光華的蘋果專賣店買了一隻回來。
(店員還很好心的跟我說:官方說法這個USB網卡只有支援MacBook Air)
帶回家接上PC果然是抓不到Driver,Google一下很快的就找到解法
Tutorial: Apple Boot Camp for 64-bit Windows 7 (including Macbook Air)
這邊把重要的部分節錄出來
首先下載 Drivers
32-bit:
http://www.asix.com.tw/FrootAttach/driver/AX88772_772A_Vista_32bit_Driver_v3.8.3.14_WHQL.zip
64-bit:
http://www.asix.com.tw/FrootAttach/driver/AX88772_772A_Vista_64bit_Driver_v3.10.3.14_WHQL.zip
解開後編輯裡面的INI檔
找到 [USB.NTamd64] 這行
然後在後面加入
%USB200M.DeviceDesc% = USB200M.Ndi,USB\VID_05AC&PID_1402

接著往後找Driver parameters 註解區
一樣在後面加入
[USB200M.Ndi]
AddReg = AX88772.NT.Reg, AX88772A.Con.Reg
Characteristics = 0x84
BusType = 15
CopyFiles = CopyFile.Sys
*IfType = 6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMedium802_3
[USB200M.Ndi.Services]
AddService = AX88772, 2, AX88772.Service, Common.EventLog
最後一步找到 Localizable strings 這行
把下面這段
ASIX = "ASIX"
AX88772.DiskName = "USB2.0 to Fast Ethernet Driver Diskette"
AX88772.DeviceDesc = "ASIX AX88772 USB2.0 to Fast Ethernet Adapter"
AX88772A.DeviceDesc = "ASIX AX88772A USB2.0 to Fast Ethernet Adapter"
MSI.DeviceDesc = "MSI USB Network Controller"
AX88772.DisplayName = "USB2.0 to Fast Ethernet Adapter"
用下面這段取代
ASIX = "Apple"
USB200M.DiskName = "Apple USB Ethernet Adapter CD"
AX88772.DeviceDesc = "ASIX AX88772 USB2.0 to Fast Ethernet Adapter"
USB200M.DeviceDesc = "Apple USB Ethernet Adapter"
MSI.DeviceDesc = "MSI USB Network Controller"
AX88772.DisplayName = "USB2.0 to Fast Ethernet Adapter"
好啦~大功告成!!把驅動程式安裝上來!!
aaadevice

懶人包x64(modified file) : Download

reference:
Apple Discussions : Apple USB Ethernet Adapter

2010年1月8日 星期五

Zyxel ES-4124 Reset Password

image

 

1. 將console 線接上

2. 開機時進入debug mode

3. 執行atlc

4.上傳   380AIC1C0.rom (此檔案在firmware裡面有)

5.沒有錯誤發生請執行atgo

6.完成 使用預設帳號密碼進入