Re: Paging in Windows CE



I'm not really sure how is it implemented internally,
don't forget, its a "mystery" :)

I think this feature is based on the Memory Mapped
Files, ie. the binary is accessed using the Memory
Mapping mechanism. Once you code jumps to
the virtual address inside the page that has not yet been
loaded into RAM, a page fault occurs and kernel
loads the corresponding page into RAM. The whole
thing is of course transparent for the executable
itself.

Btw if you see some flaws in the documentation,
spend a few minutes to send a feedback on it.
Every topic in the PB documentation has a
"Send Feedback" link in the bottom of the page.
This will give the documentation guys some ideas
on how to improve it in the next releases. I believe
CE 6.0 is not so far way :)





"Anton Jarl" <aj@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eBqqjS8QGHA.2088@xxxxxxxxxxxxxxxxxxxxxxx

Thanks for replying, your summary was exactly
what I needed.

How does the kernel behave when "releasing
unused code"? Is it very aggressive, so that
it tries to keep a lot of RAM free by often
paging out executables? Or is there some
limit when it starts to page out code? (For
instance if free RAM gets below 10% or so)




"voidcoder" <voidcoder@xxxxxxxxx> wrote in message
news:eklNKC8QGHA.6008@xxxxxxxxxxxxxxxxxxxxxxx
The meaning for this mystery is just a memory saving
feature that allows the kernel to release unused
pieces of code when executing a binary from that
particular storage. This however slows down
the execution and is not safe when used with
removable media.


"Anton Jarl" <aj@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23wJB$w7QGHA.3192@xxxxxxxxxxxxxxxxxxxxxxx
I'm trying to understand what "Paging" means under
Windows CE.

It seems to be different from Windows XPs pagefile?

I havent seen good explanations on MSDN, the registry
setting "Paging" for storage manger is explained "Set to 0
to disable paging. Set to 1 to enable paging. One is the
default", which isn't too helpful.

Can anyone please point me to a better summary, or
maybe outline the "big picture" of what Paging means
in WinCE, and maybe compare it to how a pagefile
works for WinXP? Why would or wouldn't I use
paging in a system? What does a normal PDA
based on Windows CE use? I have no real-time
requests.

It would be very helpful, so thank you!








.



Relevant Pages

  • The Linear Address Space
    ... The problem is that in a computer there is Hard Drive storage, RAM storage ... I think that paging has something to do with RAM management and the ... Directory Base Register which is Control Register 3? ... The PC & Electronic Data Map Project: ...
    (comp.lang.asm.x86)
  • Re: PRIMES comparision
    ... beyond that the paging service starts ... Additional RAM gave the added ... the added complexity of NT slows down regular application code, ...
    (alt.lang.asm)
  • Re: The Linear Address Space
    ... controller to read the data into physical memory (RAM). ... > Am I on the right track with paging? ... used as an offset into that frame. ...
    (comp.lang.asm.x86)
  • Re: Any Reason To NOT Clear Paging File on Reboot?
    ... I have 1GB of RAM, and have completely ELIMINATED the paging file!!! ... Once you start hitting the paging ... If our systems had UNLIMITED memory, we wouldn't even need a paging ...
    (microsoft.public.windowsxp.general)
  • Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
    ... feature of AMD QuadCore CPUs for comments and public testing. ... paging, 32 bit PAE paging and 64 bit Long Mode). ... All these guests ran successfully with these patches. ... patch series only enables NPT for 64 bit Linux hosts at the moment. ...
    (Linux-Kernel)