Hi,

Here is the update I have with the suggestions Javier gave me.
The attached files helped me to get web-search setup.

However, the agent (see client.sh) fails.
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ echo $CLIENT_HEAP_SIZE
2g
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ echo $POLICY_PATH
/home/rnishtala/ClearSuite/CS3.0-Web-Search/web-search/client/faban/search/config/security/driver.policy
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ echo $AGENT_ID
1
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ echo $HOST_IP
0.0.0.2
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ java -classpath $CLASSPATH -Xmx$CLIENT_HEAP_SIZE -Xms$CLIENT_HEAP_SIZE -Djava.security.policy=$POLICY_PATH com.sun.faban.driver.engine.AgentImpl "SearchDriver" $AGENT_ID $HOST_IP &
[2] 12799
rnishtala@juno-2:~/ClearSuite/CS3.0-Web-Search$ java.rmi.ConnectIOException: Exception creating connection to: 0.0.0.2; nested exception is: java.net.SocketException: Invalid argument or cannot assign requested address
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.faban.common.RegistryLocator.getRegistry(RegistryLocator.java:102)
    at com.sun.faban.driver.engine.AgentImpl.<init>(AgentImpl.java:113)
    at com.sun.faban.driver.engine.AgentImpl.main(AgentImpl.java:667)
Caused by: java.net.SocketException: Invalid argument or cannot assign requested address
    at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at java.net.Socket.<init>(Socket.java:425)
    at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    ... 7 more

[2]+ Exit 255 java -classpath $CLASSPATH -Xmx$CLIENT_HEAP_SIZE -Xms$CLIENT_HEAP_SIZE -Djava.security.policy=$POLICY_PATH com.sun.faban.driver.engine.AgentImpl "SearchDriver" $AGENT_ID $HOST_IP

Even though the Agent failed, the master (see client.sh) worked properly and here is the result I obtained on the first run:

export RAMP_UP=90 #TIME REQUIRED TO WARM UP SERVER
export RAMP_DOWN=60 # TIME TO WAIT BEFORE ENDING BENCHMARK
export STEADY_STATE=60 #TIME THE BNECHMARK IS IN STEADY STATE
export SCALE=50   #NUMBER OF CLIENTS

RESULT:

        <responseTimes unit="seconds">
            <operation name="GET" r90th="0.500">
                <avg>0.519</avg>
                <max>4.758</max>
                <sd>0.581</sd>
                <p90th>1.200</p90th>
                <passed>false</passed>
       *<p99th>&gt; 2.475</p99th>*
            </operation>
        </responseTimes>

I'm running it on all cores with the highest frequency.
The website prescribes that the p99th should be within 0.2seconds.

What is the target platform used to decide the p99th value?

Do you need any other information to help me debug that error?

Best,
Rajiv


On 2016-02-22 00:13, Javier Picorel wrote:
Additionally, you can run bare metal by following the commands inside the Dockerfiles.
It should work for ARM as well.

Regards,
Javier

On 22 Feb 2016, at 00:00, Alexandros Daglis <[email protected] <mailto:[email protected]>> wrote:

Dear Rajiv,

We haven’t tried deploying our Docker images on ARM, so unfortunately we do not have any instructions regarding that procedure.

Our Docker images on DockerHub are built for x86, so that’s why you cannot just pull and use them on ARM. However, if you can build the image using the Dockerfile, that should be enough.

If you manage to set the Docker images up on ARM, we would greatly appreciate if you could share your experience.

Regards,
Alex

On Feb 19, 2016, at 10:10 AM, nishtala <[email protected] <mailto:[email protected]>> wrote:

Hi list,

I aim to use web-search from cloudsuite 3.0 on ARMJuno 64bit machine.

The docker v1.5 that is installed can build the docker file but not pull it. Plus, in the dockerfile, for both server and client, it is set to ubuntu 14.04.
Would that be the problem?

Did you try to install websearch on ARM 64bit using docker build and not docker pull?
if yes, do you have a separate manual?

Any help will be appreciated.

Best,
Rajiv Nishtala


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer





WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

Attachment: server.sh
Description: application/shellscript

Attachment: client.sh
Description: application/shellscript

Reply via email to