Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 1996 18:04:09 -0500 (EST)
From:      Brian Tao <taob@io.org>
To:        Bryan Ogawa at Work <bogawa@netvoyage.net>
Cc:        FREEBSD-HACKERS-L <freebsd-hackers@freebsd.org>
Subject:   Re: sharedactive patch for inn1.4-unoff3
Message-ID:  <Pine.BSF.3.91.960217174244.12191Q-100000@zip.io.org>
In-Reply-To: <Pine.BSF.3.91.960215113006.10064A-100000@digital.netvoyage.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Feb 1996, Bryan Ogawa at Work wrote:
> 
> options    SYSVSHM
> options    "SHMMAXPGS=512"   # 2048Kb (?) of sharable memory
> options    SYSVSEM          # enable for semaphores
> options    SYSVMSG          # enable for messaging

    I had the SysV IPC stuff compiled in, but didn't increase the
maximum shareable segment size.  I have SHMMAXPGS=1024 in the kernel
config (I can probably get away with 512 too) and MAX_ACTIVE_SIZE set
to 2097152 bytes in nnrpd/group.c.

    With an 864K active file and 792K newsgroups file, each in.nnrpd
was taking up about 2100K.  With sharedactive, they only occupy 300K
or less!

  VSZ  RSS COMMAND
  296 1988 -aces.net3.io.org GROUP
  308 2044 -nwatch.net2.io.org XOVER
  292 2024 -mittens.net5a.io.org XHDR
  292 2028 -dyna-48.net7a.io.org ARTICLE
  288 2012 -dyna-48.net7a.io.org ARTICLE
  288 2024 -wayned.net5c.io.org ARTICLE
  296 2032 -myriad.net5c.io.org ARTICLE
  308 2020 -dyna-197.net7b.io.org ARTICLE
  288  692 -205.206.18.21 XOVER
  288 1020 -myriad.net5c.io.org ARTICLE
  288 2024 -restoule.net5d.io.org ARTICLE
[...]

--
Brian Tao (BT300, taob@io.org)
Systems Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960217174244.12191Q-100000>