comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Shared Memory in Windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Shared Memory in Windows [message #48239 is a reply to message #48225] Tue, 04 April 2006 18:00 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
The Windows pagefile is just an area of hard drive space, nothing more,
nothing less. The documentation appears to indicate that your options
are to either use the system pagefile or a memory mapped file on disk.
While the pagefile is just "an area of hard drive space" it has probably
been optimized, of course I could be wrong -- this is Windows we're
talking about. ;-) The optimizations of the pagefile will make it
perform better than just using a regular memory mapped file, but worse
than RAM.

I don't know how the CreateFileMapping() system call works, so I can't
say if it tries to do something with RAM before using the pagefile or
not. But seeing as how this is your only option, go with it and see how
it performs. The first rule of performance tuning is to only tune when
you have to. Try it out -- you may find that the pagefile works fast
enough for your needs.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Points in a rectangle with an angle
Next Topic: Re: Points in a rectangle with an angle

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:28:12 PDT 2025

Total time taken to generate the page: 0.00434 seconds