Das Notes Forum

Domino 9 und frühere Versionen => ND8: Entwicklung => Thema gestartet von: Werner Götz am 15.03.12 - 14:34:39

Titel: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: Werner Götz am 15.03.12 - 14:34:39
Habe bei Operationen mit XML bzw. DXL und Lotusscript massive Laufzeiterhöhung unter 8.5.3. Ein Agent, der unter Notes 7 sowie 8.5.2 unter 2 Sekunden braucht, benötigt jetzt ca. 15 Sekunden und zwar sowohl am Client als auch am Server.

Auch der NotesDxlExporter scheint deutlich länger zu brauchen.

Den Virenscanner kann ich als Ursache übrigens ausschließen.

Hat jemand schon ähnliche Erfahrungen gemacht?
Hat jemand Tipps?

Vielen Dank im Voraus
-Werner
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: pram am 15.03.12 - 15:47:35
Habe ich vorgestern an IBM gemeldet, allerdings ist es bei mir der XSLTransformer. Dieser ist unter 8.5.3 um den Faktor 30 langsamer
Zitat
Dear Mr. Praml                                                          
                                                                        
I am contacting you regarding PMR # 90947,999,724 (Poor performance of  
NotesXSLTransformer in 8.5.3).                                          
                                                                        
I would like to inform you that I have managed to reproduce the issue  
and I have created the SPR (Software Problem Report) # RGAU8SCHZZ and  
the Customer Report, APAR # LO68020.                                    
This issue has been now reported to our Lotus Software Quality Engineers
and it will continue to be investigated by our QE through our SPR      
process, and considered according to technical and business criteria.  
                                                                        
At this time, as the issue's review will now occur within the SPR and no
further review or updates will occur within the PMR itself, and that the
focus of review cannot be determined as to when or where the issue will
be addressed, I would like your permission to close this PMR per the    
status of the SPR.                                                      
                                                                        
Closed PMRs can be reopened within 28 days, if requested.

Gruß
Roland
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: Werner Götz am 17.03.12 - 16:03:28
Falls jemand Interesse hat: Ich habe eine kleine Test-Anwendung erstellt, anhand derer man das Ganze nachstellen kann.

Das Problem ist anscheinend auch kein reines Windows-Problem sondern tritt auch auf Domino unter Linux sowie im Mac-Notes-Client auf.

Viele Grüße
-Werner
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: pram am 17.03.12 - 17:24:20
Hast du das Problem auch an IBM gemeldet? Schick denen die Demo-DB.
(nur so gewinnt das Problem an Priorität)

Gruß
Roland
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: Werner Götz am 20.03.12 - 08:56:16
Problem ist übrigens bei der IBM gemeldet
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: eknori am 20.03.12 - 08:57:19
Habe mir die Demo angesehen. Denke, da ist nichts, was man selber fixen könnte.
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: pram am 20.03.12 - 09:23:02
Mein Testcode schaut übrigens so aus (leicht gekürzt):
Code
Set doc = sess.currentDatabase.getDocumentByUnid("C7A4C37FA1F0A951C12579BF0063F91F") ' take a doc (docsize ~60kb)

Set  exporter 		=  sess.CreateDXLExporter

' create "dummy" stylesheet
Set  stylesheet 	=  sess.CreateStream
Call stylesheet.WriteText(|<?xml version="1.0" encoding="UTF-16" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
</xsl:stylesheet>|)
stylesheet.Position = 0
		
' set up doc->exporter->transformer->outstream pipeline
Call exporter.SetInput(doc)
Set  outStream 	=  sess.CreateStream
Set  transformer	=  sess.CreateXSLTransformer(exporter, stylesheet, outStream)

' time measure & process
ticks = GetThreadInfo(LSI_THREAD_TICKS)
Call exporter.Process
ticks = GetThreadInfo(LSI_THREAD_TICKS) - ticks
Print i,"Processing with pipelining took",ticks, " ticks"
...ich wüsst auch nicht wo man da selber noch schrauben kann

in Notes 7-8.5.2 dauert das <50 ticks (=50ms)
bei 8.5.3 ~ 1500 Ticks (teilweise gibt es auch Ausreißer mit über 10 sec)

Beim Massenexport von Dokumenten einfach inakzeptabel.
Gruß
Roland
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: Werner Götz am 02.05.12 - 19:51:08
zur Info:
Habe heute
1.) einen Hotfix für Domino unter Windows 64 Bit sowie
2.) einen Hotfix für den Notes Client unter Windows 32 Bit bekommen

Allerdings noch nicht getestet ...

-Werner
Titel: Re: Performanceproblem bei Xml: NotesDomParser, NotesSaxParser, DxlImporter ab 8.5.3
Beitrag von: pram am 03.05.12 - 13:51:38
Danke für die Info, hab mal bei IBM nach den Hotfix angefragt.

Gruß
Roland