[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: FW: [docbook-apps] Strange slowdown in stylesheets
Re-forwarded to the list from the right address to
avoid authentication rejection. From: Barton Wright Sent: Saturday, March 28, 2009 6:11 PM To: Dick Hamilton Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Strange slowdown in stylesheets The products I've documented for two companies now have been supported only on official Sun JDKs, and I've had to document how to wrestle with the default-installed gcj on several distros. So your symptoms were very familiar. One of these days, there will be only one JDK, and it will be both officially sanctioned by Sun and free, open-source. But we're not there yet. F05F5D24D4014DD085FC20F565D11593@MILES type="cite">Barton, You nailed it. Turns out I had Sun's 1.6 on the system, but Ubuntu was pointing to gcj. I used update-alternatives to select 1.6, and that took care of the problem. Everything is back to the expected speed. Thanks for the help. Dick Hamilton Managing Writers: A Real World Guide to Managing Technical Documentation http://xmlpress.net/managingwriters.html-----Original Message----- From: Barton Wright [mailto:barton.wright@streambase.com] Sent: Friday, March 27, 2009 12:23 PM To: Dick Hamilton; docbook-apps@lists.oasis-open.org Subject: RE: [docbook-apps] Strange slowdown in stylesheets 1. Were you using Java 1.5 on SuSe? Java 1.6 is significantly faster. 2. Check to make sure you're using the JRE you intend. Ubuntu installs ready to use gcj or perhaps icedtea as the default system JRE, and remains set up that way even if you install a Sun JRE or JDK. If you've installed a Sun JRE, you need to make it the system-wide default in the alternatives system. Run update-alternatives as root and select the JRE you intend to use for the java, javac, and several other commands. -----Original Message----- From: Dick Hamilton [mailto:rlhamilton@frii.com] Sent: Friday, March 27, 2009 2:10 PM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Strange slowdown in stylesheets I just moved my environment from SuSE to Ubuntu, and have generally been very pleased with the change. However, after the move, my DocBook stylesheet builds are taking significantly longer to run than they used to, even though I'm running on the same hardware and software. At first, I thought I might have messed up the catalog settings and caused Saxon to go out to the web for schemas, etc, but I see no network traffic during a build. Instead, what I see is one cpu pegged at 100% and the other idling along at 25%. Here is the environment: AMD 64 dual core, running Ubuntu 2.6.27-11, Saxon 6.5.3, Java 1.5.0., 1.74.2 stylesheets. Has anyone run into anything like this before or have any suggestions on where to look for possible problems? Best Regards, Dick Hamilton --------------------------------- XML Press XML for Technical Communicators http://xmlpress.net (970) 231-3624 --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]