RAM consumption is extremely high while VRAM utilization appears minimal?
RAM consumption is extremely high while VRAM utilization appears minimal?
Processor: AMD Ryzen 7 7800X3D 8-Core Processor at 4.20 GHz
Installed RAM: 32.0 GB DDR5
Storage: SSD Samsung SSD 9100 PRO 1TB (PCIe 5), M2_1 installed
3.64 TB HDD ST4000VN006-3CW104 (M2_4 set to SATA)
3.64 TB HDD ST4000VN006-3CW104
500 GB SSD KINGSTON SNV3S500G (M2_2)
Graphics Card: NVIDIA GeForce RTX 5090 (32 GB), installed in the top slot
Motherboard: ASUS X870-P
Windows 10 Pro is installed on Samsung.
Kingston is currently blank (for upcoming Linux installation)
Hi,
I've been using COMFYUI on this system, a fresh build, and noticed generation times are somewhat slow.
Checking Task Manager shows RAM usage can reach up to 97% during operation, while GPU usage rarely exceeds a few percent. I'm unsure if Task Manager is an accurate method for monitoring GPU performance—I expected higher utilization. Is this a valid assessment? Are there alternative tools or checks I should try?
I've read about potential bottlenecks affecting GPU speed and asked if there are any configurations or software that could help identify issues.
The task manager statistics can be deceptive.
Windows retains unused code in RAM to prepare for quick reuse.
What is visible may not be actively being used.
This applies similarly to VRAM usage.
To check if you're running low on RAM, run Resource Monitor while under load.
Examine the memory section and the hard fault rate column.
If the hard fault rate is significantly high, more RAM might be beneficial.
Given the current price of RAM, increasing it to 64GB is not feasible.
You shouldn't expect to simply add another 32GB.
RAM must be compatible in a single package for optimal performance.
I’m not familiar with COMFYU, but a user forum might provide useful guidance.
Hi,
Thank you for your message.
After running the Monitor, I noticed a significant number of 'Hard Faults'—over 600 per second during loading and more than 1000 while a workflow was active. The resource monitor also indicated that Python.exe was the main issue. Additionally, 'Memory Compression' was present at around 30 to 35 errors per second while Comfy UI was running, but it would occasionally drop to just 1 or 3 when the application was closed.
My old PC stopped a few months ago and had 4GB of RAM. When I checked the specs for a replacement, 32GB seemed like a big improvement. Since I recently purchased the RAM, I could easily buy the same again. However, it was on a special offer (still quite expensive), and now it’s no longer available. Buying an extra 32GB would cost more than I’m worth 😲
64GB seems impressive to me—my laptop runs very well on Linux with just 2GB of RAM!
I’m curious if there’s another option to consider.
Examine the COMFY settings; it might be configured to require more than 32gb of virtual memory.
Certain applications can function using RAM as their workspace instead of relying on hard drive accesses.
The COMFY user forum could provide useful insights.
Verify that your Windows configuration permits this functionality.
Avoid limiting the available virtual RAM; the standard page file size should suffice.
If you find yourself needing more than 32gb, you may face challenges given current RAM pricing.
Refrain from purchasing another identical RAM package.
Although the part numbers might match, the actual components could differ, and RAM must be compatible to achieve advertised performance.
Your package is a two-stick configuration and isn’t designed for a four-stick setup.
Moreover, Ryzen tends to be selective about RAM compatibility, especially with four-stick kits.
Even if it works, it might only perform at the lowest speeds possible.
Review your motherboard’s RAM QVL support list to see which RAM models have been tested with your CPU.
Alternatively, consult the support app for any vendor that guarantees compatibility.