Hy Christian,
I currently don't plan to change the database to a new version, because "never change a running system" :-) But on weekend i will update my process to test the new database version 7.1.
Some current Profiling results: I test the process with the profiling software VisualVM from sun/oracle and i think, i find the bottleneck: org.basex.io.in.BufferInput.next() On the windows machine i see, that this method is called 11150 times and executes this method in sum in 1890ms. (11150/1890= 5,89 calls per ms) On the linux machine i see, that the method is called 255635 times and needs in sum 834981ms (255635/834981 = 0,306 calls per ms). So the factor between both executions is around 20.
Do you have any idea, which reason could be in this method?
king regards Sven
On 27.10.2011 22:40, Christian GrĂ¼n wrote:
Hi Sven,
thanks for your mail. Usually, there shouldn't be any notable differences between Windows and Linux (only the Mac JVM is known to be slower). Before giving any further advices, it might be interesting to hear if the problems persist with the latest version of BaseX (Version 7.01) ?
Best, Christian ___________________________
On Thu, Oct 27, 2011 at 10:36 PM, Sven Regasven.rega@gmx.de wrote:
Hy,
i'm using the basexserver 6.7.1 on a windows (i7; 8GB; 2,8GHz) and on different linux machines (i7; 16GB, 3,4GHz). the same xml file (~2,5GByte) and one simple query has i big difference in speed between both machines and i don't know, where the bottleneck is coming from. on the windows machine i get througput of ~600 to 1000 xml entities per second. On the linux machine i only get max. 110 xml entities per second.
I use the same jvm setting on both machines: -server -Xmx3g I also use the index (text, path, attribtue) on both machines.
The query:
"declare function local:ProductValues() { for $n in //Product[(@ID='A' or @ID='D' or @ID='G')]/Values return <pv><utid>{data($n/../@ID)}</utid><id>{data($n/../@SecondID)}</id>{$n}</pv> }; local:ProductValues()"
I read from the basex server over lan with 1GBit.
Does anybody have a idea, what could be the reason for such speed difference between windows and linux?
king regards Sven _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk