Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > Size of virtual memorysegments

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-10-03, 20:36
prae prae is offline
Registered User
 
Join Date: Feb 2003
Posts: 60
Size of virtual memorysegments

Hello,

OS = HP11i
IDS= 7.10.UD3

SHMVIRTSIZE 131072
SHMADD 131072
SHMTOTAL 0


Block size = 2048 bytes



# onstat -g seg
INFORMIX-OnLine Version 7.10.UD3 -- On-Line -- Up 03:31:42 -- 694560 KbytesSegment Summary: (resident segments are not locked)id key addr size ovhd class blkused blkfree
...
...
1381386250 e68f5000 134217728 2652 V 1299 15085


If I take the size of V segment :
134217728 pages = 67108864 KB = 65536 MB

It is far from the value of SHMVIRTSIZE ....


And if I take
blkused + blkfree * 2048 = 16384 * 2048 = 32768 KB = 32 MB.


Once again, pretty different figures ....


So my question is :
Is there any trick, or ain't I doing the right sum or what ?


Cheers.
Reply With Quote
  #2 (permalink)  
Old 04-10-03, 20:48
prae prae is offline
Registered User
 
Join Date: Feb 2003
Posts: 60
Mistake

Opps, sorry, I wrote :

If I take the size of V segment :
134217728 pages = 67108864 KB = 65536 MB

It is far from the value of SHMVIRTSIZE ....


In fact , the size in correct here, because in bytes ...

134217728 bytes = 131072 KB

which is well the value of SHMVIRTSIZE


The problem is with bock used and block free
Reply With Quote
  #3 (permalink)  
Old 04-11-03, 03:32
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
(1299+15085)*8192 = 134217728

These are 8K-Blocks, they have nothing to do
with the page size.

BTW 7.10 is very very old and no longer supported
by Informix. Using such a version in a production
environment is unwarrantable.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
  #4 (permalink)  
Old 04-11-03, 03:33
prae prae is offline
Registered User
 
Join Date: Feb 2003
Posts: 60
thanks

Thanks Eric
Reply With Quote
  #5 (permalink)  
Old 04-11-03, 03:37
doberls doberls is offline
Registered User
 
Join Date: Apr 2003
Posts: 1
Re: Mistake

When you have,

size : 134217728

blkused : 1299
blkfree : 15085

blkused and blkfree are the number of 8Ko memory fragment and not 2 Ko pages.

So, ( 1299 + 15085 ) * 8 Ko = 132 Mo ... it's OK !
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On