[Simh] VAX Simulator 99.9% CPU , and flush nvram never finishes .

James W. Laferriere babydr at baby-dragons.com
Wed May 23 19:19:53 EDT 2018


 	Hello All ,  I am noticing a VERY High cpu with JUST simh running and it 
does not reduce over time .  Any ideas ?  Hopefully everything needed is below .

 		Tia ,  JimL


***	Exiting with this configuration never returns from the below
 	writing buffer .

sim> exit
Goodbye
NVR: writing buffer to file


*** the TOP output below is with simh sitting at the sim> prompt no boot has 
been issued .

top - 15:03:32 up 1 day, 21:10,  2 users,  load average: 0.97, 0.44, 0.20
Tasks: 107 total,   1 running, 106 sleeping,   0 stopped,   0 zombie
Cpu(s): 99.7%us,  0.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1012484k total,   935692k used,    76792k free,   175564k buffers
Swap:  8388604k total,      608k used,  8387996k free,   304496k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
14162 vaxuser   20   0  692m  29m 5076 S 99.6  2.9   2:34.66 vaxX
...snip...


sim> sh ver
VAXStation 3900 (KA655) simulator V4.0-0 Current
     Simulator Framework Capabilities:
         64b data
         64b addresses
         Threaded Ethernet Packet transports:PCAP:TAP:NAT:UDP
         Idle/Throttling support is available
         Virtual Hard Disk (VHD) support
         RAW disk and CD/DVD ROM support
         Asynchronous I/O support (Lock free asynchronous event queue)
         Asynchronous Clock support
         FrontPanel API Version 12
     Host Platform:
         Compiler: GCC 4.8.2
         Simulator Compiled as C arch: x64 (Debug Build) on Apr 15 2018 at 18:06:09
         Memory Access: Little Endian
         Memory Pointer Size: 64 bits
         Large File (>2GB) support
         SDL Video support: SDL Version 1.2.15
         PCRE RegEx (Version 8.39 2016-06-14) support for EXPECT commands
         OS clock resolution: 1ms
         Time taken by msleep(1): 1ms
         OS: Linux ns4 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 AMD Opteron(tm) Processor 6376 AuthenticAMD GNU/Linux
>>>	on VMWare 6.5
         git commit id: c8beee2d
         git commit time: 2018-04-15T12:53:29-07:00


vaxuser at ns4:~$ cat /home/vaxuser/bin/vaxX.ini
;
; Setup Logging point for vax(simh) errors and what not
;
set log /home/vaxuser/LOGS/vaxX.log
;
; Set Memory size and idle the cpu
;
; SET CPU EXTEND ; No longer functional/needed .
SET CPU 512M
SET CPU IDLE=VMS
SET CPU MODEL=VAXStation
;
; LOAD the cpu binary ie: the Vax emulator
;
LOAD -r /home/vaxuser/VAX-DISKS/ka655x.bin
;
; Define a NonVolatileRam location
;
ATTACH nvr /home/vaxuser/VAX-DISKS/vaxX-nvram.bin
;
; Define some disk types and sizes
; RQ0 is first disk on controller DU(a)
;
;SET RQ0 RA92
SET -L RQ0 RAUSER=8380080
ATTACH RQ0 /home/vaxuser/VAX-DISKS/vaxX-vms-rq0.dsk
;
; RQ1 set to be a RA92 ~= 1.5GB
;
SET RQ1 RA92
ATTACH RQ1 /home/vaxuser/VAX-DISKS/vaxX-vms-rq1.dsk
;
; Set RQ2 as a cdrom type rrd40
;
SET RQ2 RRD40
ATTACH RQ2 /home/vaxuser/VAX-INSTALL-MEDIA/VMS-7_2-ODS-cdrom.iso
;
; Set some parameters for the DH(u|v)11
;
set VH ENABLE
attach VH 65000
set VH lines=8
set VH0 MODEM
set VH0 HANGUP

;
; Disable some unused devices
;
SET CR DISABLE
SET LPT DISABLE
SET DZ DISABLE
SET RL DISABLE
SET TS DISABLE
SET RY DISABLE
SET TQ DISABLE
;
; Setup and attach networking
;
;set debug stderr
SET XQ MAC=08-00-2B-33-44-55
set xq type=delqa
ATTACH XQ tap0
;
; Set break mode .
; Note: ^E will always get you to SIM> prompt .
;
set cpu conhalt
;set cpu simhalt
;
; Show the config
;
show config
;
; To enable auto boot in SIMH .
;
;dep bdr 0
;
; Start emulator .
;
;BOOT CPU


-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 3237     Holden Road |  Give me Linux  |
| babydr at baby-dragons.com | Fairbanks, AK. 99709 |   only  on  AXP |
+------------------------------------------------------------------+


More information about the Simh mailing list