NetBench simple HOWTO
上一篇 / 下一篇 2008-01-10 00:04:05 / 个人分类:网络测试工具
NetBenchsimple HOWTO51Testing软件测试网%Z@e:_0l}Lrs
6j@V%aL9e#[2x!ne051Testing软件测试网U,prY3Q5S
51Testing软件测试网
b{.kd;Y+g0U]
NetBench is a portable benchmark program that measures how well a file server handles file I/O requests from 32-bit Windows clients, which pelt the server with requests for network file operations. NetBench reports throughput and client response time measurements. To run NetBench, you need a file server, a PC running Windows NT/2000 or Windows XP (called the controller) to start and monitor the tests, and clients that are running Windows 95/98, Windows NT/2000, or Windows XP.
2Jum3~1N"\051Testing软件测试网gw;vqV-D●Pre-knowledge:51Testing软件测试网#KG-n#z%U [p\
51Testing软件测试网8Z Fga_R'u?Linux Command: mount, umount, fdisk, ls, vi, mkreiserfs, ifconfig,
A9_qGP{pS/E051Testing软件测试网~av,T)_;b+w.r●Structural diagram:51Testing软件测试网S.P3b6h0uQ)?MY%w2u
51Testing软件测试网-O-CQc{2~vK
51Testing软件测试网+G`!ZU4F#u*S`U['riU●Procedure:
)BE'?7w'k Ct'F;d7J8y051Testing软件测试网BV$jo/z1. Mount disk to DUT and partition disk. [Operate on terminal]
3x0v;f2}#r2s,M051Testing软件测试网L5B#|u)}:A+\1.1 Plug indatawireandpower cable correctly, assure system run normally.51Testing软件测试网*R4k"\'x-k`3`r
51Testing软件测试网8l*q[!X%tD-Zk `1.2 To get the disk information with command “fdisk -l”. You can find that the disk is identified or not by system. If find, the terminal will prompt the disk information, e.g.:/dev/sda.51Testing软件测试网 WV@6?5FfQY$e
51Testing软件测试网5Q$^7XTo1W1.3 Partition disk with command “fdisk /dev/sda”. You will create partial “/dev/sda1”. (Detail information about command “fdisk”, please refer to man help.)51Testing软件测试网)Q:E@*g%hr5]uh~
51Testing软件测试网d{)]xig+et8k~ r1.4 Build up file system on the partial with command “mkreiserfs /dev/sda1”. (Need DUT support.)51Testing软件测试网&R,R0T#?Xy*{
6r,[3|"^i(ni q"s01.5 Mount partial “/dev/sda1” with command “mount /dev/sda1 /mnt/sda”. First of all need making directory “/mnt/sda”.
V+u:ty%Q? I0-v` G f,dp w02. Share disk partial with Samba. [Operate on terminal]51Testing软件测试网ASR|b5~
u6h C}Tu({1n u0Samba support Windows to access Linux share file on LAN.51Testing软件测试网!k+M_IK m+y
9m6Tf0L:BFZV]0Procedure:51Testing软件测试网5]7c$a*z)Rv8u
Y'Cju%}02.1 Modified Samba config file.51Testing软件测试网 pQ"Q[3?;O
$E%a8b}1lPa2^0Command: #vi /root/usr/local/samba/lib/smb.config
2w^"x"K9r u09V jQq,Hp(Ru0Add below contents:51Testing软件测试网j+^#qb!q
0m Fxs@(q0[sda] # name of the share path
jq)l1tnv AE9p_d0q-j B6{rU#~&o