[Simh] Excessive paging of the real machine running SIMH - VAX
Richard Davis
richard_a_davis_2 at btinternet.com
Tue Jul 17 08:11:37 EDT 2007
Villy,
The issue only occurs on my system when first starting the system, i.e. when
the disks are first mounted, my disks are 1Gb and 2Gb respectively..
A stack trace of the executable when the problem occurs shows the following
call trace:
sim_process_event
rq_svc
sim_fseek
fsetpos
_fseeki64
_fseeki64_nolock
_flush
_write
As mentioned before, the strange value in the _flag member of the stream
causes the _flush routine to do a complete flush of the disk file.
I modified the SIMH sim_fopen routine to use the _fsopen call (rather than
fopen) which allowed me to deny all sharing.. the problem still occurs, so
It's nothing to do with sharing!
I need to understand the workings of SIMH a bit better, and need to find out
how things are put onto the event queue (the _flag member is already
'corrupted' when the event gets processed in the sim_process_event routine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20070717/2fa84830/attachment-0003.html>
More information about the Simh
mailing list