[Openais] Your Contributions

Steven Dake sdake at mvista.com
Tue Jun 22 17:19:05 PDT 2004


On Tue, 2004-06-22 at 16:56, Zou, Yixiong wrote:
> Hi Steve,
> 
> I did some trial run with the aisexec and found some problems.  
> 
> First of all, the testclm doesn't seem to work.  The program just hangs
> without any output at all.  I am wondering if the aisexec keeps a log 
> at some place? 
> 

The program should hang until a membership change occurs.  Once a change
occurs, the state change will be printed.  You can test it by creating a
2 or more node configuration and adding another node killing nodes to
see the state changes.

This happens on latest bk, but if this isn't happening on your version,
point me at the version you downloaded and I will investigate the
problem.

> Second, I modified the testckpt and let it run 5000 loops and it
> took 84 seconds to finish.  This seems to be a lot slower than you originally
> claimed.  Did I do anything wrong?  
> 

testckpt runs one thread.  Because the API is blocking, checkpoints must
wait before a new checkpoint can be started.  The service itself,
however, can still deliver checkpoint writes as claimed.

In this case, the size of the checkpoint defines the rate at which
checkpoint data can be transmitted by one API call.  If a checkpoint is
45 (the window) * 1472 (the packet size), the checkpoint will consume
one entire flow control for the token which will maximize I/Os.

try an informal time ./ckptstress and see what you get.  This test
creates lots of threads and runs them multiple times.  You can tune the
numbers in the test to what you desire.

Try creating small checkpoints (perhaps 900 bytes) in the ckptstress
program and post your transactions per second and mb/sec for your
network.

Another point to bring up is lossy networks.  If your network is lossy,
performance will be poor.  This is just a fact of life :)  Fortunately
most networks are not lossy.  When you press ctrl-C out of the
executive, it should print the "remcast" line.  This describes how many
times a message had to be remulticasted because a node didn't receive
it.

How did you find the ease of use on setup of the service?

Thanks!
-steve


> Thanks for your help. 
> 
> Oh, BTW, I don't have BT installed so the code is downloaded from Cherry's
> webserver. 
> 
> ------------------------------------------------------------------------
> 
> Yixiong Zou (yixiong.zou at intel.com)
> 
> (626) 443-0100
> 
> All views expressed in this email are those of the individual sender. 
> 




More information about the Openais mailing list