Yes, Solaris 6 and higher have excellent i/o performance. 5,000 msgs/sec does not even begin to tax the system. The app is cpu bound (0% idle). But thanks for asking!
-----Original Message----- From: Espen Ekeroth [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 5:00 PM To: 'Pierre Joye'; Noble, Robert Cc: [email protected] Subject: RE: [xml] Need better XML writing performance Just wondering: Can your file system handle 5000 files/sec ? /Espen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre Joye Sent: 12. juli 2006 21:57 To: Noble, Robert Cc: [email protected] Subject: Re: [xml] Need better XML writing performance Hi, On 7/12/06, Noble, Robert <[EMAIL PROTECTED]> wrote: > We need to increase performance of our XML data generating application. Our > app receives (during peak periods) as many as 5,000 binary messages per > second and converts them to XML using libxml2 and writes them to a file in > real time. Our environment is Sun Solaris 10. > > Profiling shows almost all the time is spent inside libxml2. > > For each message we receive, our code looks something like this: > > Receive binary msg > xmlBufferCreate() > xmlNewTextWriterMemory() why not using xmlNewTextWriterFilename if you write the buffer to a file anyway? It should also use less memory or a more constant amount of memory. --Pierre _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
