Re: For the die hards : where does my processor time go ?

From: Mike Slot (mslotREMOVETHIS_at_maesc.com)
Date: 02/28/05


Date: Sun, 27 Feb 2005 19:52:31 -0500

Hi Dean,

We turned off global paging as you suggested. This got rid of the delay we
were experiencing. Obviously it takes a bit longer now before the
application starts executing (-:

Thanks!
Mike

"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:%23XMkaASDFHA.1012@TK2MSFTNGP14.phx.gbl...
> One other solution that you might want to consider in a real time system
> is
> to globally disable demand paging. You can do this by setting the first
> bit
> in ROMFLAGS in your config.bib. Note that this will cause applications to
> fail to load if there isn't enough memory available.
>
> See PB documentation for more details.
>
> --
> Dean Ramsier - eMVP
>
>
> "Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
> news:OXsQpi5CFHA.2568@TK2MSFTNGP10.phx.gbl...
>> No paged code can be discarded and demand paged back in as needed, you
>> can
>> use LockPages or better yet put all the critical code into a DLL and use
>> LoadDriver on it (instead of LoadLibrary) to lock it's executable pages
> into
>> memory. (Device drivers loaded by device.exe are loaded that way by
> default)
>>
>> --
>> Steve Maillet
>> EmbeddedFusion
>> www.EmbeddedFusion.com
>> smaillet at EmbeddedFusion dot com
>>
>>
>
>