1 |
Hi, |
2 |
I am trying to use iozone to test my cluster with ssh but not rsh, but |
3 |
I still can't running iozone on multiple nodes. |
4 |
|
5 |
I have two nodes node73 and node74 in my LAN. And each node is able to |
6 |
execute commands on another one without being challenged for a |
7 |
password with user "dnfs": |
8 |
dnfs@node73 ~ $ ssh node74 date |
9 |
Thu Jan 8 22:44:55 CST 2009 |
10 |
|
11 |
dnfs@Gnode74 ~ $ ssh node73 date |
12 |
Thu Jan 8 22:47:19 CST 2009 |
13 |
|
14 |
Iozone use rsh to execute commands on the clients, and now I use ssh |
15 |
to replace rsh: |
16 |
dnfs@node73 ~ $ cat ~/.bashrc |
17 |
# /etc/skel/.bashrc |
18 |
[...] |
19 |
# Put your fun stuff here. |
20 |
export RSH=ssh |
21 |
|
22 |
Here is my clientlist, which contains the nodes' information: |
23 |
dnfs@node73 ~ $ cat clientlist |
24 |
node74 /home/dnfs /tmp/iozone |
25 |
|
26 |
Then I run iozone on node73: |
27 |
/***********************************************************/ |
28 |
dnfs@node73 ~ $ iozone -s 1m -Rb log.xls -t 1 -+m clientlist |
29 |
Iozone: Performance Test of File I/O |
30 |
Version $Revision: 3.242 $ |
31 |
Compiled for 64 bit mode. |
32 |
Build: linux-AMD64 |
33 |
|
34 |
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins |
35 |
Al Slater, Scott Rhine, Mike Wisner, Ken Goss |
36 |
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, |
37 |
Randy Dunlap, Mark Montague, Dan Million, |
38 |
Jean-Marc Zucconi, Jeff Blomberg, |
39 |
Erik Habbinga, Kris Strecker, Walter Wong. |
40 |
|
41 |
Run began: Thu Jan 8 23:11:13 2009 |
42 |
|
43 |
File size set to 1024 KB |
44 |
Excel chart generation enabled |
45 |
Network distribution mode enabled. |
46 |
Command line used: iozone -s 1m -Rb log.xls -t 1 -+m clientlist |
47 |
Output is in Kbytes/sec |
48 |
Time Resolution = 0.000001 seconds. |
49 |
Processor cache size set to 1024 Kbytes. |
50 |
Processor cache line size set to 32 bytes. |
51 |
File stride size set to 17 * record size. |
52 |
Throughput test with 1 process |
53 |
Each process writes a 1024 Kbyte file in 4 Kbyte records |
54 |
/******************************************************/ |
55 |
Then iozone stoped here. |
56 |
|
57 |
I still use strace to see what happend: |
58 |
/******************************************************/ |
59 |
dnfs@node73 ~ $ strace iozone -s 1m -Rb log.xls -t 1 -+m clientlist |
60 |
execve("/usr/bin/iozone", ["iozone", "-s", "1m", "-Rb", "log.xls", |
61 |
"-t", "1", "-+m", "clientlist"], [/* 45 vars */]) = 0 |
62 |
brk(0) = 0x7cb000 |
63 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
64 |
0) = 0x7f67f3639000 |
65 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
66 |
0) = 0x7f67f3638000 |
67 |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) |
68 |
open("/etc/ld.so.cache", O_RDONLY) = 3 |
69 |
fstat(3, {st_mode=S_IFREG|0644, st_size=48606, ...}) = 0 |
70 |
mmap(NULL, 48606, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f67f362c000 |
71 |
close(3) = 0 |
72 |
open("/lib/librt.so.1", O_RDONLY) = 3 |
73 |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\"\0\0\0\0\0\0"..., |
74 |
832) = 832 |
75 |
fstat(3, {st_mode=S_IFREG|0755, st_size=35688, ...}) = 0 |
76 |
mmap(NULL, 2132968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, |
77 |
0) = 0x7f67f3217000 |
78 |
mprotect(0x7f67f321f000, 2093056, PROT_NONE) = 0 |
79 |
mmap(0x7f67f341e000, 8192, PROT_READ|PROT_WRITE, |
80 |
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f67f341e000 |
81 |
close(3) = 0 |
82 |
open("/lib/libpthread.so.0", O_RDONLY) = 3 |
83 |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W\0\0\0\0\0\0"..., |
84 |
832) = 832 |
85 |
fstat(3, {st_mode=S_IFREG|0755, st_size=131577, ...}) = 0 |
86 |
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, |
87 |
0) = 0x7f67f2ffc000 |
88 |
mprotect(0x7f67f3011000, 2097152, PROT_NONE) = 0 |
89 |
mmap(0x7f67f3211000, 8192, PROT_READ|PROT_WRITE, |
90 |
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f67f3211000 |
91 |
mmap(0x7f67f3213000, 13168, PROT_READ|PROT_WRITE, |
92 |
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f67f3213000 |
93 |
close(3) = 0 |
94 |
open("/lib/libc.so.6", O_RDONLY) = 3 |
95 |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\334\1\0\0\0\0\0"..., |
96 |
832) = 832 |
97 |
fstat(3, {st_mode=S_IFREG|0755, st_size=1293456, ...}) = 0 |
98 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
99 |
0) = 0x7f67f362b000 |
100 |
mmap(NULL, 3399928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, |
101 |
0) = 0x7f67f2cbd000 |
102 |
mprotect(0x7f67f2df3000, 2093056, PROT_NONE) = 0 |
103 |
mmap(0x7f67f2ff2000, 20480, PROT_READ|PROT_WRITE, |
104 |
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x7f67f2ff2000 |
105 |
mmap(0x7f67f2ff7000, 16632, PROT_READ|PROT_WRITE, |
106 |
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f67f2ff7000 |
107 |
close(3) = 0 |
108 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
109 |
0) = 0x7f67f362a000 |
110 |
arch_prctl(ARCH_SET_FS, 0x7f67f362a6f0) = 0 |
111 |
mprotect(0x7f67f2ff2000, 16384, PROT_READ) = 0 |
112 |
mprotect(0x7f67f3211000, 4096, PROT_READ) = 0 |
113 |
mprotect(0x7f67f341e000, 4096, PROT_READ) = 0 |
114 |
mprotect(0x62a000, 4096, PROT_READ) = 0 |
115 |
mprotect(0x7f67f363a000, 4096, PROT_READ) = 0 |
116 |
munmap(0x7f67f362c000, 48606) = 0 |
117 |
set_tid_address(0x7f67f362a780) = 31886 |
118 |
set_robust_list(0x7f67f362a790, 0x18) = 0 |
119 |
rt_sigaction(SIGRTMIN, {0x7f67f3001310, [], SA_RESTORER|SA_SIGINFO, |
120 |
0x7f67f3009ec0}, NULL, 8) = 0 |
121 |
rt_sigaction(SIGRT_1, {0x7f67f3001390, [], |
122 |
SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f67f3009ec0}, NULL, 8) = 0 |
123 |
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 |
124 |
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 |
125 |
uname({sys="Linux", node="Gentoo-F312-73", ...}) = 0 |
126 |
brk(0) = 0x7cb000 |
127 |
brk(0x7ec000) = 0x7ec000 |
128 |
open("/etc/localtime", O_RDONLY) = 3 |
129 |
fstat(3, {st_mode=S_IFREG|0644, st_size=405, ...}) = 0 |
130 |
fstat(3, {st_mode=S_IFREG|0644, st_size=405, ...}) = 0 |
131 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
132 |
0) = 0x7f67f3637000 |
133 |
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\3\0\0\0\0"..., |
134 |
4096) = 405 |
135 |
lseek(3, -240, SEEK_CUR) = 165 |
136 |
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\3\0\0\0\0"..., |
137 |
4096) = 240 |
138 |
close(3) = 0 |
139 |
munmap(0x7f67f3637000, 4096) = 0 |
140 |
rt_sigaction(SIGINT, {0x408b2c, [INT], SA_RESTORER|SA_RESTART, |
141 |
0x7f67f2ced430}, {SIG_DFL}, 8) = 0 |
142 |
rt_sigaction(SIGTERM, {0x408b2c, [TERM], SA_RESTORER|SA_RESTART, |
143 |
0x7f67f2ced430}, {SIG_DFL}, 8) = 0 |
144 |
mmap(NULL, 18878464, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, |
145 |
-1, 0) = 0x7f67f1abc000 |
146 |
open("clientlist", O_RDONLY) = 3 |
147 |
fstat(3, {st_mode=S_IFREG|0644, st_size=30, ...}) = 0 |
148 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
149 |
0) = 0x7f67f3637000 |
150 |
read(3, "node74 /home/dnfs /tmp/iozone\n", 4096) = 30 |
151 |
read(3, "", 4096) = 0 |
152 |
close(3) = 0 |
153 |
munmap(0x7f67f3637000, 4096) = 0 |
154 |
write(1, "\tIozone: Performance Test of Fil"..., 38 Iozone: |
155 |
Performance Test of File I/O |
156 |
) = 38 |
157 |
write(1, "\t Version $Revision: 3.24"..., 64 |
158 |
Version $Revision: 3.242 $ |
159 |
Compiled for 64 bit mode. |
160 |
) = 64 |
161 |
write(1, "\t\tBuild: linux-AMD64 \n\n", 23 Build: linux-AMD64 |
162 |
|
163 |
) = 23 |
164 |
write(1, "\tContributors:William Norcott, D"..., 71 |
165 |
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins |
166 |
) = 71 |
167 |
write(1, "\t Al Slater, Scott R"..., 60 |
168 |
Al Slater, Scott Rhine, Mike Wisner, Ken Goss |
169 |
) = 60 |
170 |
write(1, "\t Steve Landherr, Br"..., 69 |
171 |
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, |
172 |
) = 69 |
173 |
write(1, "\t Randy Dunlap, Mark"..., 57 |
174 |
Randy Dunlap, Mark Montague, Dan Million, |
175 |
) = 57 |
176 |
write(1, "\t Jean-Marc Zucconi,"..., 48 |
177 |
Jean-Marc Zucconi, Jeff Blomberg, |
178 |
) = 48 |
179 |
write(1, "\t Erik Habbinga, Kri"..., 58 |
180 |
Erik Habbinga, Kris Strecker, Walter Wong. |
181 |
|
182 |
) = 58 |
183 |
write(1, "\tRun began: Thu Jan 8 23:12:20 "..., 38 Run began: Thu |
184 |
Jan 8 23:12:20 2009 |
185 |
|
186 |
) = 38 |
187 |
write(1, "\tFile size set to 1024 KB\n", 26 File size set to 1024 KB |
188 |
) = 26 |
189 |
write(1, "\tExcel chart generation enabled\n", 32 Excel chart |
190 |
generation enabled |
191 |
) = 32 |
192 |
write(1, "\tNetwork distribution mode enabl"..., 36 Network |
193 |
distribution mode enabled. |
194 |
) = 36 |
195 |
write(1, "\tCommand line used:", 19 Command line used = 19 |
196 |
write(1, " iozone", 7 iozone) = 7 |
197 |
write(1, " -s", 3 -s) = 3 |
198 |
write(1, " 1m", 3 1m) = 3 |
199 |
write(1, " -Rb", 4 -Rb) = 4 |
200 |
write(1, " log.xls", 8 log.xls) = 8 |
201 |
write(1, " -t", 3 -t) = 3 |
202 |
write(1, " 1", 2 1) = 2 |
203 |
write(1, " -+m", 4 -+m) = 4 |
204 |
write(1, " clientlist", 11 clientlist) = 11 |
205 |
write(1, "\n", 1 |
206 |
) = 1 |
207 |
write(1, "\tOutput is in Kbytes/sec", 24 Output is in Kbytes/sec) = 24 |
208 |
write(1, "\n", 1 |
209 |
) = 1 |
210 |
write(1, "\tTime Resolution = 0.000001 seco"..., 37 Time |
211 |
Resolution = 0.000001 seconds. |
212 |
) = 37 |
213 |
write(1, "\tProcessor cache size set to 102"..., 42 Processor |
214 |
cache size set to 1024 Kbytes. |
215 |
) = 42 |
216 |
write(1, "\tProcessor cache line size set t"..., 44 Processor |
217 |
cache line size set to 32 bytes. |
218 |
) = 44 |
219 |
write(1, "\tFile stride size set to 17 * re"..., 43 File stride |
220 |
size set to 17 * record size. |
221 |
) = 43 |
222 |
write(1, "\tThroughput test with 1 process\n", 32 Throughput |
223 |
test with 1 process |
224 |
) = 32 |
225 |
shmget(IPC_PRIVATE, 16384, IPC_CREAT|0666) = 1376256 |
226 |
shmat(1376256, 0, 0) = ? |
227 |
shmctl(1376256, IPC_RMID, 0) = 0 |
228 |
write(1, "\tEach process writes a 1024 Kbyt"..., 58 Each process |
229 |
writes a 1024 Kbyte file in 4 Kbyte records |
230 |
) = 58 |
231 |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 |
232 |
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [262144], 4) = 0 |
233 |
bind(3, {sa_family=AF_INET, sin_port=htons(20000), |
234 |
sin_addr=inet_addr("0.0.0.0")}, 16) = 0 |
235 |
rt_sigaction(SIGINT, {SIG_IGN}, {0x408b2c, [INT], |
236 |
SA_RESTORER|SA_RESTART, 0x7f67f2ced430}, 8) = 0 |
237 |
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 |
238 |
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 |
239 |
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, |
240 |
parent_tidptr=0x7ffffb6398b8) = 31887 |
241 |
wait4(31887, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31887 |
242 |
rt_sigaction(SIGINT, {0x408b2c, [INT], SA_RESTORER|SA_RESTART, |
243 |
0x7f67f2ced430}, NULL, 8) = 0 |
244 |
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 |
245 |
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 |
246 |
--- SIGCHLD (Child exited) @ 0 (0) --- |
247 |
recvfrom(3, |
248 |
/******************************************************/ |
249 |
|
250 |
I am not familiar with strace but I guess iozone was watiing to |
251 |
receive something from node74. |
252 |
|
253 |
Anyone ever use iozone across multiple nodes? |
254 |
Any help will be very appreciated! |
255 |
|
256 |
PS: |
257 |
I can run iozone to test local fs without any problem. |
258 |
|
259 |
-- |
260 |
wcw |