Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Ultrix Pathworks gnode(inode) problem
@ 1994-02-01 13:18 Chris Kokosa
  1994-02-02 11:21 ` Michael A. Crowley
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Kokosa @ 1994-02-01 13:18 UTC (permalink / raw)


I wanted full-time use of the CD-ROM on our DecServer 5100, but the
number of files on the CD (313MB) are sucking up my available inodes.
pstat -T results in:
     951/1992          files
    1040/1404          gnodes
     101/1056          processes
      23/  75/ 172     active/reclaimable/total texts
     197/ 963          00k swap
 
When the CD device is mounted (mount -t cdfs -o noversion /dev/rz6c  /Voc)
the gnodes are fine.  After accessing the CD via a Pathworks 4.3 file
service the gnodes almost peg the total available.  DEC explained that
a gnode is a RAM version of an inode.  They suggested that we increase
our Max User from 64 to 128.  This will provide more gnodes.  My system
admin believes that this will choke our system in other areas because
we only have 32MB of RAM.
 
Is there any way that we can force the system to NOT provide gnodes for
this device?  Access time is not an issue, only its availability.  If this
were a physical disk would the gnodes still be a problem?
 
Chris Kokosa          ckokosa@delphi.com  -or-
                      fz7n8s@fwa.natp.gmeds.com


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

* Re: Ultrix Pathworks gnode(inode) problem
  1994-02-01 13:18 Ultrix Pathworks gnode(inode) problem Chris Kokosa
@ 1994-02-02 11:21 ` Michael A. Crowley
  1994-02-02 18:53   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 1 reply; 3+ messages in thread
From: Michael A. Crowley @ 1994-02-02 11:21 UTC (permalink / raw)


Chris Kokosa (ckokosa@delphi.com) wrote:
> I wanted full-time use of the CD-ROM on our DecServer 5100, but the
> number of files on the CD (313MB) are sucking up my available inodes.
> pstat -T results in:
>      951/1992          files
>     1040/1404          gnodes
>      101/1056          processes
>       23/  75/ 172     active/reclaimable/total texts
>      197/ 963          00k swap
>  
> When the CD device is mounted (mount -t cdfs -o noversion /dev/rz6c  /Voc)
> the gnodes are fine.  After accessing the CD via a Pathworks 4.3 file
> service the gnodes almost peg the total available.  DEC explained that
> a gnode is a RAM version of an inode.  They suggested that we increase
> our Max User from 64 to 128.  This will provide more gnodes.  My system
> admin believes that this will choke our system in other areas because
> we only have 32MB of RAM.

You might search /usr/sys tree for "param.c" and modify the line that
calculates the gnodes.  It should be in /usr/sys/MIPS/BINARY, but a 
copy my already have been put in your {machinename} directory.
These are the lines in our param.c file:

/* Change addition to 2048 for gnode number.  Original, then modified lines:
#define	NGNODE (NPROC + MAXUSERS + NTEXT + 48)
*/
#define	NGNODE (NPROC + MAXUSERS + NTEXT + 48 + 2000 )
int	ngnode = NGNODE;

mike


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

* Re: Ultrix Pathworks gnode(inode) problem
  1994-02-02 11:21 ` Michael A. Crowley
@ 1994-02-02 18:53   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-02-02 18:53 UTC (permalink / raw)



It is worth noting that the sizes of the four data structures of
interest are (V4.3):

Struct file:   56 bytes
Struct gnode:  248 bytes
Struct proc:   312 bytes
Struct text:   48 bytes

Today you appear to be using about 340 KB in gnode structures.  This
may seem like a lot, but it is just over 1% of the 32 MB.  When you
consider the other things used by the kernel (10% buffer cache),
even doubleing it won't hurt much.  If you are in that desparate
need more memory, get more memory.

The more interesting question to ask is why Pathworks is using up
so many gnodes.  I'd guess that each time a file is opened it keeps
the file opened itself as a sort of cache.  Seem awfully anti-social
though.

--
Alan Rollow				alan@nabeth.cxo.dec.com


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

end of thread, other threads:[~1994-02-02 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-01 13:18 Ultrix Pathworks gnode(inode) problem Chris Kokosa
1994-02-02 11:21 ` Michael A. Crowley
1994-02-02 18:53   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox