Solved Which option should i use when moving folders to a ramdisk?


smirk

Well-known member
Local time
3:51 PM
Posts
42
OS
Windows 11 Home
I'm wanting to move the following folders to a ramdisk

Program Files
Program Files (x86)
Program Data
Users

But I'm not sure how much ram I should use when configuring the ramdisk and rather or not I should use a symbolic link or a junction link to do so move the folders.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus FX505DT-WB52
    CPU
    AMD Ryzen 5 3550H
    Motherboard
    ASUSTeK COMPUTER INC. FX505DT (FP5)
    Memory
    32 GB DDR4-3200 • CL=22 • NON-ECC • SODIMM • 260-pin • 1.2V • 2Rx8/1Rx8 • PC4-25600
    Graphics Card(s)
    4095MB NVIDIA GeForce GTX 1650 (ASUStek Computer Inc) 128MB ATI AMD Radeon Vega 8 Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    (1920x1080@60Hz)
    Hard Drives
    Samsung 860 Evo 500GB
    PSU
    Stock
    Case
    Stock
    Keyboard
    Stock
    Mouse
    Stock
    Internet Speed
    30 MBPS
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i7 8700k
    Motherboard
    TUF Z390M-PRO GAMING (WI-FI)
    Memory
    OLOy WarHawk RGB (Intel/AMD Ready) 288-Pin PC RAM DDR4 3600 (PC4 28800) 16GB
    Graphics card(s)
    PNY GeForce RTX 3060 12GB XLR8 Gaming Revel Epic-X RGB Single Fan Graphics Card
    Sound Card
    Stock
    Monitor(s) Displays
    LG UltraGear FHD 24-Inch Gaming Monitor 24GL600F-B
    Screen Resolution
    1920x1080 @ 144Hz
    Hard Drives
    PNY CS2140 500GB (SSD)

    Seagate BarraCuda 4TB (ST4000DMZ04/DM004)
    PSU
    EVGA 750 BQ 80 Plus Bronze PSU
    Case
    NZXT H510 Flow
    Cooling
    Cooler Master MA620M dual tower air cooler and SP120 RGB Elite Performance 120MM PMW Triple Fan
    Mouse
    GM702 GAMING MOUSE
    Keyboard
    PICTEK RGB Gaming Keyboard
    Internet Speed
    30mbs
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe
I'm wanting to move the following folders to a ramdisk

Program Files
Program Files (x86)
Program Data
Users

But I'm not sure how much ram I should use when configuring the ramdisk and rather or not I should use a symbolic link or a junction link to do so move the folders.
Why would you even want to do this? The contents of these folders would be lost when the computer is turned off or rebooted.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Gaming A15 (2022)
    CPU
    AMD Ryzen 7 6800H with Radeon 680M GPU (486MB RAM)
    Memory
    Micron DDR5-4800 (2400MHz) 16GB (2 x 8GB)
    Graphics Card(s)
    NVIDIA RTX 3060 Laptop (6GB RAM)
    Sound Card
    n/a
    Monitor(s) Displays
    15.6-inch
    Screen Resolution
    1920x1080 300Hz
    Hard Drives
    2 x Samsung 980 (1TB M.2 NVME SSD)
    PSU
    n/a
    Mouse
    Wireless Mouse M510
    Internet Speed
    1200Mbps/250Mbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
  • Operating System
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS PRIME X370-PRO
    Memory
    G.SKILL Flare X 32GB (2x16GB) DDR4
    Graphics card(s)
    ASUS ROG-STRIX-RTX3060TI-08G-V2-GAMING (RTX 3060-Ti, 8GB RAM)
    Monitor(s) Displays
    Samsung S23A300B (23-in LED)
    Screen Resolution
    1080p 60Hz
    Hard Drives
    2TB XPG SX8200 Pro (M2. PCIe SSD) || 2TB Intel 660P (M2. PCIe SSD) ||
    PSU
    Corsair RM750x (750 watts)
    Case
    Cooler Master MasterCase 5
    Cooling
    Corsair H60 AIO water cooler
    Mouse
    Logitech K350 (wireless)
    Keyboard
    Logitech M510 (wireless)
    Internet Speed
    1200 Mbps down / 200 Mbps up
    Browser
    Firefox, Edge, Chrome
    Antivirus
    Malwarebytes (Premium)
    Other Info
    ASUS Blu-ray Burner BW-16D1HT (SATA) || Western Digital Elements 12TB USB 3.0 external hard drive used with Acronis True Image backup software || HP OfficeJet Pro 6975 Printer/Scanner
Why would you even want to do this? The contents of these folders would be lost when the computer is turned off or rebooted.

Why would you even want to do this? The contents of these folders would be lost when the computer is turned off or rebooted.
I'd be using Dataram Ramdisk which allows you to save the image at shutdown and loads the image at startup. I have the ramdisk setup as a folder instead of a drive also. And I can always make a script that copies the folders that runs at startup as well
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus FX505DT-WB52
    CPU
    AMD Ryzen 5 3550H
    Motherboard
    ASUSTeK COMPUTER INC. FX505DT (FP5)
    Memory
    32 GB DDR4-3200 • CL=22 • NON-ECC • SODIMM • 260-pin • 1.2V • 2Rx8/1Rx8 • PC4-25600
    Graphics Card(s)
    4095MB NVIDIA GeForce GTX 1650 (ASUStek Computer Inc) 128MB ATI AMD Radeon Vega 8 Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    (1920x1080@60Hz)
    Hard Drives
    Samsung 860 Evo 500GB
    PSU
    Stock
    Case
    Stock
    Keyboard
    Stock
    Mouse
    Stock
    Internet Speed
    30 MBPS
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i7 8700k
    Motherboard
    TUF Z390M-PRO GAMING (WI-FI)
    Memory
    OLOy WarHawk RGB (Intel/AMD Ready) 288-Pin PC RAM DDR4 3600 (PC4 28800) 16GB
    Graphics card(s)
    PNY GeForce RTX 3060 12GB XLR8 Gaming Revel Epic-X RGB Single Fan Graphics Card
    Sound Card
    Stock
    Monitor(s) Displays
    LG UltraGear FHD 24-Inch Gaming Monitor 24GL600F-B
    Screen Resolution
    1920x1080 @ 144Hz
    Hard Drives
    PNY CS2140 500GB (SSD)

    Seagate BarraCuda 4TB (ST4000DMZ04/DM004)
    PSU
    EVGA 750 BQ 80 Plus Bronze PSU
    Case
    NZXT H510 Flow
    Cooling
    Cooler Master MA620M dual tower air cooler and SP120 RGB Elite Performance 120MM PMW Triple Fan
    Mouse
    GM702 GAMING MOUSE
    Keyboard
    PICTEK RGB Gaming Keyboard
    Internet Speed
    30mbs
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe

My Computers

System One System Two

  • OS
    Windows 11 22H2 (latest update ... forever anal)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Slim S01
    CPU
    Intel i5-9400
    Memory
    8GB
    Graphics Card(s)
    NVIDIA GeForce GT730
    Sound Card
    OOBE
    Monitor(s) Displays
    Acer 32"
    Screen Resolution
    1920x1080
    Hard Drives
    2 x 1TB SSDs
    PSU
    OOBE
    Case
    OOBE
    Cooling
    OOBE
    Keyboard
    Logitech wireless
    Mouse
    Logitech wireless
    Internet Speed
    Classic Australian w.a.p.
    Browser
    Brave
    Antivirus
    KIS
  • Operating System
    Windows 11 Pro (latest upadte ... anally always)
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavillion 15
    CPU
    i7-1165G7 @ 2.80GHz
    Graphics card(s)
    Intel Iris Xe Graphics
    Hard Drives
    Samsung NVMe 512GB
    + numerous/multiple SSD Type C USB enclosures
    Internet Speed
    NBN FTTN 50
    Browser
    Brave
    Antivirus
    KIS
Again,

??
It's simple. I want better responsiveness and ramdisks are faster then m.2. But I don't think I'm gonna get much help. So I'm gonna mark this as solved
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus FX505DT-WB52
    CPU
    AMD Ryzen 5 3550H
    Motherboard
    ASUSTeK COMPUTER INC. FX505DT (FP5)
    Memory
    32 GB DDR4-3200 • CL=22 • NON-ECC • SODIMM • 260-pin • 1.2V • 2Rx8/1Rx8 • PC4-25600
    Graphics Card(s)
    4095MB NVIDIA GeForce GTX 1650 (ASUStek Computer Inc) 128MB ATI AMD Radeon Vega 8 Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    (1920x1080@60Hz)
    Hard Drives
    Samsung 860 Evo 500GB
    PSU
    Stock
    Case
    Stock
    Keyboard
    Stock
    Mouse
    Stock
    Internet Speed
    30 MBPS
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i7 8700k
    Motherboard
    TUF Z390M-PRO GAMING (WI-FI)
    Memory
    OLOy WarHawk RGB (Intel/AMD Ready) 288-Pin PC RAM DDR4 3600 (PC4 28800) 16GB
    Graphics card(s)
    PNY GeForce RTX 3060 12GB XLR8 Gaming Revel Epic-X RGB Single Fan Graphics Card
    Sound Card
    Stock
    Monitor(s) Displays
    LG UltraGear FHD 24-Inch Gaming Monitor 24GL600F-B
    Screen Resolution
    1920x1080 @ 144Hz
    Hard Drives
    PNY CS2140 500GB (SSD)

    Seagate BarraCuda 4TB (ST4000DMZ04/DM004)
    PSU
    EVGA 750 BQ 80 Plus Bronze PSU
    Case
    NZXT H510 Flow
    Cooling
    Cooler Master MA620M dual tower air cooler and SP120 RGB Elite Performance 120MM PMW Triple Fan
    Mouse
    GM702 GAMING MOUSE
    Keyboard
    PICTEK RGB Gaming Keyboard
    Internet Speed
    30mbs
    Browser
    Mozilla Firefox
    Antivirus
    Norton 360 Deluxe
It's simple. I want better responsiveness and ramdisks are faster then m.2. But I don't think I'm gonna get much help. So I'm gonna mark this as solved
Technically you're correct, but the Program folders can be several gigabytes in size, so any performance gain would be lost at shutdown/reboot while the folders are copied to and from the SSD.

It won't work anyway as these are System folders that can't be copied from within a running Windows environment. Those three folders on my system are 26GB so you'd likely need a bigger RAMdisk than your system has physical RAM installed anyway
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 (RP channel)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte
    CPU
    AMD Ryzen 5900X 12-core
    Motherboard
    X570 Aorus Xtreme
    Memory
    64GB Corsair Platinum RGB 3600MHz CL16
    Graphics Card(s)
    MSI Suprim X 3080 Ti
    Sound Card
    Soundblaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming VG289Q
    Screen Resolution
    3840x2160
    Hard Drives
    Samsung 990 Pro 2TB
    Samsung 980 Pro 2TB
    Samsung 970 Evo Plus 1TB
    Samsung 870 Evo 4TB
    Samsung T7 Touch 1TB
    PSU
    Asus ROG Strix 1000W
    Case
    Corsair D750 Airflow
    Cooling
    Noctua NH-D15S
    Keyboard
    Asus ROG Flare
    Mouse
    Logitech G903 with PowerPlay charger
    Internet Speed
    500Mb/sec
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
But I'm not sure how much ram I should use when configuring the ramdisk
At least the same amount as those folders have. Note that user folder also contains browser's cache.
I do not know about Dataram Ramdisk, ImDisk allows to dynamically allocate as much RAM as needed.
I should use a symbolic link or a junction link to do so move the folders.
I am using symlinks without problems.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 3600 & No fTPM (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E & IFX TPM (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz & FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB & 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm (07/19)
    Keyboard
    HP Wired Desktop 320K + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge (No FB/Google) & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
At least the same amount as those folders have. Note that user folder also contains browser's cache.
I do not know about Dataram Ramdisk, ImDisk allows to dynamically allocate as much RAM as needed.

I am using symlinks without problems.
The problem is that the RAM disk will likely need to be as large as, if not larger, than the installed RAM (unless you have 128GB or more perhaps). Which negates any point in doing it, as Windows will be constantly writing to the SSD's page file anyway. Might as well just skip the step and read/write directly to the SSD.
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 (RP channel)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte
    CPU
    AMD Ryzen 5900X 12-core
    Motherboard
    X570 Aorus Xtreme
    Memory
    64GB Corsair Platinum RGB 3600MHz CL16
    Graphics Card(s)
    MSI Suprim X 3080 Ti
    Sound Card
    Soundblaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming VG289Q
    Screen Resolution
    3840x2160
    Hard Drives
    Samsung 990 Pro 2TB
    Samsung 980 Pro 2TB
    Samsung 970 Evo Plus 1TB
    Samsung 870 Evo 4TB
    Samsung T7 Touch 1TB
    PSU
    Asus ROG Strix 1000W
    Case
    Corsair D750 Airflow
    Cooling
    Noctua NH-D15S
    Keyboard
    Asus ROG Flare
    Mouse
    Logitech G903 with PowerPlay charger
    Internet Speed
    500Mb/sec
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
You can use junctions to redirect folders (either on the same partition or on a different one and that also may be on a different volume). For individual files, junctions cannot be used so that would require to use symbolic links instead. But keep in mind that the SysMain service already stores your most frequently used programs and apps in RAM to make them load faster, and does so in such a particular way that RAM will not be 'stolen' from any processes that try to allocate more RAM. This is because it only uses the portions of the RAM that would otherwise be left unused so the amount of RAM that is used by it is changed automatically, and 'invisibly', as a result of processes allocating/deallocating certain amounts of RAM space. Put simply, SysMain does not bog the system down, as its only purpose is the opposite of that, to speed things up each time when it's possible to do. The only real downside is that it doesn't put you properly in control of what programs/apps are going to load faster with it. Instead, it just speeds up the load times of your most frequently used programs/apps. So, by putting a specific selection of files/folders on a ramdisk, it can be possible to overcome this particular limitation, and, the files/folders that you choose to put on there do not have to be part of any program or app. So, by going for a ramdisk, you gain more freedom, and you also gain the freedom to spend a lot of time and effort on trying to figure out all sorts of stuff about what files are worth putting on the ramdisk (and WHEN they are...) vs not worth, i.e. in terms of how big is the jump in performance vs the amount of RAM that will be sacrificed of course.

That said, personally, I, use Romex Primo Ramdisk with Dynamic Memory Management (DMM) and Compact mode because I find that it greatly reduces the amount of RAM that will be sacrificed by the ramdisk in question, while still getting serious performance. It is a commercial (paid) software. Here's what I got:

Primo Ramdisk (SCSI, DMM, compacted).png
Ripjaws.jpg

To get the most from it, I also use Romex PrimoCache, also in addition to Primo Ramdisk. Usually 2GB cache size is already big enough to make PrimoCache really shine. It has a fairly huge impact on the logical relationship between performance and what I earlier said about what files to copy onto the ramdisk and when, and what files to delete from the ramdisk and when. I wrote my own scripts to automate these kinds of tasks that relate to the ramdisk, and have embedded them into a lot of my workflow schemes. Copying of the files is done with the free tool called FastCopy, which is portable and can be run from the command line or batch script.

Besides junctions and symbolic links I also rely heavily on the (also free) Sandboxie-Plus to redirect certain stuff into a few sandboxes some of which are located on the ramdisk. Script can also be used to modify the contents of a sandbox, same thing as when you're not using a sandbox essentially, but takes some time (only just a little) to experiment and learn how Sandboxie-Plus works. Its main intended purpose is software isolation, but Sandboxie-Plus can also be used for easy redirection by filtering some data access operations of the filesystem on Windows so can be quite handy for that also sometimes. (It greatly depends on what exactly you want to achieve, but I find it indispensable TBH.) Either way, if you're going to be working with junctions and/or symbolic links a lot, then IMO be sure to grab the free LinkShellExtension (LSE).
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
RAM disks can be very suitable for tiny OS'es. But since Windows needs at least 4GB RAM just to run decently -- (although in a VM you can make it work on 2GB), -plus paging area etc it's going to take longer to boot - won't necessarily run any better --especially if you have SSD's, and of course any changes will be lost unless you save the whole kybosh at shutdown. Any glitch in the system then you again will lose data.

It can work for tiny OS'es - often a Linux kernel is held on a RAMDISK as the kernel is not usually changed while the OS is running anyway. The modular way Linux works makes this possible,. Windows is built differently so this approach isn't feasable to implement efficiently.

Those who try a Linux VM might see depending on the distro used a boot message "loading ramdisk" where the kernel is loaded.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Back
Top Bottom