Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#114 closed defect (fixed)

tc_data$loop_lock_time overflows

Reported by: anonymous Owned by: Eric Swenson
Priority: major Milestone: MR12.7
Component: Hardcore Version: MR12.6f
Keywords: Cc:

Description

The “lockless” mufti-threaded emulator experiences a overflow fault when updating tc_data$loop_lock_time in pxss.alm after a week heavy load in a 4 CPU configuration.

loop_lock_time is (incorrectly) declared in tcm.incl.pl1 as

2 loop_lock_time fixed bin (18), /* time looping on the APT lock */

and treated as a signed 36 bit integer by pxss.alm.

Many of the accumulated time meters in hardcore were been switched to 'fixed bin (71)' during Multics development [Olin Sibert, personal communication]; the same treatment should be applied to loop_lock_time, a small increase in overhead as defensive programming.

It is thought that the 'lockless' emulator may accumulate lock wait times disproportionately due to poor thread scheduling as compared to the fixed scheduling structure of the canonical hardware.

Change History (2)

comment:1 by Eric Swenson, 7 years ago

Milestone: MR12.6g
Resolution: fixed
Status: newclosed
Version: MR12.6f

comment:2 by Eric Swenson, 7 years ago

Milestone: MR12.6gMR12.7

Milestone renamed

Note: See TracTickets for help on using tickets.