Disks are rauser=2048 and 4096<br><br>Yes - I always shutdown properly<br><br>found the following in fcntl.h of the w/2003 platform sdk<br><br>I don't know if it means anything, but I thought it was interesting.....<br><br>#ifndef _CRTBLD<br>/* This version of the header files is NOT for user programs.<br> * It is intended for use when building the C runtimes ONLY.<br> * The version intended for public use will not have this message.<br> */<br>#error ERROR: Use of C runtime library internal header file.<br>#endif  /* _CRTBLD */<br><br>#define _O_RDONLY       0x0000  /* open for reading only */<br>#define _O_WRONLY       0x0001  /* open for writing only */<br>#define _O_RDWR         0x0002  /* open for reading and writing */<br>#define _O_APPEND       0x0008  /* writes done at eof */<br><br>#define _O_CREAT        0x0100  /* create and open file */<br>#define _O_TRUNC        0x0200  /* open and truncate */<br>#define _O_EXCL         0x0400  /* open only if file doesn't already exist */<br><br>/* O_TEXT files have <cr><lf> sequences translated to <lf> on read()'s,<br>** and <lf> sequences translated to <cr><lf> on write()'s<br>*/<br><br>#define _O_TEXT         0x4000  /* file mode is text (translated) */<br>#define _O_BINARY       0x8000  /* file mode is binary (untranslated) */<br><br><br>----- Original Message -----<br>From: bsupnik@comcast.net<br>Date: Tuesday, July 17, 2007 8:41 am<br>Subject: [Simh] Slow VMS I/O<br>To: simh@trailing-edge.com<br><br>> <snip><br>> As far as I'm aware (please correct me if I'm wrong), the _flag member<br>> should only ever hold an 8 bit value (even though the member is <br>> an int in<br>> size) as defined by the _IO definitions in stdio.h <br>> <br>> On the occasions that the excessive paging/disk accesses occur I <br>> have seen<br>> the _flag member hold 0x80XX, where the XX is one of the normal stream<br>> states, to my way of thinking it looks like something might be <br>> trying to<br>> reset the _flag member to _IORW but somehow is writing to the <br>> upper 8 bits<br>> of the member???!<br>> <snip><br>> <br>> I ran through a complete boot sequence on VMS, and I never saw <br>> the _flag member assume any value other than 00XX.  That <br>> is, I never saw the 80XX flag set.<br>> <br>> I am using Visual Studio C++ 2005... but I also use relatively <br>> small disks (RD54's).<br>> <br>> Questions for Villy, since Richard has seen the same symptoms <br>> with big disks.<br>> <br>> 1. What size disks are you using?<br>> 2. Are they standard disks, or custom size disks?<br>> 3. Do you shut VMS down cleanly when you stop simulating?<br>> <br>> /Bob Supnik<br>> _______________________________________________<br>> Simh mailing list<br>> Simh@trailing-edge.com<br>> http://mailman.trailing-edge.com/mailman/listinfo/simh<br>>