2014年1月17日 星期五

stressapptest

stressapptest

20141225 update

download latest package 1.0.7
https://drive.google.com/folderview?id=0B9osgFjBr2UyaWdiWndZUFZrTzg&usp=sharing#list

1. Install stressapptest      
 "#tar zxvf stressapptest-1.0.7_autoconf.tar.gz"      
 #./configure   
 "#make
#sudo make install"      
2. Execute stressapptest      
 #stressapptest -s 172800 -M 1024 -m 8 -i 8 -C 8 -W -n 127.0.0.1 --listen  -f /tmp/file1 -f /tmp/file2 -d /dev/sdb -c 4 -l  /var/log/stressapptest.log      
       
       
  -s 172800    =>Run time in seconds      
  -M 1024 -m 8 -i 8  => -M memory size      
  -C 8  => number of memory CPU stress threads to run    =>This number can be set to 256, if your CPU is powerful
  -W =>Use more CPU-stressful memory copy      
  -n 127.0.0.1 --listen => Network stress      
  -f /tmp/file1 -f /tmp/file2 =>File copy       
  -d /dev/sdb -c 4 =>Stress disk      
  -l  /var/log/stressapptest.log  =>record log      
       
3. When running stress, run "top" to check CPU & memory usage      

Check if windows system support trim for SSD

Check if windows system support trim for SSD

1.Open cmd
2.#fsutil behavior query disabledeletenotify
3.DisableDeleteNotify=0 => Already enable trim

2014年1月16日 星期四

ESXi SRIOV

ESXi SRIOV fuction


1.Upload driver(Including all folder and file under "ixgbe-3.18.7" to datastore)
2.Enter VM to maintain mode (Right click vm host under vsphere=>Enter manintain mode)


3.Execute CLI command: (Enable ESXi shell)

   #esxcli software vib install -v /vmfs/volume/datastore/xxx.vib         (必須用絕對路徑)
4.#esxcli system module parameters set -m ixgbe -p "max_vfs=8,8"

If you have more NIC card, execute
#esxcli system module parameters set -m ixgbe -p "max_vfs=8,8,8,8"

5.Reboot


(By my experince ,SRIOV total number cannot over 52 clients)

Simple dd command to test HDD read/write performance under linux

Simple dd command to test HDD read/write performance under linux Read #dd oflag=direct if=/dev/zero of=/mnt/test bs=512k count=200...