Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
I am surprised at the behavior of the REGIS FM on SHOW entity ALL REFERENCE attributes. I have two global entities that are registered. The first entity (qms_cd) takes from 4-6 seconds to display its reference attributes. The second (qms_database) takes repeatdly between 39-49 seconds to show its reference attributes. This behavior does not change much if we try it on a local nameserver. The difference between the two entities is that qms_cd has one child entity. The other qms_database has about 25 child and granchild entities. However, all children are dynamic and never registered. I would think that this should have nothing to do with show <entity> all reference. I tried defining mcc_registration_fm_log to 6. What I can see is that after building each DICT ENTITY specs, for the qms_database (slow) entity, there is a pause of a few seconds for each attribute, EVERY TIME. While for the qms_cd (fast) entity, there is no pause after each DICT ENTITY dump. Here is a screen cut of the DICT ENTITY after which the pause is happening: DICT ENTITY: entity [0] wild = NOT_WILD class = 1 id = 0 type = 35 instance = .:.. %X9A3A0000 entity [1] wild = NOT_WILD class = 5 id = 0 type = 35 instance = g... %X67000000 entity [2] wild = NOT_WILD class = 3 id = 0 type = 3 instance = VALUE_DATA_TYPE below is the small script and the output that show the time difference: $man/ent SPAWN SHOW TIME SHOW QMS_CD .QMS.ECRU all REFER SPAWN SHOW TIME SHOW QMS_DATABASE .QMS.DB all REFER SPAWN SHOW TIME exit output: SPAWN SHOW TIME 9-MAR-1992 10:52:32 SHOW QMS_CD .QMS.ECRU all REFER Qms_cd TPEDNS_NS:.QMS.ECRU AT 9-MAR-1992 10:52:33 References Examination of attributes shows: Location = -- Attribute Not Available Implementation Desc = -- Attribute Not Available Responsible Person = -- Attribute Not Available Phone Number = -- Attribute Not Available MAIL Account = -- Attribute Not Available Remarks = -- Attribute Not Available Text File = -- Attribute Not Available SPAWN SHOW TIME 9-MAR-1992 10:52:38 SHOW QMS_DATABASE .QMS.DB all REFER Qms_database TPEDNS_NS:.QMS.DB AT 9-MAR-1992 10:52:38 References Examination of attributes shows: Location = -- Attribute Not Available Implementation Desc = -- Attribute Not Available Responsible Person = -- Attribute Not Available Phone Number = -- Attribute Not Available MAIL Account = -- Attribute Not Available Remarks = -- Attribute Not Available Text File = -- Attribute Not Available SPAWN SHOW TIME 9-MAR-1992 10:53:27 exit What bothersome about this is that everytime we do : SHOW QMS_DATABASE .qms.db all attributes we have this awfully long pause for the references attributes Any ideas ? Phil
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2558.1 | Normalize for the test please... | TOOK::R_SPENCE | Nets don't fail me now... | Mon Mar 16 1992 17:36 | 10 |
Try this. Add a second pair of tests after the first pair. The first time you access an instance of a global entity is when the code is loaded into memory and various memory tables and stacks updated and created. So, in order to make the test fair you should have all the needed code loaded before doing timing tests as I would expect that most usage of the product is after having it up for a while, not just run it and do a single command. s/rob | |||||
2558.2 | Here is a normalized test | ECRU::TAMER | Mon Mar 16 1992 20:10 | 117 | |
Here are four tries for each entity. As you can see, no noticeable effect. SHOW QMS_DATABASE .QMS.DB all reference ! !Qms_database TPEDNS_NS:.QMS.DB !AT 16-MAR-1992 20:00:37 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_DATABASE .QMS.DB all reference ! !Qms_database TPEDNS_NS:.QMS.DB !AT 16-MAR-1992 20:01:25 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_DATABASE .QMS.DB all reference ! !Qms_database TPEDNS_NS:.QMS.DB !AT 16-MAR-1992 20:02:13 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_DATABASE .QMS.DB all reference ! !Qms_database TPEDNS_NS:.QMS.DB !AT 16-MAR-1992 20:03:00 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_CD .QMS.ECRU all reference ! !Qms_cd TPEDNS_NS:.QMS.ECRU !AT 16-MAR-1992 20:03:47 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_CD .QMS.ECRU all reference ! !Qms_cd TPEDNS_NS:.QMS.ECRU !AT 16-MAR-1992 20:03:51 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_CD .QMS.ECRU all reference ! !Qms_cd TPEDNS_NS:.QMS.ECRU !AT 16-MAR-1992 20:03:54 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! SHOW QMS_CD .QMS.ECRU all reference ! !Qms_cd TPEDNS_NS:.QMS.ECRU !AT 16-MAR-1992 20:03:57 References ! !Examination of attributes shows: ! Location = -- Attribute Not Available ! Implementation Desc = -- Attribute Not Available ! Responsible Person = -- Attribute Not Available ! Phone Number = -- Attribute Not Available ! MAIL Account = -- Attribute Not Available ! Remarks = -- Attribute Not Available ! Text File = -- Attribute Not Available ! exit ! |