I know paging file is recommended on temporary drive, but if it currently exists on C drive, is this a problem?

Mary McEvoy 20 Reputation points
2023-05-05T08:30:42.3533333+00:00

I have a user complaining that paging file is on C drive instead of Temporary, I want to assure that this is not necessary to have the paging file on Temporary as they do not want to power down the server to make the change

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,081 questions
0 comments No comments
{count} votes

Accepted answer
  1. SAGAR SATAPATHY 145 Reputation points
    2023-05-05T08:35:09.4566667+00:00

    Having the paging file on the C drive is not necessarily a problem, but it may not be the most optimal configuration for your Azure Virtual Machine. The primary reason for placing the paging file on the temporary drive (D drive) is that the temporary drive typically provides better performance compared to the OS drive.

    The temporary drive is backed by local SSD storage and is designed for low-latency and high-throughput IO operations. Placing the paging file on the temporary drive can improve the performance of the VM, particularly when it comes to disk-intensive workloads or when the VM is under memory pressure.

    However, if your VM is not experiencing any performance issues and you do not want to take the VM down for reconfiguration, you can continue to use the paging file on the C drive. It is essential, though, to monitor the performance of the VM and ensure that the current configuration does not lead to any bottlenecks or issues.

    If you later decide to move the paging file to the temporary drive, you can do so by changing the virtual memory settings in the VM's operating system, without the need for redeployment. Keep in mind that moving the paging file may require a reboot of the VM, which will result in a brief downtime.


0 additional answers

Sort by: Most helpful