http://tech.qq.com/a/20130301/000004.htm
2013年8月29日 星期四
2013年8月27日 星期二
Linux disk I/O performance testing tool (IOPS)
http://www.iorate.org
使用方法:
1. vi devices.ior (檔案放在要測試的disk)
# File system example
Device = "/tmp/iorate.tst" capacity 8GB;
# UNIX raw device example
#Device = "/dev/rdsk/c901t0d0s2" capacity 4.1GB;
2. more patterns.ior (查看要測試的R/W參數)
Pattern 10 = "8k Random Read" io size 8KB random read;
Pattern 11 = "8k Seq Write" io size 8KB sequential write max sequential
10000;
Pattern 12 = "8k Random Write" io size 8KB random write;
10000;
3. vi tests.ior (測試讀寫8GB,block 8k,R:W=7:3,5分鐘)
Test 1 = " 8k Bus Test" for 300 sec ignore 30 sec size 8GB 70% pat 10, 30% pat 12;
#Test 2 = " 8k Bus Test" for 130 sec ignore 30 sec size 1MB 100% pat 9;
#Test 3 = "64k Bus Test" for 130 sec ignore 30 sec size 1MB 100% pat 21;
4. time dd if=/dev/zero of=/tmp/iorate.tst bs=8k count=1179648 (產生測試檔,必須大於8GB)
使用方法:
1. vi devices.ior (檔案放在要測試的disk)
# File system example
Device = "/tmp/iorate.tst" capacity 8GB;
# UNIX raw device example
#Device = "/dev/rdsk/c901t0d0s2" capacity 4.1GB;
2. more patterns.ior (查看要測試的R/W參數)
Pattern 10 = "8k Random Read" io size 8KB random read;
Pattern 11 = "8k Seq Write" io size 8KB sequential write max sequential
10000;
Pattern 12 = "8k Random Write" io size 8KB random write;
10000;
3. vi tests.ior (測試讀寫8GB,block 8k,R:W=7:3,5分鐘)
Test 1 = " 8k Bus Test" for 300 sec ignore 30 sec size 8GB 70% pat 10, 30% pat 12;
#Test 2 = " 8k Bus Test" for 130 sec ignore 30 sec size 1MB 100% pat 9;
#Test 3 = "64k Bus Test" for 130 sec ignore 30 sec size 1MB 100% pat 21;
4. time dd if=/dev/zero of=/tmp/iorate.tst bs=8k count=1179648 (產生測試檔,必須大於8GB)
5. ./iorate -p patterns.ior (執行I/O測試)
6. copy iorate.perf (iorate test result)
2022/6/2 update:
www.iorate.org 消失了,改用 fio 測試 IOPS。
yum install -y fio
在要測試的硬碟執行指令
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75
2013/8/24-25 南投二日遊
1. 草屯麻糬
以前在台中時吃過草屯的勇伯麻糬非常好吃,想說順路去買一下,可惜星期六剛好換成賣牛奶蛋糕,沒吃到~~~
地址:南投早上市場(六 日固定 南投市育樂街189號)
電話:0978-028-079, 0932-370-363, 0985-606-749 洪小姐
因為勇伯麻糬會在幾個市場輪流擺攤,所以去之前打個電話問一下比較保險。
2013/9/19 終於買到了,麻糬照片請看這一篇。
http://tw.myblog.yahoo.com/103178/article?mid=48 (Yahoo blog 2013/12/26要關站)
http://www.wretch.cc/blog/buddy37y/4036
http://www.wretch.cc/blog/buddy37y/4080
以前在台中時吃過草屯的勇伯麻糬非常好吃,想說順路去買一下,可惜星期六剛好換成賣牛奶蛋糕,沒吃到~~~
地址:南投早上市場(六 日固定 南投市育樂街189號)
電話:0978-028-079, 0932-370-363, 0985-606-749 洪小姐
因為勇伯麻糬會在幾個市場輪流擺攤,所以去之前打個電話問一下比較保險。
2013/9/19 終於買到了,麻糬照片請看這一篇。
http://tw.myblog.yahoo.com/103178/article?mid=48 (Yahoo blog 2013/12/26要關站)
http://www.wretch.cc/blog/buddy37y/4036
http://www.wretch.cc/blog/buddy37y/4080
2013年8月19日 星期一
CentOS 4.8 Perl Tk
Error message:
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Tk/Tk.so: undefined symbol: SvIV_nomg
OS: CentOS 4.8 (install everything)
Tk: install via "cpan -i Tk"
Try 1: 強制重新安裝,無效。
cpan -f -i Tk
http://stackoverflow.com/questions/5406322/how-to-rebuild-reinstall-dependencies-of-an-up-to-date-cpan-module
Try 2: 安裝舊版 Tk module,OK.
1. download 舊版 Tk module.
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Tk/Tk.so: undefined symbol: SvIV_nomg
OS: CentOS 4.8 (install everything)
Tk: install via "cpan -i Tk"
Try 1: 強制重新安裝,無效。
cpan -f -i Tk
http://stackoverflow.com/questions/5406322/how-to-rebuild-reinstall-dependencies-of-an-up-to-date-cpan-module
Try 2: 安裝舊版 Tk module,OK.
1. download 舊版 Tk module.
2013年8月12日 星期一
2013年8月5日 星期一
2013年8月1日 星期四
VMware vCenter Server Appliance install steps
Steps:
1. open VMware vSphere Client. connect to host.
2. Deploy OVF Template.
3. power on the vCenter VM. It will get IP address via DHCP.
4. use browser connecting to vCenter. https://vCenter_IP_address:5480. Default account: root, password: vmware
5. change to static IP address.
6. Regenerate certificates by selecting the Toggle certificate setting button.
(Use IE. The Admin page is blank under Chrome browser)
1. open VMware vSphere Client. connect to host.
2. Deploy OVF Template.
3. power on the vCenter VM. It will get IP address via DHCP.
4. use browser connecting to vCenter. https://vCenter_IP_address:5480. Default account: root, password: vmware
5. change to static IP address.
6. Regenerate certificates by selecting the Toggle certificate setting button.
(Use IE. The Admin page is blank under Chrome browser)
訂閱:
文章 (Atom)