F
FU.U.NA
Hi.
I simply want to allocate large size of memory (about 300~400 MB) on
just physical RAM (not on disc virtual ram).
I'm finding the garanteed method of allocating memory on PHYSICAL RAM.
DECRIPTION OF MY SITUATION:
I'm testing file copying with large memory cache.
As I know, disc reading and writing shows better performance when do
that at once. (sequal reading & writing)
And I think Windows Explorer copy routine does not use all memory that
they can use.
So I want to make my own routine that copying large file with large
cache.
(I have many large files have to be copied often between drives.)
To do that, I need large and fast speed cache to copy large byte
chunks.
And the cache never be on the virtual ram.
I don't know well about low level working of .NET FW and windows API.
So I want to find garanteed method of allocating memory on PHYSICAL
RAM.
Or, if you know about better way about fast copying of large file,
that's good also.
PS:
This is just test and private work, not a business job. Please don't
discuss about efficiency.
I simply want to allocate large size of memory (about 300~400 MB) on
just physical RAM (not on disc virtual ram).
I'm finding the garanteed method of allocating memory on PHYSICAL RAM.
DECRIPTION OF MY SITUATION:
I'm testing file copying with large memory cache.
As I know, disc reading and writing shows better performance when do
that at once. (sequal reading & writing)
And I think Windows Explorer copy routine does not use all memory that
they can use.
So I want to make my own routine that copying large file with large
cache.
(I have many large files have to be copied often between drives.)
To do that, I need large and fast speed cache to copy large byte
chunks.
And the cache never be on the virtual ram.
I don't know well about low level working of .NET FW and windows API.
So I want to find garanteed method of allocating memory on PHYSICAL
RAM.
Or, if you know about better way about fast copying of large file,
that's good also.
PS:
This is just test and private work, not a business job. Please don't
discuss about efficiency.