Build hangs on osutils.jl?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Build hangs on osutils.jl?

John Myles White
Lately I’ve noticed that my builds hang for a good minute at the osutils.jl part of image compilation. Anyone else notice this?

 — John

Reply | Threaded
Open this post in threaded view
|

Re: Build hangs on osutils.jl?

Stefan Karpinski
That file just happens to trigger a ton of code generation. The real problem is that type inference seems to take a lot longer than it used to – possibly the inlining pass got much more expensive.


On Wed, Jul 30, 2014 at 12:08 PM, John Myles White <[hidden email]> wrote:
Lately I’ve noticed that my builds hang for a good minute at the osutils.jl part of image compilation. Anyone else notice this?

 — John


Reply | Threaded
Open this post in threaded view
|

Re: Build hangs on osutils.jl?

Tony Kelman-2
And takes a lot more memory. On AppVeyor VM's compiling that file takes 4+ minutes for win32 (in each of the 2 phases of bootstrap), and crashes with the ugly poorly-handled out-of-memory gc segfault on win64. It's not quite as bad on my laptop with 6 gig of memory, but is still pretty slow.


On Wednesday, July 30, 2014 9:10:39 AM UTC-7, Stefan Karpinski wrote:
That file just happens to trigger a ton of code generation. The real problem is that type inference seems to take a lot longer than it used to – possibly the inlining pass got much more expensive.


On Wed, Jul 30, 2014 at 12:08 PM, John Myles White <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="y4FlbdK_xeYJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">johnmyl...@...> wrote:
Lately I’ve noticed that my builds hang for a good minute at the osutils.jl part of image compilation. Anyone else notice this?

 — John


Reply | Threaded
Open this post in threaded view
|

Re: Build hangs on osutils.jl?

Tim Holy
As Keno pointed out to me, it's the first file loaded after inference.jl. So
it's JIT-compiling the inference infrastructure.

But I agree, it didn't used to be such an obvious bottleneck.

--Tim

On Thursday, July 31, 2014 10:49:20 AM Tony Kelman wrote:

> And takes a lot more memory. On AppVeyor VM's compiling that file takes 4+
> minutes for win32 (in each of the 2 phases of bootstrap), and crashes with
> the ugly poorly-handled out-of-memory gc segfault on win64. It's not quite
> as bad on my laptop with 6 gig of memory, but is still pretty slow.
>
> On Wednesday, July 30, 2014 9:10:39 AM UTC-7, Stefan Karpinski wrote:
> > That file just happens to trigger a ton of code generation. The real
> > problem is that type inference seems to take a lot longer than it used to
> > –
> > possibly the inlining pass got much more expensive.
> >
> >
> > On Wed, Jul 30, 2014 at 12:08 PM, John Myles White <[hidden email]
> >
> > <javascript:>> wrote:
> >> Lately I’ve noticed that my builds hang for a good minute at the
> >> osutils.jl part of image compilation. Anyone else notice this?
> >>
> >>  — John

Reply | Threaded
Open this post in threaded view
|

Re: Build hangs on osutils.jl?

John Myles White
Ah, that explains it. Thanks, Tim.

 — John

On Aug 1, 2014, at 4:43 AM, Tim Holy <[hidden email]> wrote:

> As Keno pointed out to me, it's the first file loaded after inference.jl. So
> it's JIT-compiling the inference infrastructure.
>
> But I agree, it didn't used to be such an obvious bottleneck.
>
> --Tim
>
> On Thursday, July 31, 2014 10:49:20 AM Tony Kelman wrote:
>> And takes a lot more memory. On AppVeyor VM's compiling that file takes 4+
>> minutes for win32 (in each of the 2 phases of bootstrap), and crashes with
>> the ugly poorly-handled out-of-memory gc segfault on win64. It's not quite
>> as bad on my laptop with 6 gig of memory, but is still pretty slow.
>>
>> On Wednesday, July 30, 2014 9:10:39 AM UTC-7, Stefan Karpinski wrote:
>>> That file just happens to trigger a ton of code generation. The real
>>> problem is that type inference seems to take a lot longer than it used to
>>> –
>>> possibly the inlining pass got much more expensive.
>>>
>>>
>>> On Wed, Jul 30, 2014 at 12:08 PM, John Myles White <[hidden email]
>>>
>>> <javascript:>> wrote:
>>>> Lately I’ve noticed that my builds hang for a good minute at the
>>>> osutils.jl part of image compilation. Anyone else notice this?
>>>>
>>>> — John
>