9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How much memory does it require ...
@ 1997-10-29  5:43 rsc
  0 siblings, 0 replies; 3+ messages in thread
From: rsc @ 1997-10-29  5:43 UTC (permalink / raw)


This got tossed around two years ago, and I think the
resolution was that you could change SEGMAPSIZE in pc/mem.h
and all would be fine.  The two attached messages contain
the necessary bits I think.

Nigel Roles said once that 8l uses 20MB to link ghostscript
without any printer drivers.

Russ

--- forwarded messages follow ---
>From cse.psu.edu!9fans-outgoing-owner Thu Nov  2 13:36:19 EST 1995
From:	"G. David Butler" <gdb@dbSystems.com>
To:	9fans@cse.psu.edu
Subject: Re: 386 maximum segment size of 16Mb
Sender: owner-9fans@cse.psu.edu
Reply-To: 9fans@cse.psu.edu

I hate replying to my own mail, but I guess I wasn't finished... :-)

>The real question, has anybody looked into increasing this limit?  (look
>in /sys/src/9/pc/mem.h, SEGMEMSIZE, I think, set to 16.)
Make that                SEGMAPSIZE.

Also several of the machines have this in mem.h:

#define SEGMAPSIZE 64 /* 16 is for wooses */

This would imply that all is necessary is to change 16 to 64 in pc/mem.h,
but that would be too simple...

Thanks again.

>From cse.psu.edu!9fans-outgoing-owner Thu Nov  2 13:59:19 EST 1995
From:	philw@plan9.att.com
To:	9fans@cse.psu.edu
Subject: Re: 386 maximum segment size of 16Mb
Sender: owner-9fans@cse.psu.edu
Reply-To: 9fans@cse.psu.edu


changing SEGMAPSIZE works fine.
It incurs overhead allocated Segment structures
so 16 seemed reasonable for a terminal. We really
dont use PC's to compile.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] How much memory does it require ...
@ 1997-10-29  5:38 Scott
  0 siblings, 0 replies; 3+ messages in thread
From: Scott @ 1997-10-29  5:38 UTC (permalink / raw)


I've had good results with 64M.   You might have to tweak your kernel
to allow data segments bigger than 32M.  (Was there a boddle for that?)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] How much memory does it require ...
@ 1997-10-29  5:27 Kenji
  0 siblings, 0 replies; 3+ messages in thread
From: Kenji @ 1997-10-29  5:27 UTC (permalink / raw)


Hello 9fans!

How much memory does it require to compile /sys/src/cmd/gs
My cpu server has 40MB memory, but compile fails with the following
message:
8l  -o 8.out gconfig.8 gp_nofb.8 gp_unifn.8 gp_unifs.8 gp_unix.8 ialloc.8
...
zsysvm.8 ztoken.8 ztype.8 zupath.8 zvmem.8 zvmem2.8
??none??: out of memory
mk: 8l  -o ...  : exit status=rc 1183:8l 1185:error

Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-10-29  5:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-29  5:43 [9fans] How much memory does it require rsc
  -- strict thread matches above, loose matches on Subject: below --
1997-10-29  5:38 Scott
1997-10-29  5:27 Kenji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).