Jump to content

How to measure Active RAM usage?

I do not mean the capacity of memory currently in use.

What i want to measure is, what is the active usage on my ram? e.g. if i have 6gb used of 16gb total, how do i know if i'm being bottlenecked by ram speed?


I previously upgraded a laptop to dual channel and seen fps go from ~30 to ~50, with a significant reduction in CPU usage, which can only mean that slower ram = higher cpu 'active time'?

Ideally I'd love to see a 'current bandwidth usage' or something, beside ram usage.

Can anyone shed any light on this?

Many thanks!

Link to comment
Share on other sites

Link to post
Share on other sites

50 minutes ago, Mr.Briggs said:

I previously upgraded a laptop to dual channel and seen fps go from ~30 to ~50, with a significant reduction in CPU usage, which can only mean that slower ram = higher cpu 'active time'?

Its more than if the CPU is waiting for data from RAM, it can't do anything else in the meantime so will be reported as 100% usage.  Whereas with more bandwidth, it will finish what its doing faster, so free up CPU time.

 

Its actually quite easy to make a CPU core 100% busy while its actually doing absolutely nothing.  In fact the NVIDIA drivers do this as a way to reserve a single CPU core for the drivers to use exclusively, so driver tasks never get stalled waiting for spare CPU time from other tasks.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Alex Atkin UK said:

Its more than if the CPU is waiting for data from RAM, it can't do anything else in the meantime so will be reported as 100% usage.  Whereas with more bandwidth, it will finish what its doing faster, so free up CPU time.

 

Its actually quite easy to make a CPU core 100% busy while its actually doing absolutely nothing.  In fact the NVIDIA drivers do this as a way to reserve a single CPU core for the drivers to use exclusively, so driver tasks never get stalled waiting for spare CPU time from other tasks.

that is very interesting! thank you.

Im wondering if there is a way to measure or visualise the additional cpu time caused by waiting on RAM

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×