From: Mister Creosote <glynb@my-deja.com>
>
>I am struggling to make sense of some info I am being presented with by
>onperf and onstat.
>
>onstat -g seg output :->
>Informix Dynamic Server Version 7.31.UC2 -- On-Line -- Up 00:04:25 --
>188416 Kbytes
>
>Segment Summary:
>id key addr size ovhd class blkused blkfree
>509 1381451777 82000000 58720256 1748 R 6688 480
>510 1381451778 85800000 134217728 2640 V 380 16004
$ bc1024*131072
134217728
>511 1381451779 8d800000 4194304 656 M 54 458
>Total: - - 197132288 - - 7122 16942
>
>Am I readng this wrong, or does the final section in the first line
>mean I have some 188416Kb of Shared Memory allocated to this instance?
>If this IS the case, how come onperf/tools/status for this instance
>shows only some 2.97Mb rather than 184Mb? I'm sure this is a simple one
Sorry, I don't have a working onperf to hand, so I can't even look at that
bit.
>so accept my apologies in advance. The main reason for the question is
>that we have some 640Mb physical RAM in the machine which is dedicated
>to IDS (aren't we all?) and I want to maximise the use of this RAM.
>Could someone also explain the use of the SHMVIRTSIZE entry in
>$ONCONFIG - again my understanding is that this is the initial size of
>the virtual shared memory segment (in Kb) - that being the case, our
>values do not equate to what I am seeing above.
In what way?
$ bc1024*131072
134217728
>SHMVIRTSIZE 131072 # initial virtual shared memory
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com