The default configuration runs the following tests:
(as shown here: https://github.com/okeuday/CloudI/blob/master/src/cloudi.conf.in
That is why the CPU usage will go up when starting CloudI with the default configuration. The default hexpi parameters only compute upto the 65536th hexadecimal digit of pi (see the configuration for the cloudi_job_hexpi Erlang service arguments, on line 185).
The other tests are doing a few other things: "http" and "http_req" both respond to HTTP requests in the supported languages for testing the HTTP functionality and the latency/throughput, "zeromq" tests the ZeroMQ integration, "msg_size" tests the forwarding of large messages within the supported languages, and "messaging" tests complex usage of the CloudI API. The "flood" test is commented out within the configuration file, since it attempts to saturate the CloudI internal messaging, but is rather dull otherwise.
When CloudI is installed, the configuration exists in PREFIX/etc/cloudi/cloudi.conf (where PREFIX is /usr/local by default). The progress of hexpi can be seen within the CloudI logfile which exists in PREFIX/var/log/cloudi/cloudi.log (as long as CloudI starts successfully... otherwise you would need to check PREFIX/var/log/cloudi/erlang.log.1 and/or PREFIX/var/log/cloudi/sasl.log to see what went wrong).
If you are only interested in the hexpi test, you can remove the rest from you configuration file within the configuration file's jobs list (the services are ran as jobs, so with an explicit order, despite the fact these jobs (i.e., longer running services) do not exit). Please keep in mind that the hexpi test is two CloudI services, one in C++ and one in Erlang (so, there are two jobs list entries within the configuration file... one internal and one external).
Please tell me if you have more questions. I updated the FAQ tonight so that it has more information that is relevant to the last release, but I know more documentation is necessary (an API doc, tutorials, etc.). I am working on more documentation besides the FAQ, so any suggestions or ideas are appreciated.
On 05/18/2012 10:09 PM, osiris wrote: