el salamo aliko wa rahmat allah
  perhaps data transfer in the form of XML with SOAP protocol (which depends on 
XML) is a major cause of latency. i think if you try to run the same service 
for repeatedly, the execution time will be enhanced due to caching information 
at both client and server

soumaya marzouk <[EMAIL PROTECTED]> wrote:
  I have run the container with no security
and I mesured only the add operation cost in local and I found about 5 seconds
I used a PC with a 3 Ghz processor and 512 Mo of memory.

have you any explanation?
Thank you.

Ioan Raicu <[EMAIL PROTECTED]> a écrit :  It all depends whether or not you are 
using security, and what level of security.  It also depends whether or not you 
are measuring the first WS call, or subsequent ones.

>From my experience, here is the kind of performance you can expect to get 
>between 1 client and 1 service.  
                      1st call                      subsequent calls (on the 
same stub)
no security      100s ms ~ 1+ sec      10ms ~ 100ms, depending on CPU speed 
security           1~10 secs                  100ms~500ms, depending on CPU 
speed

High latency can also add to these numbers, if the two hosts are not on the 
same network. From our observations, the client side seems to be more CPU 
intensive that service side, so if you are running 1 client to 1 service, I 
would put the more powerful CPU on the client side.

The one thing to keep in mind, is that you can fit a lot of information in a WS 
call before you start to see slowdowns in the numbers.  That means that the 
cost to send a WS message with a single int as a value, and the cost to send a 
WS message that has an array of 10s of complex objects is about the same.  You 
can also get a lot of parallelism going, many times handling dozens of 
concurrent WS calls without any impact on the per WS call performance.  

Just to get an idea, on a dual Xeon 3GHz machine we use for testing, we can get 
between 50 and 500 WS calls per second, depending on the security level used; 
these numbers are reached when we are able to saturate the GT service 
container, and that happens when we have about 16~32 nodes concurrently 
generating WS calls.  Some of these numbers are present in a recent paper of 
ours http://people.cs.uchicago.edu/~iraicu/publications/2007_SC07_Falkon.pdf.

Cheers,
Ioan

soumaya marzouk wrote:     Hi,
  I tried to call the add operation of the first Math Service examples. I find 
that it takes about 5second to be executed in local using a 1,7GHz centrino 
processor and 1Go of RAM.
  Could you explain this long latency and how could I improve this time.
   
  Thank you.
   
  
  
---------------------------------
  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-- 
==================================================
Ioan Raicu
Ph.D. Candidate
==================================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
==================================================
Email: [EMAIL PROTECTED] Web:   http://www.cs.uchicago.edu/~iraicu 
http://dev.globus.org/wiki/Incubator/Falkon 
http://www.ci.uchicago.edu/wiki/bin/view/VDS/DslCS 
==================================================   
==================================================  

    
---------------------------------
  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to