Re: Paging in Windows CE
- From: "voidcoder" <voidcoder@xxxxxxxxx>
- Date: Thu, 9 Mar 2006 23:58:22 +0100
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!
.
- References:
- Paging in Windows CE
- From: Anton Jarl
- Re: Paging in Windows CE
- From: voidcoder
- Re: Paging in Windows CE
- From: Anton Jarl
- Paging in Windows CE
- Prev by Date: Re: Alternatives to TFAT?
- Next by Date: Re: Alternatives to TFAT?
- Previous by thread: Re: Paging in Windows CE
- Next by thread: Re: Paging in Windows CE
- Index(es):
Relevant Pages
|
|