Tom, I am starting to move my application to different platforms. I have it running on Red Hat 7.2. I tried it on a dual processor mac(OS X), had problems. Ran it on a single processor mac laptop and desktop, no problems with Xindice, network issues on the laptop. Ported it to Window NT. Had problems, similar to the dual processor mac.
I did some timing tests and was able to discover that the first access of a collection was painfully slow on NT, haven't tried the Mac yet. I implemented a collection pool. The first access of the collection was taking 15 to 16 seconds on the NT machine. Subsequent accesses very fast. Did a little looking and registering the database is taking all the time 16303 ms. So that means any command-line tool will take at least 16000 ms. to run a command. Any idea why? I understand you don't have a NT box to work with... Mark Tom Bradford wrote: > On Wednesday, March 6, 2002, at 12:30 PM, Jinsuo Zhang wrote: > > yes, It seems strange, I use command line, is it a factor? > > actually the xml documents are very small, about 1K bytes each. > > I use linux "time" command to measure time, it reports that > > 4 seconds is from user usage, 0.5 second for system usage. > > Is it because the slow start of java VM? > > I'd say nearly all of that time is the VM startup overhead in addition > to the CORBA connection overhead. The best way to get an idea of true > performance is to do it programmatically rather than time the command > line tools. > > -- > Tom Bradford - http://www.tbradford.org > Architect - XQRL (XQuery Engine) - http://www.xqrl.com > Apache Xindice (Native XML Database) - http://xml.apache.org/xindice > Project Labrador (Web Services Framework) - http://notdotnet.org
