[Haskell-cafe] Re: How to decrease ghc link time

2007-05-14 Thread Simon Marlow

Georg Sauthoff wrote:

Simon Marlow <[EMAIL PROTECTED]> wrote:

Hi,


Georg Sauthoff wrote:

I am a bit unhappy with the link time of the project (i.e. the time ghc
needs to link everyting).
 

The project consinst of ~60 Haskell and ~25 foreign files.

[..]

Make sure everything being linked is on the local file system (or use remote 
filesystems that can be cached locally).


thanks for the advice! Currently I am using NFS ... 

GHC itself links in 2-3 seconds here on an x86_64/Linux machine, which I think 
is pretty reasonable.  Windows is much slower though.


Yes, that sounds ok, currently the project needs 6-7 seconds over NFS
(under Solaris) ...


If you're using NFS v2, you might want to switch to v3 which has asyncronous 
writes (IIRC, Sun always stuck to the letter of the NFS spec and did synchronous 
writes where they were supposed to, whereas Linux has traditionally been a bit 
more relaxed with the standard).


Cheers,
Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How to decrease ghc link time

2007-05-09 Thread Georg Sauthoff
Simon Marlow <[EMAIL PROTECTED]> wrote:

Hi,

> Georg Sauthoff wrote:
>> I am a bit unhappy with the link time of the project (i.e. the time ghc
>> needs to link everyting).
 
>> The project consinst of ~60 Haskell and ~25 foreign files.
[..]

> Make sure everything being linked is on the local file system (or use remote 
> filesystems that can be cached locally).

thanks for the advice! Currently I am using NFS ... 

> GHC itself links in 2-3 seconds here on an x86_64/Linux machine, which I 
> think 
> is pretty reasonable.  Windows is much slower though.

Yes, that sounds ok, currently the project needs 6-7 seconds over NFS
(under Solaris) ...

Best regards
Georg Sauthoff

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How to decrease ghc link time

2007-05-09 Thread Simon Marlow

Georg Sauthoff wrote:


well, I work with a Haskell project which I regulary compile with ghc.

I am a bit unhappy with the link time of the project (i.e. the time ghc
needs to link everyting).

The project consinst of ~60 Haskell and ~25 foreign files.
Some parts of the project are organized like a 'cluster', i.e. the
foreign part has only one function, which is used from Haskell-Code.

What could I do to improve the link time?


Make sure everything being linked is on the local file system (or use remote 
filesystems that can be cached locally).


GHC itself links in 2-3 seconds here on an x86_64/Linux machine, which I think 
is pretty reasonable.  Windows is much slower though.


Cheers,
Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe