jdk8 build times

Pete Brunet peter.brunet at oracle.com
Tue Sep 3 21:14:03 UTC 2013


Hi Dimitri,
On 8/13/13 9:19 AM, Dmitry Samersoff wrote:
> Peter,
>
> 1. When you "turn norton off" it's actually still hook all opens, so
>    significantly slow down things.
>
>    Try to create exclusion rule to exclude your build directory from
>    protection.
At least for now I uninstalled it.
>
> 2. Make sure you have SATA controller in AHCI but not legacy mode in a
>    BIOS, (make sure you have AHCI driver installed)
It was set to ACHI.
>
> 3. T500 should be SATA-III
It's actually SATA-II, but the disk isn't close to transferring 3 Gbs
anyway.
>
> 4. T* series has an option to install extra disk to bay instead of DVD,
>    adapter cost about $5 on e-bay, so you can try a new disk without
>    destroying whole system.
I have two T500s.  The spare one has a faster (and smaller) disk. 
WinSat numbers:

Main T500:

Average Read Time with Sequential Writes 22.161 ms
Average Read Time with Random Writes 20.880 ms
Latency: 95th Percentile 123.878 ms

Spare T500:

Average Read Time with Sequential Writes 7.053 ms
Average Read Time with Random Writes 12.511 ms
Latency: 95th Percentile 57.014 ms

I imaged the hard file from my main machine and copied that image to the
spare.  I also moved my 8 GB RAM over so the RAM size would be the same
and the results are:

Main T500, slower disk:

00:01:48 corba
00:02:54 demos
00:10:32 docs
00:05:59 hotspot
00:07:50 images
00:01:16 jaxp
00:03:00 jaxws
00:29:35 jdk
00:01:36 langtools
00:00:43 nashorn
01:05:20 TOTAL

Spare T500, faster disk:

00:03:22 corba  // slower
00:02:31 demos
00:04:44 docs  // much faster
00:17:09 hotspot  // much slower
00:03:35 images  // much faster
00:01:31 jaxp
00:02:36 jaxws
00:21:41 jdk  // faster
00:01:19 langtools
00:01:06 nashorn
00:59:41 TOTAL

So the disk speed didn't make much of a difference

Note the these times are about 0.5 hrs better than before.  I had
removed a few programs and files to free up space prior to being able to
create an image that would fit onto the smaller 250 GB disk.  The only
thing related that was removed was VS2011 Express.

Pete

p.s. Thanks to all of the others that replied.  Hopefully I'll get to
your emails later today.
>
> -Dmitry
>
>
> On 2013-08-09 20:25, Pete Brunet wrote:
>> Any suggestions for SSDs?  My T500 takes 2.5" SATA II.
>>
>> On 8/9/13 10:44 AM, Andreas Rieber wrote:
>>> Hi Peter,
>>>
>>> try perfmon.exe to see where the bottleneck is. Most likely it is
>>> memory or io. If you have the option, go for a SSD drive (you will get
>>> build times ~10 minutes).
>>>
>>> Andreas
>>>
>>>
>>> On 09.08.13 16:44, Pete Brunet wrote:
>>>> My product is Norton 360.  To turn it off I right click on the Norton
>>>> 360 icon in the system tray and choose Disable Antivirus Auto-Protect.
>>>> If anyone knows if this is not sufficient and what else needs to be done
>>>> please let me know.
>>>>
>>>> Pete
>>>>
>>>> On 8/9/13 1:58 AM, Erik Joelsson wrote:
>>>>> I wonder if anti virus is really turned off here. In my experience,
>>>>> it's hard to make it stop completely. I have a slightly older laptop,
>>>>> same brand, that builds this in around 40-45 minutes.
>>>>>
>>>>> /Erik
>>>>>
>>>>> On 2013-08-09 03:32, Pete Brunet wrote:
>>>>>> Haven't rebuilt a release version yet for a true comparison but
>>>>>> here are
>>>>>> my fastdebug times with anti-virus turned off; about the same as
>>>>>> release
>>>>>> with anti-virus on.
>>>>>>
>>>>>> 00:04:30 corba
>>>>>> 00:07:25 demos
>>>>>> 00:16:28 docs
>>>>>> 00:16:15 hotspot
>>>>>> 00:23:13 images
>>>>>> 00:04:18 jaxp
>>>>>> 00:07:29 jaxws
>>>>>> 00:59:41 jdk
>>>>>> 00:05:11 langtools
>>>>>> 00:01:42 nashorn
>>>>>> 02:26:32 TOTAL
>>>>>>
>>>>>> Pete
>>>>>>
>>>>>> On 8/6/13 12:55 PM, Kelly O'Hair wrote:
>>>>>>> 4. Using a debug jdk as your boot jdk
>>>>>>>
>>>>>>> :)
>>>>>>>
>>>>>>> Langtools taking 6 minutes is crazy long. Since there is no native
>>>>>>> code there, #1 would be my first guess.
>>>>>>>
>>>>>>> -kto
>>>>>>>
>>>>>>> On Aug 5, 2013, at 5:54 PM, Weijun Wang wrote:
>>>>>>>
>>>>>>>>   From my experiences there are 3 reasons a compile could be slow:
>>>>>>>>
>>>>>>>> 1. Anti-Virus programs
>>>>>>>> 2. Virtual Machines
>>>>>>>> 3. Network folders
>>>>>>>>
>>>>>>>> --Max
>>>>>>>>
>>>>>>>> On 8/6/13 12:48 AM, Pete Brunet wrote:
>>>>>>>>> Hi Erik,
>>>>>>>>>
>>>>>>>>> 00:05:55 corba
>>>>>>>>> 00:09:46 demos
>>>>>>>>> 00:15:00 docs
>>>>>>>>> 00:18:37 hotspot
>>>>>>>>> 00:17:13 images
>>>>>>>>> 00:03:32 jaxp
>>>>>>>>> 00:11:41 jaxws
>>>>>>>>> 01:05:35 jdk
>>>>>>>>> 00:06:47 langtools
>>>>>>>>> 00:02:26 nashorn
>>>>>>>>> 02:37:45 TOTAL
>>>>>>>>>
>>>>>>>>> Pete
>>>>>>>>>
>>>>>>>>> On 8/5/13 6:55 AM, Erik Joelsson wrote:
>>>>>>>>>> That was disappointingly slow for sure. Do you have the build time
>>>>>>>>>> summary listing?
>>>>>>>>>>
>>>>>>>>>> /Erik
>>>>>>>>>>
>>>>>>>>>> On 2013-08-02 22:26, Pete Brunet wrote:
>>>>>>>>>>> FWIW I just built 32 bit jdk8 release on 64 bit win 7 with
>>>>>>>>>>> cygwin 1.7.21
>>>>>>>>>>> on a dual core 8 GB 2.53 GHz Lenovo T500 and the build time was
>>>>>>>>>>> 2:37:45.
>




More information about the build-dev mailing list