T.R | Title | User | Personal Name | Date | Lines |
---|
584.1 | $CRMPSC | ARNOLD::LENNIG | Dave, SWS, @CYO Cincinnati | Mon Oct 19 1987 17:25 | 2 |
| the $CRMPSC service allows you to specify the cluster size for the
section at run-time...
|
584.2 | $CRMPSC | EAGLE1::KIRK | Matthew Kirk | Tue Oct 20 1987 14:37 | 9 |
|
$CRMPSC doesn't work for this application because setting the
SEC$M_PAGFIL flag requires that the memory mapped be a global
section, which is unacceptable since most of the machines the
program will be running on don't have a large enough global
page table. Not using the SEC$M_PAGFIL flag requires that the
program create a disk file section, which is also unacceptable
because of the amount of file space that would be required.
|
584.3 | | OVDVAX::LENNIG | Dave, SWS, @CYO Cincinnati | Wed Oct 21 1987 17:54 | 20 |
| I'm very confused.
You want to control the pfc size, AND use the pagefile?
My experience with situations involving controlling pfc size always
used a disk file section; if you're using the pagefile, there is
no guarentee at all that you'll get 'pfc size' chunks consistently.
You seem concerned about the amount of disk space, but it'll be
the same number of blocks whether it's the page file or a private
file. Also, concern about raising GBLPAGES (a relatively cheap
parameter) seems misplaced
If this is a purely scratch data area, you might try this...
(I've never done it, but can't see any reason why it won't work)
Modify PHYSICALPAGES to system_memory minus data_area_size.
PFN map this memory to your address space. You won't use any backing
store, never incur a page fault, etc...
Dave
|
584.4 | Exercise for the abuser | MDVAX3::COAR | My hero? Vax Headroom, of course! | Thu Dec 17 1987 16:24 | 8 |
| Go in and frob your PHD to change your personal PFCDEFAULT (for
your process only). A minor hack, needing CMKRNL.
Bear in mind that, if the page fault is satisfied from the modified
or free lists, ONLY the faulting page gets moved into your WS, NOT
a whole cluster.
#ken :-)}
|