Opened 4 years ago

Closed 10 days ago

#306 closed defect (invalid)

Multi-cpu configs don't properly update ASTE for prds on non-boot CPUs

Reported by: Gary Dixon Owned by: Eric Swenson
Priority: major Milestone:
Component: Hardcore Version:
Keywords: Cc:

Description (last modified by Gary Dixon)

On GHM, I was researching length of prds (per-processor) segments. The config deck shows 2 cpus running.

pcd cpu

cpu  a  7  on  dps8  70.  8.
cpu  b  6  on  dps8  70.  8.
cpu  c  5  off  dps8  70.  8.
cpu  d  4  off  dps8  70.  8.
cpu  e  3  off  dps8  70.  8.
cpu  f  2  off  dps8  70.  8.

r 09:53 0.083 3

But lengths reported for these prds files show a positive length only for the bootload CPU A.

ls >sl1>*.prds

Segments = 6, Lengths = 9.

       9  cpu_A.prds
       0  cpu_B.prds
       0  cpu_C.prds
       0  cpu_D.prds
       0  cpu_E.prds
       0  cpu_F.prds

r 09:51 0.152 4

Does this mean that when 2nd thru nth CPU is added, the dynamic CPU adding code does not properly update the ASTE for these prds file to reflect length of these segments (whose pages must be wired in memory)?

I have not investigated this bug, but only entered it to record this anomaly.

I was investigating bug #170 when I discovered this anomaly.

Change History (3)

comment:1 by Gary Dixon, 4 years ago

Description: modified (diff)

comment:2 by Gary Dixon, 4 years ago

Description: modified (diff)

comment:3 by Eric Swenson, 10 days ago

Resolution: → invalid
Status: new → closed

This ticket is invalid. It is not that the ASTE is not updated correctly, it is simply that the bit count is not set on the PRDS that are fabricated after the initial boot. If you use the command "ls >sl1>cpu_*.prds -rec" you can see that the records used is correct:

ls >sl1>cpu_*.prds -rec

Segments = 6, Records = 19.

   0  cpu_F.prds
   0  cpu_E.prds
   0  cpu_D.prds
   0  cpu_C.prds
  10  cpu_B.prds
   9  cpu_A.prds


GHM 16:38 0.174 0 Swenson

The bit count on cpu_A.prds is set when that segment is created from its SLT entry on the MST. However, when the other CPU PRDS segments are created, there is no explicit setting of the bit count, and hence the "lengths" of these segments shows 0.

The bit count is actually irrelevant and no one ever checks the bit count of these PRDS segments.

I displayed the ASTEs for each of these PRDS, and they all show an appropriate current length (records used), which matches that shown by "st >sl1>cpu_*.prds -long"'s value for the current length.

Note: See TracTickets for help on using tickets.