Nelson Minar wrote:
>
> >I am running into a real bottleneck when compiling rmi applications
> >with: java_dyn full version "Linux_JDK_1.1.6_v2". rmic takes forever
> >to run on a single class. At first I thought it was just a jdk 1.x
> >problem, but when running sun's 1.1.6 rmic finishes in about 1/30th
> >the time that Linux does.
>
> It's possible this is NFS-related; it's distressingly easy to use an
> unbuffered output stream in Java. If you don't buffer writes, then
> it's incredibly slow over NFS in Linux. (I think Soalris cheats and
> does some write-combining, so the unbuffered writes might be faster).
Or it might be a NIS problem. I had a similar problem
after upgrading libc, and it turned out that I had a
file lying around /var/yp/binding/XXXX.2 (XXXX replaced
with my old NIS domainname). After removing this file,
various java programs and other things went a lot
faster.
Have you tried using strace(1) to see what rmic is up to?
Rich.
--
Richard Jones [EMAIL PROTECTED] Tel: +44 171 598 7557 Fax: 460 4461
Orchestream Ltd. 125 Old Brompton Rd. London SW7 3RP PGP: www.four11.com
"boredom ... one of the most overrated emotions ... the sky is made
of bubbles ..." Original message content Copyright © 1998