jdk8 build times

Weijun Wang weijun.wang at oracle.com
Thu Aug 29 05:36:17 UTC 2013


I have watched this thread for some time. Yes, SSD should be faster but 
Pete's build times are just incredibly slow and there must be some other 
reason.

I just open my Lenovo t410 (i5 2.6GHz, 8GB RAM, HDD) that has been 
asleep for the last two days, mkdir a new directory, run configure and 
"make langtools". The time spent is 00:01:05. Even in a VirtualBox guest 
inside my Mac Mini (HDD) with source and boot JDK all on the host, "make 
langtools" costs me 00:01:29.

And Pete's number (after disable Norton 360) is

     00:04:17 langtools

How can this ever happen?

--Max

On 8/29/13 12:05 PM, Ioi Lam wrote:
> Dell laptop (Win7, i5-2520M 2.5Ghz, 8GB RAM) +  Samsung 840 PRO SSD 256GB.
>
> The JDK source tree is excluded from virus scan.
>
> The source has all the open and closed parts. I ran configure and "make
> all" with all default parameters.
>
> ----- Build times -------
> Start 2013-08-28 20:33:57
> End   2013-08-28 20:57:01
> 00:00:37 corba
> 00:01:21 demos
> 00:02:42 docs
> 00:04:07 hotspot
> 00:02:18 images
> 00:00:30 jaxp
> 00:01:14 jaxws
> 00:09:03 jdk
> 00:00:45 langtools
> 00:00:19 nashorn
> 00:23:05 TOTAL
> -------------------------
>
> - Ioi
>
>
> On 08/28/2013 04:21 AM, Erik Joelsson wrote:
>> Nice to see improvement, but it's still far from where it should be.
>> For comparison, here are my build times on a similar, but probably
>> slower, laptop. Lenovo T410, i5 M 520 2.40GHz and 4GB ram, no ssd.
>> This laptop has no anti virus scanning installed.
>>
>> ----- Build times -------
>> Start 2013-08-28 12:25:00
>> End   2013-08-28 12:54:56
>> 00:00:47 corba
>> 00:01:40 demos
>> 00:05:43 hotspot
>> 00:03:29 images
>> 00:00:48 jaxp
>> 00:01:38 jaxws
>> 00:14:07 jdk
>> 00:01:10 langtools
>> 00:00:25 nashorn
>> 00:29:56 TOTAL
>> -------------------------
>>
>> /Erik
>>
>> On 2013-08-27 23:14, Pete Brunet wrote:
>>> Here are my release build times with my repo tree in the Norton 360 real
>>> time virus checking ignore list:
>>>
>>> 00:03:34 corba
>>> 00:12:51 demos
>>> 00:15:10 docs
>>> 00:18:42 hotspot
>>> 00:15:55 images
>>> 00:01:42 jaxp
>>> 00:07:32 jaxws
>>> 00:43:04 jdk
>>> 00:04:17 langtools
>>> 00:02:31 nashorn
>>> 02:05:18 TOTAL
>>>
>>> Here are the prior times:
>>>
>>> 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
>>>
>>> A half hour improvement is nice, but looks like I need to switch to
>>> an SSD.
>>>
>>> Pete
>>>
>>> On 8/9/13 11:25 AM, 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