Hi, I have tried several configurations of the virtual memory in Windows 7 Pro and tweaked a few settings to get the OS to use my Ram drive (P: for pagefile) to be used for the pagefile. I've turned off hibernation, set Windows to clear the pagefile at shutdown, set Windows not to create a dump file. But regardless of what I do, it will not create a pagefile on the Ram disk.
I've tried no pagefile on C:, sytem-managed, custom size (200MB min/max & 350MB min/max). When I turn off pagefile on C:, Windows complains that there is something wrong with my pagefile configuration and creates one anyways. When I set it to 200MB it also complains and creates one. It seems to me that there is some kind of issue at startup that prevents Windows from using the P: Ram drive. The existing pagefile.sys on C: seems to be stuck at about 312MB. Any idea what's going on here? Is Windows failing to mount the drive in time to use it for the pagefile?
Here are the disk setting:
Basic settings:
Disk size: 4500 MB
Disk type: Direct-IO
Drive letter assigned: P
One-time disk: No
Substance settings:
Memory size: 4500 MB
Memory features: IM
Drive file size: 0 MB
Drive file name: -
File system settings:
File system: NTFS
Cluster size: Default
Volume label: VIRTUALMEM
NTFS compression: No
NTFS indexing: No
Create "TEMP" folder: No
File system advanced settings:
Custom folders: -
Volume serial number: -
Account "Everyone" permission: -
Image settings:
Enable image file: No
Let me know if there are any windows settings or log output you want.
Unable to use RAM disk for pagefile Windows 7
Re: Unable to use RAM disk for pagefile Windows 7
There shall be no problems to set pagefile on a ramdisk. Are you sure that you have correctly set up pagefiles. Can you upload a screenshot of your pagefile settings (control panel - system - advanced settings - Advanced - Performance settings - advanced - virtual memory)
Re: Unable to use RAM disk for pagefile Windows 7
On my system (Win7prof-64bit) pagefile is running on Primo ramdisk 5.6.0 (driveletter X:) without any problems.
Re: Unable to use RAM disk for pagefile Windows 7
Please see attached screenshots. Also, here are the dir /a output on C:\ and P:\ for pagefile.sys
C:\>dir /a pagefile.sys
11/28/2012 09:05 PM 3,126,046,720 pagefile.sys
1 File(s) 3,126,046,720 bytes
C:\>dir /a P:\
11/28/2012 05:09 PM <DIR> TEMP
0 File(s) 0 bytes
1 Dir(s) 979,597,312 bytes free
bcdedit output:
C:\Windows\system32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume2
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {3f1a5f7b-18b4-11e2-aef8-3c970e0cbfc6}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 0
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {3f1a5f7d-18b4-11e2-aef8-3c970e0cbfc6}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {3f1a5f7b-18b4-11e2-aef8-3c970e0cbfc6}
nx OptIn
pae ForceEnable
C:\>dir /a pagefile.sys
11/28/2012 09:05 PM 3,126,046,720 pagefile.sys
1 File(s) 3,126,046,720 bytes
C:\>dir /a P:\
11/28/2012 05:09 PM <DIR> TEMP
0 File(s) 0 bytes
1 Dir(s) 979,597,312 bytes free
bcdedit output:
C:\Windows\system32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume2
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {3f1a5f7b-18b4-11e2-aef8-3c970e0cbfc6}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 0
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {3f1a5f7d-18b4-11e2-aef8-3c970e0cbfc6}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {3f1a5f7b-18b4-11e2-aef8-3c970e0cbfc6}
nx OptIn
pae ForceEnable
- Attachments
-
- image-settings.png (26.77 KiB) Viewed 5885 times
-
- virtual-memory.png (24.78 KiB) Viewed 5885 times
-
- performance-options-advanced.png (20.92 KiB) Viewed 5885 times
Re: Unable to use RAM disk for pagefile Windows 7
Can you try to put pagefile on a ramdisk without the image file associated?
Thanks.
Thanks.