9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* File Server memory...
@ 1996-03-17 12:40 forsyth
  0 siblings, 0 replies; 2+ messages in thread
From: forsyth @ 1996-03-17 12:40 UTC (permalink / raw)


if you are running a file server on a machine with less than (say) 32mbytes,
you might find it worthwhile making the following change to /sys/src/fs/port/main.c:

currently:
	conf.nfile = 30000;

i use

	if (conf.mem < 32*1024*1024)
		conf.nfile = 15000;
	else
		conf.nfile = 30000;

you could reduce nfile still further if necessary.  this reduces the number
of simultaneously open files, but increases the memory available for buffers etc.






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

* File Server memory...
@ 1996-03-17  1:26 Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas @ 1996-03-17  1:26 UTC (permalink / raw)


Ok... So I put the fileserver boot disk on the machine that
I've got that has the most memory.  The answer to my previous
question is 19222529 bytes!... 

I had 20 Megs in the machine: 20971520
It told me that it had free:   1748991
                              --------
                              19222529

Can someone tell me that I'm doing the math right...

Or is there some other kind of math that I should be applying. 

-Tom

---- Where theory and reality meet. 
---- Thomas Riemer, triemer@wesleyan.edu







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

end of thread, other threads:[~1996-03-17 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-17 12:40 File Server memory forsyth
  -- strict thread matches above, loose matches on Subject: below --
1996-03-17  1:26 Thomas

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).