Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r5300 - in branches/new-structure-with-base2/ps-mdm-ls: contrib/SOAPRequestAuxilary contrib/SOAPRequestAuxilary/inputs contrib/SOAPRequestAuxilary/src/pl/psnc src/main/java/org/perfsonar/service/lookupservice/registration

Subject: perfsonar development work

List archive

perfsonar: r5300 - in branches/new-structure-with-base2/ps-mdm-ls: contrib/SOAPRequestAuxilary contrib/SOAPRequestAuxilary/inputs contrib/SOAPRequestAuxilary/src/pl/psnc src/main/java/org/perfsonar/service/lookupservice/registration


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r5300 - in branches/new-structure-with-base2/ps-mdm-ls: contrib/SOAPRequestAuxilary contrib/SOAPRequestAuxilary/inputs contrib/SOAPRequestAuxilary/src/pl/psnc src/main/java/org/perfsonar/service/lookupservice/registration
  • Date: Tue, 6 Oct 2009 10:01:35 -0400

Author: trzaszcz
Date: 2009-10-06 10:01:34 -0400 (Tue, 06 Oct 2009)
New Revision: 5300

Added:

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSDeregisterRequest.xml

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSQueryRequest.xml

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/results/

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/DeregistrationTest.py

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/QueryTest.py
Removed:

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest1.xml
Modified:

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest.xml

branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/RegistrationTest.py

branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registration/LSSummaryRegisterDataSource.java
Log:
perfomance tests for LS- queries,deregistration

Added:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSDeregisterRequest.xml


Property changes on:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSDeregisterRequest.xml
___________________________________________________________________
Name: svn:executable
+ *

Added:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSQueryRequest.xml


Property changes on:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSQueryRequest.xml
___________________________________________________________________
Name: svn:executable
+ *

Modified:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest.xml
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest.xml
2009-10-02 13:55:00 UTC (rev 5299)
+++
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest.xml
2009-10-06 14:01:34 UTC (rev 5300)
@@ -1,39 +1,129 @@
-<?xml version='1.0' encoding='utf-8'?>
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
- <soapenv:Body>
- <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
id="uri:ps-element-id:1243413358554:1" type="LSRegisterRequest">
- <nmwg:metadata id="serviceLookupInfo">
- <nmwg:eventType>
-
http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/service/2.0
- </nmwg:eventType>
- <perfsonar:subject
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
id="commonParameters">
- <psservice:service
xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
id="serviceParameters">
- <psservice:accessPoint>
- LS_REGISTRATION_ACCESS_POINT
- </psservice:accessPoint>
- <psservice:serviceType>
- LS
- </psservice:serviceType>
- <psservice:serviceName>
- Geant2 Java XML LS 2.0
- </psservice:serviceName>
- </psservice:service>
- </perfsonar:subject>
- </nmwg:metadata>
- <nmwg:data id="uri:ps-element-id:1243413358656:49"
metadataIdRef="serviceLookupInfo">
- <nmwg:metadata id="summmary.md">
- <summary:subject
xmlns:summary="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/";
id="subject.1">
- <summary:parameters>
- <nmwg:parameter name="eventType">
-
http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/discovery/summary/2.0
- </nmwg:parameter>
- </summary:parameters>
- </summary:subject>
- <nmwg:eventType>
-
http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/discovery/summary/2.0
- </nmwg:eventType>
- </nmwg:metadata>
- </nmwg:data>
- </nmwg:message>
- </soapenv:Body>
- </soapenv:Envelope>
\ No newline at end of file
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
+<soapenv:Body>
+<nmwg:message type="LSRegisterRequest"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
+ xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";

+ xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";>
+
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj.15977808">
+ <psservice:service id="229.148.249.60.16283379">
+ <psservice:serviceName>Java RRD MA</psservice:serviceName>
+
<psservice:accessPoint>LS_REGISTRATION_ACCESS_POINT</psservice:accessPoint>
+ <psservice:serviceType>MA</psservice:serviceType>
+ <psservice:serviceDescription>Java RRD MA, perfSONAR
project, 229.148.249.60</psservice:serviceDescription>
+ <psservice:organization>Shower
France</psservice:organization>
+
<psservice:contactEmail></psservice:contactEmail>
+ <psservice:serviceVersion>1.5</psservice:serviceVersion>
+ </psservice:service>
+ </perfsonar:subject>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <nmwg:metadata id="17155427">
+ <netutil:subject id="17062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>Gallup's.fr</nmwgt:hostName>
+ <nmwgt:ifName>ge-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>Gallup's description:
ge-1/1/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress
type="ipv4">229.148.7.224</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>RemoveMe!!! authRealm NOT
USED</nmwgt:authRealm>
+ <nmwgt:capacity>250000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+ <nmwg:data id="data2" metadataIdRef="meta1">
+ <nmwg:metadata id="17155427">
+ <netutil:subject id="17062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>Paris</nmwgt:hostName>
+ <nmwgt:ifName>ge-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>Paris description:
ge-2/2/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress type="ipv4">229.148.7.225</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>RemoveMe!!! authRealm NOT USED</nmwgt:authRealm>
+ <nmwgt:capacity>250000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+
+ <nmwg:data id="data3" metadataIdRef="meta1">
+ <nmwg:metadata id="117155427">
+ <netutil:subject id="117062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>Warsaw</nmwgt:hostName>
+ <nmwgt:ifName>ge-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>PXxxxis description:
ge-2/2/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress type="ipv4">229.148.7.210</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>RemoveMe!!! authRealm NOT USED</nmwgt:authRealm>
+ <nmwgt:capacity>250000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+ <nmwg:data id="data4" metadataIdRef="meta1">
+ <nmwg:metadata id="172155427">
+ <netutil:subject id="147062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>London</nmwgt:hostName>
+ <nmwgt:ifName>ges-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>xxxx description:
ge-2/2/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress type="ipv4">229.148.7.212</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>RemXXXveMe!!! authRealm NOT
USED</nmwgt:authRealm>
+ <nmwgt:capacity>250000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+ <nmwg:data id="data5" metadataIdRef="meta1">
+ <nmwg:metadata id="112155427">
+ <netutil:subject id="1147062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>Poznan</nmwgt:hostName>
+ <nmwgt:ifName>gesa-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>xxxx description YYY:
ge-2/2/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress type="ipv4">229.148.7.210</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>RemXXXveMe!!! authRXealm NOT
USED</nmwgt:authRealm>
+ <nmwgt:capacity>250000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+ <nmwg:data id="data6" metadataIdRef="meta1">
+ <nmwg:metadata id="62155427">
+ <netutil:subject id="647062918">
+ <nmwgt:interface>
+ <nmwgt:hostName>Pila</nmwgt:hostName>
+ <nmwgt:ifName>gesax-1/1/0</nmwgt:ifName>
+ <nmwgt:ifDescription>yyyy description YYY:
ge-2/2/0</nmwgt:ifDescription>
+ <nmwgt:ifAddress type="ipv4">229.148.7.200</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>ealm NOT USED</nmwgt:authRealm>
+ <nmwgt:capacity>20000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>utilization</nmwg:eventType>
+ </nmwg:metadata>
+ </nmwg:data>
+
+</nmwg:message>
+</soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Deleted:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/inputs/LSRegistrationRequest1.xml

Added:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/DeregistrationTest.py

Added:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/QueryTest.py

Modified:
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/RegistrationTest.py
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/RegistrationTest.py
2009-10-02 13:55:00 UTC (rev 5299)
+++
branches/new-structure-with-base2/ps-mdm-ls/contrib/SOAPRequestAuxilary/src/pl/psnc/RegistrationTest.py
2009-10-06 14:01:34 UTC (rev 5300)
@@ -10,31 +10,37 @@

if __name__ == '__main__':

- f=open("../../../inputs/LSRegistrationRequest1.xml","r")
+ f=open("../../../inputs/LSRegistrationRequest.xml","r")
soap_template_content=f.read()
access_points=[]

for c in range(1,1000) :
- access_points.append("http://localhost:8080/"+str(c))
+ access_points.append("http://localhost:8180/"+str(c))

- sender=Sender("127.0.0.1:8180")
+ sender=Sender("127.0.0.1:8080")
sender.connect()

-
result_list=[]
c=0
for access_point in access_points :

soap_message=soap_template_content.replace("LS_REGISTRATION_ACCESS_POINT",access_point)
before=time.time()
-
sender.send("/geant2-java-xml-ls/services/LookupService",soap_message)
+
sender.send("/perfsonar-java-xml-ls/services/LookupService",soap_message)
result_list.append((time.time()-before)*1000)
print c
c=c+1
- pass

strResult="";
+ sum=0;
for t in range(0,len(result_list)) :
- strResult=strResult+'%(iteration)d => %(time)f \n' %
{"iteration":t,"time":result_list[t]}
+ sum=sum+result_list[t]
+ strResult=strResult+'%(iteration)d;%(time)f \n' %
{"iteration":t,"time":result_list[t]}
+ strResult=strResult+'avg;%(time)f \n' % {"time":(sum/len(result_list))}
+
+# f=open("../../../results/result-ls1.txt","w")
+# f.write(strResult)
+
print "--------------------------"
print strResult
- print "--------------------------"
\ No newline at end of file
+ print "--------------------------"
+
\ No newline at end of file

Modified:
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registration/LSSummaryRegisterDataSource.java
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registration/LSSummaryRegisterDataSource.java
2009-10-02 13:55:00 UTC (rev 5299)
+++
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registration/LSSummaryRegisterDataSource.java
2009-10-06 14:01:34 UTC (rev 5300)
@@ -19,7 +19,7 @@
public class LSSummaryRegisterDataSource implements RegisterDataSource {

protected static final Logger logger = Logger
-
.getLogger(LSSummaryRegisterDataSource.class.getName());
+ .getLogger(LSSummaryRegisterDataSource.class);

protected ISummarizationDAO dao;




  • perfsonar: r5300 - in branches/new-structure-with-base2/ps-mdm-ls: contrib/SOAPRequestAuxilary contrib/SOAPRequestAuxilary/inputs contrib/SOAPRequestAuxilary/src/pl/psnc src/main/java/org/perfsonar/service/lookupservice/registration, svnlog, 10/06/2009

Archive powered by MHonArc 2.6.16.

Top of Page