lkml.org 
[lkml]   [1996]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Memory upgrade: not faster / nfs
Date
Bryn writes, regarding compiling over NFS being slow:

> > compiling is particularly slow because gcc writes out data in very small
> > chunks, and since writes are not cached, each write operation causes
...
> I think there is some option that makes the compiler write out in bigger
> blocks, it's either a gcc option, or a rebuild the libc, and define this I
> can't rember which, but it was discussed on this list some time ago, so

Voila, here's the relevant excerpt from Peter Desnoyers's relevant
message. Also, remember to set rsize and wsize to 8192.

--
Pete Harlan
pete@mymenus.com

-----------------------------------------------------------------------

[...] I finally sat down and started playing around with the
GNU assembler.

Lo and behold, if you define FILE_OFFSET_IS_CHAR_INDEX at the top of
libbfd.c (or in bfd/Makefile) and recompile, writes get coalesced
properly and compilation over NFS works the way it should.

[...]

...............................................................................
Peter Desnoyers : Midnight Networks Inc. 200 Fifth Avenue Waltham
MA 02154
pjd@midnight.com : Ph. 617/890-1001 Fax -0028 The Best in Network
Software

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.076 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site