-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
klh10 - Kn10-kl cpu usage on Linux when running Tops-10 guest. #38
Comments
https://github.com/PDP-10/klh10/ should include all updates, but I don't recall hearing anything about high CPU usage. |
@wgs777 I don't recall any reports on tops-10, no. Personally I tried tops-10 maybe once or twice and mostly used the panda edition of tops-20. That one surely has the kind of patch that's mentioned. |
Oh, that's right. KLH10 does not attempt to automatically detect an idle operating system. You have to patch your monitor somehow to insert a special instruction in its idle loop. SIMH, on the other hand, does this automatically. It added KL10 emulation not too long ago, if that's your preferred hardware. |
@wgs777, I invited you to the PDP-10 group here on GitHub. |
Thank you all for reasponding. I just wanted to provide an update. I patched the Tops-10 monitor with some help from Rich Alderson and that brought the klh10 cpu usage from 100% of 1 core down to 0.08% of 1 core. So problem is solved. I'll post the details on the patch here in case anyone is interested in doing it themself: #Patch of :system.exe[1,4] Info at: https://alt.sys.pdp10.narkive.com/UCpN700h/how-to-rebuild-tops10-rel Notes: While on same line, after it displays: SOJG W,P Add this to your klh10 startup ini: Then apply patch everytime you boot up by typing TOPS10.EXE at the first BOOT> BOOT>TOPS10.EXE |
I was hoping someone might know of a downloadable pre-built tops-10 disk image that is fully loaded with SOS editor, all the major compilers: Cobol, Fortran, Algol, BASIC, APLSF, BLISS, along with some add on's like Pascal, Lisp, C, and some games too like the kind of fully loaded Tops-10 system that would have been found at most major Universities in the 1980's. I downloaded and am running the prebuilt system on github at: https://github.com/gewtnet/tops10-disks which includes a 3rd disk named TSU. But the compilers don't seem to be installed on that disk image. devdef dsk0 rh0.0 rp type=rp06 sn=1024 format=dbd9 path=disks/T10-RP06.0-dbd9 If anyone knows of a fully loaded Tops-10 disk image, please let me know. Thanks, |
@wgs777 First, thanks for writing up the procedure to patch TOPS-10. I'd like to add this to one of the documentation files. Is that ok with you? I guess you're aware of the "twonky" TOPS-10 set at http://klh10.trailing-edge.com/ . I think that's the one I tried at some point. ANd there is stuff at http://pdp-10.trailing-edge.com/ but that's un-installed tape images, mostly. I'm mentioning it on the off-chance that you hadn't seen it. |
Thanks. Yes, please add it to the documentation on Github, as this may
help others to have a klh10 experience with tops-10 with CPU usage at 0.08%
instead of 100% and having a red hot laptop.
Also, regarding the disk images, I tried the twonky disks + the 3rd disk
labelled TSU. When trying to use the Cobol, Fortran, Algol compilers, the
OS couldn't find the compilers.
Would anyone know if the compilers might be on the TSU disk and I would
just need a command to put them in the search path?
Thanks,
Bill
…On Sat, Apr 16, 2022 at 10:18 AM Rhialto The M. ***@***.***> wrote:
@wgs777 <https://github.com/wgs777> First, thanks for writing up the
procedure to patch TOPS-10. I'd like to add this to one of the
documentation files. Is that ok with you?
I guess you're aware of the "twonky" TOPS-10 set at
http://klh10.trailing-edge.com/ . I think that's the one I tried at some
point. ANd there is stuff at http://pdp-10.trailing-edge.com/ but that's
un-installed tape images, mostly. I'm mentioning it on the off-chance that
you hadn't seen it.
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYRYNQT4O6EE2YP3TIPUSB3VFLDZ5ANCNFSM5TBL67WA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks to wgs777 who summarized how to patch a TOPS-10 monitor to use the host device in the null task to save host CPU usage. See issue PDP-10/-READ--THIS-#38.
Just wanted to ask if anyone is using klh10 on Linux to run a guest operating system Tops-10, and experiencing very high CPU usage on the Linux process: kn10-kl.
There is information about this in the file: doc/dvhost.txt, with a tops10 clock1.mac patch needed.
[1] Has anyone installed that patch successfully.
[2] Does the latest [klh10-2.0h] offer any other fixes for this high cpu usage so perhaps the patch is no longer needed?
Thanks in advance for your reply.
Bill
The text was updated successfully, but these errors were encountered: