Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13945

Copy artifacts from master -> slaves takes about 10x longer with openjdk

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Debian 6

      Version: 1.451

      We switched from sun java to openjdk and noticed that copying artifacts from master to slave took way longer than it had previously (x10 or more). Switching back to sun java fixed the problem.

      Related to this, the node ping times, as seen at: https://.../jenkins/computer/ were all up around 0.5s with openjdk and then when switching to sun java dropped back down to where they should be (around 20ms).

      If this is a bug in openjdk that's not really Jenkins problem, but perhaps there's something in Jenkins to be done. Or at least it'd be beneficial for Jenkins to know about this I guess.

          [JENKINS-13945] Copy artifacts from master -> slaves takes about 10x longer with openjdk

          Leander Hasty added a comment -

          We're seeing something like this as well, on an upgrade from 1.455 to 1.466. It's much worse in our case: a build that is normally <20 minutes takes ~2 hours and may or may not complete successfully; usually it stalls on archiving artifacts, but we also see ludicrous delays downloading anything but the smallest files directly from the workspace. The console view also appears to be very behind reality.

          These slaves are all Ubuntu 10.04 LTS (they're actually running in VMWare on Windows XP 32-bit and 64-bit hosts). If we upgrade from the openjdk-6-jre package (6b20-1.9.13-0ubuntu version):

          <<
          $ java -version
          java version "1.6.0_20"
          OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
          OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
          >>

          ... to a Java 7 package from Sun (via the "Repository" instructions at http://www.duinsoft.nl/packages.php?t=en ), the problem appears to go away. I've not yet tried other variants.

          Leander Hasty added a comment - We're seeing something like this as well, on an upgrade from 1.455 to 1.466. It's much worse in our case: a build that is normally <20 minutes takes ~2 hours and may or may not complete successfully; usually it stalls on archiving artifacts, but we also see ludicrous delays downloading anything but the smallest files directly from the workspace. The console view also appears to be very behind reality. These slaves are all Ubuntu 10.04 LTS (they're actually running in VMWare on Windows XP 32-bit and 64-bit hosts). If we upgrade from the openjdk-6-jre package (6b20-1.9.13-0ubuntu version): << $ java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1) OpenJDK Client VM (build 19.0-b09, mixed mode, sharing) >> ... to a Java 7 package from Sun (via the "Repository" instructions at http://www.duinsoft.nl/packages.php?t=en ), the problem appears to go away. I've not yet tried other variants.

          Jesse Glick added a comment -

          May be better in 1.509.1.

          Jesse Glick added a comment - May be better in 1.509.1.

          jglick leander

          Have either of you noticed this with the latest version? We just upgraded to 2.150.3 and are seeing the same problem. We had to switch back to Oracle JDK

          Sagar Khushalani added a comment - jglick leander Have either of you noticed this with the latest version? We just upgraded to 2.150.3 and are seeing the same problem. We had to switch back to Oracle JDK

            Unassigned Unassigned
            sanga sanga
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: