<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div>
<p>Hi,</p>
<p><br>
</p>
<p>I am Menaka M. I am interested in participating in this round of Outreachy under Gluster. I am new to this open source world. Kindly help me with the following query.</p>
<p><br>
</p>
I have set up the Gluster development environment with two servers and one client. I am trying to run the basic bench test on the Gluster cluster from this
<a href="https://github.com/gluster/gbench/tree/master/bench-tests/bt-0000-0001" target="_blank">
GitHub repo</a>. I also have IOZone installed. While trying to run the provided script, i get the following error. I was trying to identify the cause of the error. Kindly help me with that.<br>
<br>
So, I learned more about IOZone and also the performance testing section in the Gluster docs. With that knowledge and to learn more, I have gone through the code and running iozone commands mentioned in the GlusterBench.py script individually.<br>
<br>
If I am asking a very basic thing, apologies. I will quickly learn things. <br>
<br>
Regards,<br>
Menaka M<br>
<br>
----------------------------------------------------------------------------------------------------------------------------------<br>
<br>
<div>python GlusterBench.py -s 64 -f 10000 -n 5 -v<br>
<br>
Number threads = 4<br>
Client list = HadoopSlave4<br>
<br>
Running IOZone with 64KB record size and 4 threads, Creating an 8 GB file with every thread.<br>
Running smallfile with 64KB files, creating 10000 files.<br>
Running squential IOZone tests, starting with sequential writes.<br>
<br>
About to gather sample --> 0<br>
<br>
Iozone: Performance Test of File I/O<br>
Version $Revision: 3.429 $<br>
Compiled for 64 bit mode.<br>
Build: linux-AMD64 <br>
<br>
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins<br>
Al Slater, Scott Rhine, Mike Wisner, Ken Goss<br>
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,<br>
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,<br>
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --> 1<br>
<br>
/* I removed the Iozone and Contributors header */<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --> 2<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --> 3<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --> 4<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
No cleanup on 4 iteration.<br>
<br>
The results for sequential writes are: [None, None, None, None, None]<br>
<br>
Traceback (most recent call last):<br>
File "GlusterBench.py", line 255, in <module><br>
main()<br>
File "GlusterBench.py", line 76, in main<br>
average_seq_write = find_average(result1)<br>
File "GlusterBench.py", line 250, in find_average<br>
total = total + int(samples_in[x])<br>
TypeError: int() argument must be a string or a number, not 'NoneType'<br>
</div>
<br>
</div>
-----------------------------------------------------------------------------------------------------------------------------------------<br>
<p></p>
</div>
</body>
</html>