You could try and parse a in-memory document. Just make sure that its not too large that the OS might page it out (thereby running into the original problem).
Bhusan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:58 PM To: [EMAIL PROTECTED] Subject: RE: Performance Issues on Solaris 2.7 Aniruddha wrote: The comparisons were for : Machine 1 Windows Nt 4.0 Server, Memory: 256Mb Ram, Processor: pIII 800Mhz,Single CPU Machine Machine 2 SunOS 2.8, Memory: 256Mb Ram, Processor: sparcv9 400MHz, Single CPU >Will this make the performance on Machine 2 three times slower >than machine 1? Or is it the way that I have built xerces which >may be a problem? Yes, if you are using gcc, or another compiler that does not have the optimizations for Sparc V9, that and the slower CPU, and the fact that Solaris doesn't really shine until you add a second CPU, could very well result in a system that would run Xerces 3 times slower than the NT server. It would also depend on the disk used. Sun does use SCSI by default on most machines, but does not support Ultra-160 yet, so it's possible that your disk I/O could be slowing things down during I/O from files while reading in XML. This is harder to quantitize. I'd guess that you are using ATA disks for the NT box, as they are the most common. But some of the cheap ATA disks are very slow, no matter what the interface speed is, because of the slow rotation, small cache, and slow seeks times. But in general, most people see about the same relative performance from ATA disks as they do for SCSI, unless they are using server class disks like 15KRPM Ultra-160 SCSI drives. This drives usually have about 8MB of cache on the disk controller, and have seek times below 4ms. If you have these on an NT system, they could outperform the slower SCSI drives by 3 or 4 times. So I guess the answer is it's possible with the hardware you are using to get 1/3rd the performance of the NT system. But there are many variables. If you are building Xerces-C from scratch, you may want to invest in the Forte 6.2 compilers from Sun. They do have very good optimization. Hope this helps - my best guess is that you have done nothing wrong. Regards, --Carl ps: my opinion is not the last word - I'd welcome any other comments from the list, especially if anyone else has seen similar performance issues between NT and Solaris machines of this same class of hardware. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]