Question "too much RAM?"

GunsMadeAmericaFree

Golden Member
Jan 23, 2007
1,264
292
136
I overheard my son telling a friend (while they were playing Minecraft) that the PC had "Too much RAM" yesterday.

I was sort of amused, because I've never considered any system to have "too much" memory.


However, are there any real world circumstances where a system's performance could be retarded by having huge amounts of RAM installed?
 

Shmee

Memory & Storage, Graphics Cards Mod Elite Member
Super Moderator
Sep 13, 2008
7,450
2,490
146
Strictly speaking having more RAM itself isn't a cause for lower performance, however, higher capacity DIMMs generally aren't as high speed as lower capacity DIMMs can be, and having more memory can put more stress on the board, system, CPU, IMC etc, making memory overclocking or overclocking in general harder, with less headroom.
 
Reactions: Pohemi

mikeymikec

Lifer
May 19, 2011
17,806
9,800
136
I overheard my son telling a friend (while they were playing Minecraft) that the PC had "Too much RAM" yesterday.

I was sort of amused, because I've never considered any system to have "too much" memory.


However, are there any real world circumstances where a system's performance could be retarded by having huge amounts of RAM installed?

A bug in a game/app is a possibility I suppose?

As I understand it, some architectures do better with 2 modules than 4? Though I've never really looked into this.

The only other facet of "too much memory" is "you wasted tonnes of money on extra memory you'll never need".
 
Reactions: Pohemi

kschendel

Senior member
Aug 1, 2018
267
196
116
I can think of two ways you can have "too much" RAM. One, already noted above, is if the memory controller doesn't deal well with the RAM configuration needed to have that much memory; e.g. 4 sticks of DDR5 vs 2. The other is rather theoretical: the OS needs memory to manage memory, and if you have way more than you need, the OS is wasting time traversing data structures for memory it isn't going to use. (If this is relevant at all, it's probably more so for servers that might have terabytes of RAM, not desktops with mere 100GB's of RAM.)
 
Jul 27, 2020
16,817
10,763
106
Could be due to garbage collection, if Minecraft does that. More RAM would lead to more RAM usage and hence more garbage collection to free data structures no longer in use.
 

manly

Lifer
Jan 25, 2000
11,158
2,253
136
I can think of two ways you can have "too much" RAM. One, already noted above, is if the memory controller doesn't deal well with the RAM configuration needed to have that much memory; e.g. 4 sticks of DDR5 vs 2. The other is rather theoretical: the OS needs memory to manage memory, and if you have way more than you need, the OS is wasting time traversing data structures for memory it isn't going to use. (If this is relevant at all, it's probably more so for servers that might have terabytes of RAM, not desktops with mere 100GB's of RAM.)
That's not at all how memory management works. The OS works with a hardware MMU, so servers with many TB of RAM are no less efficient at memory access than small devices.

 

kschendel

Senior member
Aug 1, 2018
267
196
116
That's not at all how memory management works. The OS works with a hardware MMU, so servers with many TB of RAM are no less efficient at memory access than small devices.

I think you misunderstand me. I'm not talking about hardware access. I'm talking about the data structures the OS needs so that it knows what each page of memory is doing; the "struct page" in linux, for instance. The more memory you have, the more there is for the OS to manage.

I doubt that there's a measurable effect in most cases, but theoretically, it's one way that too much RAM might slow things down.
 

manly

Lifer
Jan 25, 2000
11,158
2,253
136
I think you misunderstand me. I'm not talking about hardware access. I'm talking about the data structures the OS needs so that it knows what each page of memory is doing; the "struct page" in linux, for instance. The more memory you have, the more there is for the OS to manage.

I doubt that there's a measurable effect in most cases, but theoretically, it's one way that too much RAM might slow things down.
Sure, you said theoretically so I guess that's a reasonable caveat.

You said that Linux has to "traverse" the memory management data structures and that implies a certain inefficiency of operation. There is some "wastage" of RAM, but handling struct pages (as of 20 years ago) isn't a heavyweight operation AFAIK:

If you have any citations that this potentially reduces performance even a bit, I'm happy to read and learn!
 

GunsMadeAmericaFree

Golden Member
Jan 23, 2007
1,264
292
136
A bug in a game/app is a possibility I suppose?

As I understand it, some architectures do better with 2 modules than 4? Though I've never really looked into this.

The only other facet of "too much memory" is "you wasted tonnes of money on extra memory you'll never need".
Yep, what can I say? I saw a really good sale on 32GB of DDR4, (2 sticks) and boughtt it.

Is it WAY more than minecraft needs? Yes. Maybe that is what he meant when he said it to his friend.

Of course, I've had the 32GB for a couple of years now, and find myself occasionally thinking about putting 64GB in......

But then I realize, the 32GB is already 2,000 times what I had in my first computer, the good old TI 99/4a....
 

nOOky

Platinum Member
Aug 17, 2004
2,864
1,878
136
I have 64GB of system memory, and it takes my computer much longer to boot probably due to the memory training going on. 32GB would probably boot up a lot faster, but I'm in no hurry. Note I don't actually think I'll ever need that much. I'd also buy a PCIE 5.0 NVME SSD if the price came down, just because. Because.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,258
3,858
75
Yeah, bigger pickup trucks can have tradeoffs. Oh, wait, this isn't The Garage?

I once had a 486 that slowed down when I added an extra memory module. But it wouldn't run Netscape Navigator without it.
 
Reactions: Ajay and Pohemi
Jul 27, 2020
16,817
10,763
106
I once had a 486 that slowed down when I added an extra memory module. But it wouldn't run Netscape Navigator without it.
Couldn't afford a Pentium? I think a 486 was too slow for Windows 95. Unless you ran internet on Win3.1, which would've been very, very early on.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,258
3,858
75
Couldn't afford a Pentium? I think a 486 was too slow for Windows 95. Unless you ran internet on Win3.1, which would've been very, very early on.
Yep, very, very early. Win 3.1 on a Packard Bell. I think it was a 4MB module, but I'm not sure.
 
Reactions: igor_kavinski

GunsMadeAmericaFree

Golden Member
Jan 23, 2007
1,264
292
136
I have 64GB of system memory, and it takes my computer much longer to boot probably due to the memory training going on. 32GB would probably boot up a lot faster, but I'm in no hurry. Note I don't actually think I'll ever need that much. I'd also buy a PCIE 5.0 NVME SSD if the price came down, just because. Because.
I had never thought about it affecting the boot time. That is something that is going to have to be addressed as we get to 256 and 512 GB of RAM - we don't want the computers sitting there for 3 to 4 minutes on every bootup, checking for integrity......
 

mikeymikec

Lifer
May 19, 2011
17,806
9,800
136
I have 64GB of system memory, and it takes my computer much longer to boot probably due to the memory training going on. 32GB would probably boot up a lot faster, but I'm in no hurry.

My PC spec: 7800X3D / ASUS TUF GAMING B650-PLUS / 32GB DDR5-6000 (DOCP) - takes about 30 seconds from power-on to POST. It's weird to think that my old Haswell build could present me with the desktop way faster than this PC.
 

Pohemi

Diamond Member
Oct 2, 2004
9,008
11,696
146
As I understand it, some architectures do better with 2 modules than 4? Though I've never really looked into this.
The last time I ran into this on my own build was socket 939 nForce 3 chipset. System would not even boot with all 4x DIMM slots occupied.

The onboard memory controllers on those first AMD64 chips were notoriously touchy/buggy though. Not seen that happen since.

This wasn't a performance hit- it prevented the system from working at all.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |