
Georg Sauthoff wrote:
Simon Marlow
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