On 2026-10-30, Leroy H <l…@somewhere.net> wrote:
> On an early morning (about 2 am) job run, I literally brought the
> mainframe to its knees while simultaneously burning up the entire
> annual department time-sharing budget, via an extensive numerical
> simulation involving 500x500 matrix calculations.
>
> From that experience I learned a valuable computer science lesson
> that is not found in the standard textbooks: the most powerful
> digital computers are DAMNED SLOW AND IMPOTENT.
I wouldn't call that a computer science lesson; many CS weenies
assume that computers are infinitely powerful, and start whining when
confronted with systems in the real world. I had a confrontation
with a guy like that when trying to determine why a COBOL program
was running like molasses through a pinhole in January. One reason
was that this genius had declared all subscripts as COMP-3 (packed
decimal) rather than binary. Just changing those declarations alone
knocked 30% off the execution time. I wish I could have had more
time to work on that program; I bet I could have really sped it up.
I calculated that the nested PERFORM VARYING loop that cleared a
3-dimensional array would have taken 25 minutes of the estimated
50-hour run time, due to a combination of those decimal subscripts
and subroutine calling overhead. (The CPU did about 130 KIPS.)
--
/~\ Charlie Gibbs | In this world there are
\ / <cgib…@kltpzyxm.invalid> | two kinds of people:
X I'm really at ac.dekanfrus | 1. Those who can extrapolate
/ \ if you read it the right way. | from incomplete data.