Re: Memory upgrade: not faster / nfs

Pete Harlan (harlan@mymenus.com)
Sun, 27 Oct 1996 01:29:49 -0600 (CST)


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