How Do I Check What my Correct Memory Status Is, and How to Upgrade?

Snort McDork

Active Member
Joined
Apr 4, 2020
Messages
155
Reaction score
55
Credits
1,463
I believe when I got this machine a year ago, the guy who sold it to me (used business standards) I believe told me he put another memory stick in. But I never followed up on that. When I hooked it up here, it was Cinnamon 21.1. It worked well for me (minus some minor complaints). Then the getting online issue, then the reformatting issue and getting (without my knowledge) Cinnamon 22.1. Now I'm wondering if I'm dealing with a performance issue. So how would I check if I can get more memory to improve performance? The jittery, hesitation issue is better (after switching mouse USB sockets). But web pages, and non web pages are still a bit unresponsive. How should I go about this?
 

Attachments

  • 0.00 0.1 half-a-turkey and swiss-18 22-06-40.jpg
    0.00 0.1 half-a-turkey and swiss-18 22-06-40.jpg
    28.6 KB · Views: 202


So how would I check if I can get more memory to improve performance? The jittery, hesitation issue is better (after switching mouse USB sockets). But web pages, and non web pages are still a bit unresponsive. How should I go about this?
On smooth scrolling, check to see if the reply here is of any use:

On checking the memory and the memory slots on the machine one can run the inxi command. If inxi is not installed on the machine one can install it. Here is an example of a machine here and an explanation of the output below:
Code:
$ inxi --memory-modules
Memory:
  System RAM: total: 16 GiB available: 15.27 GiB used: 2.72 GiB (17.8%)
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
  Device-1: Controller0-ChannelA-DIMM1 type: DDR5 size: 8 GiB
    speed: 4800 MT/s
  Device-2: Controller1-ChannelA-DIMM1 type: DDR5 size: 8 GiB
    speed: 4800 MT/s
This machine has 4 slots for memory, 2 of which are filled by 8GiB modules. It looks like this with modules in A2 and B2:
Code:
                A1   A2   B1   B2
                +-+  +-+  +-+  +-+
                | |  | |  | |  | |
                | |  | |  | |  | |
+----------+    | |  | |  | |  | |
|          |    | |  | |  | |  | |
| CPU      |    | |  | |  | |  | |
|          |    | |  | |  | |  | |
|          |    | |  | |  | |  | |
+--------- +    | |  | |  | |  | |
                | |  | |  | |  | |
                +-+  +-+  +-+  +-+
                      M         M
The memory capacity is 128GiB, but only 16GiB is installed.
Whether an increase in memory is possible in your machine depends on what exists in the memory slots already.

Whether more memory would impact on the jittery issue, is questionable, but more memory is usually a better option for a computer if heavy demands are being made of it, especially activities like video editing, compiling or just massive browsing.

For quite extensive output with memory module details, the following command as root can provide them:
Code:
dmidecode -t 17
 
Last edited:
Ram is a nasty question, the answer is all if's and buts' so as short as possible
to know how much and what type of ram, you need to consult the manual or the manufacturer, you may have 1,2,4 ram slots each will have a max it can read [no point in going bigger] if 4 slots they may not be for the same type of ram, do not mix types] if you want to know the max you can install we will need to know the make and full model number
 
@Snort McDork :-

TBH, if you can let us know the make/model of your machine, we can soon see what your possibilities are for 'upgrading'/adding more RAM.

An inxi 'memory' readout:-

Code:
inxi -m

....will tell us what you have installed at present.

@osprey's command above:-

Code:
dmidecode -t 17

....should give something along these lines:-

Code:
root# dmidecode -t 17
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
# SMBIOS implementations newer than version 3.1.1 are not
# fully supported by this version of dmidecode.

Handle 0x0050, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0042
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 16384 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA-DIMM0
    Bank Locator: BANK 0
    Type: DDR4
    Type Detail: Synchronous
    Speed: 2666 MT/s
    Manufacturer: Micron
    Serial Number: 2A1856EF
    Asset Tag:         
    Part Number: 16ATF2G64AZ-2G6J1 
    Rank: 2
    Configured Clock Speed: 2400 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0051, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0042
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 16384 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB-DIMM0
    Bank Locator: BANK 2
    Type: DDR4
    Type Detail: Synchronous
    Speed: 2666 MT/s
    Manufacturer: Micron
    Serial Number: 2A185FEB
    Asset Tag:         
    Part Number: 16ATF2G64AZ-2G6J1 
    Rank: 2
    Configured Clock Speed: 2400 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

root#

Every little bit of info helps us to help you....OK? As m'colleague @Brickwizard says, there are/can be so MANY variables when it comes to RAM installation/configuration, etc, etc (if you're not familiar with this stuff, it can make you dizzy trying to figure it all out).....so the more info you can provide us, the better for everybody who tries to help.

It's the old conundrum; we're not there, looking over your shoulder.....and I doubt anyone here is proficient with a crystal ball, either!


Mike. ;)
 
Last edited:
I doubt anyone here is proficient with a crystal ball,
I normally borrow the Wife's, but we are on our holls, so it in for re-polishing
she hit me with it, must say i didn't see it coming.
 
I have never had 'jittery' scrolling....ever.

I think it is FAR more likely to be a crook setting, somewhere

I used to run this machine on 4gb of ram...smooth as silk

It now runs on 32GB, and is still as smooth as silk.
 
My 13 year old Laptop has only 4GB of Ram and I don't have problems but I can't multi task...can surf the web just fine.

My Tower has 16GB of Ram...I'm using 2.28GB of Ram just now but I also have a 2GB Graphics Card which does help.
1748042249504.gif
 
On smooth scrolling, check to see if the reply here is of any use:

On checking the memory and the memory slots on the machine one can run the inxi command. If inxi is not installed on the machine one can install it. Here is an example of a machine here and an explanation of the output below:
Code:
$ inxi --memory-modules
Memory:
  System RAM: total: 16 GiB available: 15.27 GiB used: 2.72 GiB (17.8%)
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
  Device-1: Controller0-ChannelA-DIMM1 type: DDR5 size: 8 GiB
    speed: 4800 MT/s
  Device-2: Controller1-ChannelA-DIMM1 type: DDR5 size: 8 GiB
    speed: 4800 MT/s
This machine has 4 slots for memory, 2 of which are filled by 8GiB modules. It looks like this with modules in A2 and B2:
Code:
                A1   A2   B1   B2
                +-+  +-+  +-+  +-+
                | |  | |  | |  | |
                | |  | |  | |  | |
+----------+    | |  | |  | |  | |
|          |    | |  | |  | |  | |
| CPU      |    | |  | |  | |  | |
|          |    | |  | |  | |  | |
|          |    | |  | |  | |  | |
+--------- +    | |  | |  | |  | |
                | |  | |  | |  | |
                +-+  +-+  +-+  +-+
                      M         M
The memory capacity is 128GiB, but only 16GiB is installed.
Whether an increase in memory is possible in your machine depends on what exists in the memory slots already.

Whether more memory would impact on the jittery issue, is questionable, but more memory is usually a better option for a computer if heavy demands are being made of it, especially activities like video editing, compiling or just massive browsing.

For quite extensive output with memory module details, the following command as root can provide them:
Code:
dmidecode -t 17
The smooth scrolling box is checked. What i don't understand is I didn't have this issue with Cinnamon 21.1. It was only option to fix DNS issue, but this is 22.1. You would think things would be just as normal with this version. But it's not. Even writing this the cursor stalls/freezes for a moment before unfreezing and returning to normal. And BTW, I believe I have 2gigs of RAM. But don't quote me on that.
@Snort McDork :-

TBH, if you can let us know the make/model of your machine, we can soon see what your possibilities are for 'upgrading'/adding more RAM.

An inxi 'memory' readout:-

Code:
inxi -m

....will tell us what you have installed at present.

@osprey's command above:-

Code:
dmidecode -t 17

....should give something along these lines:-

Code:
root# dmidecode -t 17
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
# SMBIOS implementations newer than version 3.1.1 are not
# fully supported by this version of dmidecode.

Handle 0x0050, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0042
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 16384 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA-DIMM0
    Bank Locator: BANK 0
    Type: DDR4
    Type Detail: Synchronous
    Speed: 2666 MT/s
    Manufacturer: Micron
    Serial Number: 2A1856EF
    Asset Tag:        
    Part Number: 16ATF2G64AZ-2G6J1
    Rank: 2
    Configured Clock Speed: 2400 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0051, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0042
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 16384 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB-DIMM0
    Bank Locator: BANK 2
    Type: DDR4
    Type Detail: Synchronous
    Speed: 2666 MT/s
    Manufacturer: Micron
    Serial Number: 2A185FEB
    Asset Tag:        
    Part Number: 16ATF2G64AZ-2G6J1
    Rank: 2
    Configured Clock Speed: 2400 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

root#

Every little bit of info helps us to help you....OK? As m'colleague @Brickwizard says, there are/can be so MANY variables when it comes to RAM installation/configuration, etc, etc (if you're not familiar with this stuff, it can make you dizzy trying to figure it all out).....so the more info you can provide us, the better for everybody who tries to help.

It's the old conundrum; we're not there, looking over your shoulder.....and I doubt anyone here is proficient with a crystal ball, either!


Mike. ;)
Okay, you asked the question, and for some reason, a light bulb went off in my old brain.
I realized somewhere, I had a Spec Sheet on this thing, and I looked and found it.
Ready?
This is a refurbished HP Prodesk 400 G1 MT
The OS (according to this sheet), is a 64bit Win-Doze 10 Pro (or was Win-Doze)
The OS is now Linux Cinnamon 22.1
The processor is an Intel i5 4590 Quad Core @3.30GHz
RAM: 8GB DDR3@1600MHz
Hard Drive (HD) is a 640GB SATA

Do you need more information?
And again, while I'm writing this, the freaking cursor freezes on me then unfreezes.
 
Has the mouse itself been checked ?....pull it apart and clean it out....dust and fluff etc etc ?

Wireless or wired?.....batteries ok?....unplug if wired and plug in via a different usb port..?

Or...Do you get the same jittering with a different mouse ?
 
The processor is an Intel i5 4590 Quad Core @3.30GHz
RAM: 8GB DDR3@1600MHz
Hard Drive (HD) is a 640GB SATA
Same as my prodesk, only difference you have a SSD and I have an NVMe the only problem I had was sound drivers, but that got fixed on a kernel update after a couple of months.
 
Has the mouse itself been checked ?....pull it apart and clean it out....dust and fluff etc etc ?

Wireless or wired?.....batteries ok?....unplug if wired and plug in via a different usb port..?

Or...Do you get the same jittering with a different mouse ?
Yes. I even unplugged it and put into another socket. Can't open mouse because it's sealed with the red light on bottom. Not sure I have another mouse.
 
You need to find one. A cheapy from the dollar store or a neighbour etc etc ?
Okay, I dug through a box of stuff and found another mouse and there is a slight improvement.YEA! However, text/cursor still freezes up while writing. Not as bad as before, but still kinda does. A bit baffled how the mouse improved things when I was under impression that something internally related to speed/processor/RAM stuff, was the main culprit. I also had thought of compatibility as an issue (install of Cinnamon 22.1 to this machine) Again, did not have this problem with 21.1 machine. But this is good. I am still going to talk with this tech dude Tuesday since he is closed Monday. I will look into seeing if I do indeed need more RAM to make this thing run like silk.
Thanks for putting up with me. I'm getting cranky in my old(er) age when things don't work as I would like.
 

Attachments

  • 0.00 0.1-04-33 unpredictable cat chaos.jpg
    0.00 0.1-04-33 unpredictable cat chaos.jpg
    21.3 KB · Views: 175
Go to menu, click on it....type in Mouse and touchpad....click on to open it

it will look like the below.....the setting the red arrows point to.....Acceleration.....what is the drop down box set to?...adaptive, constant, or device default ?

1748167757584.png
 
If you run this command...
Code:
sudo lshw -short -C memory

It gives you helpful information...with my Tower I can add another stick of Ram from the above command but as for my Laptop it would be better to buy a new Laptop because it's too old and more Ram won't make it go faster only a miracle would.
1748222904659.gif
 
Go to menu, click on it....type in Mouse and touchpad....click on to open it

it will look like the below.....the setting the red arrows point to.....Acceleration.....what is the drop down box set to?...adaptive, constant, or device default ?

View attachment 26158
Okay. I checked that earlier and was not sure about what to change. I believe the acceleration setting was on "default" so I did indeed change it to adaptive. Thank you.
 
If you run this command...
Code:
sudo lshw -short -C memory

It gives you helpful information...with my Tower I can add another stick of Ram from the above command but as for my Laptop it would be better to buy a new Laptop because it's too old and more Ram won't make it go faster only a miracle would. View attachment 26188
I am a bit nervous about doing something in terminal, but I will try this.
 
I believe the acceleration setting was on "default" so I did indeed change it to adaptive.
Did that make any difference to mouse behaviour ?
 
I am a bit nervous about doing something in terminal, but I will try this.
The terminal just needs a bit of experience for a user to begin to feel comfortable. One needs to be very clear about using the terminal as root, and using it as user.

Using it as root, one ought to know exactly what one is doing. As user, using the terminal is less risky. One major aspect of using the terminal as user, is know exactly what one is doing when using the remove command: rm, so one doesn't lose what they may wish to keep.

That said, I'll address the issue mentioned in post #1:
put another memory stick in
....
So how would I check if I can get more memory
To check the existing state of memory modules in the machine, the following command will provide all the information you need, and it's run as user:
Code:
$ inxi -v 8 | awk '/Memory:/,/PCI Slots:/' | sed '/PCI/d'
Memory:
  System RAM: total: 16 GiB available: 15.27 GiB used: 2.77 GiB (18.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: no module installed
  Device-2: Controller0-ChannelA-DIMM1 type: DDR5 detail: synchronous
    size: 8 GiB speed: 4800 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Crucial Technology
    part-no: CT8G48C40U5T.M4A1 serial: E8E39868
  Device-3: Controller1-ChannelA-DIMM0 type: no module installed
  Device-4: Controller1-ChannelA-DIMM1 type: DDR5 detail: synchronous
    size: 8 GiB speed: 4800 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Crucial Technology
    part-no: CT8G48C40U5T.M4A1 serial: E8E392F7
Note that the command may take a moment or two to produce its output.

The output tells you how many RAM slots, which ones are occupied and which are free, the speed of the RAM, the maximum memory that can be installed, the type of memory and the manufacturer or brand.

The above information is necessary to add a memory module, but the following considerations are also relevant:

Memory module sockets are usually arranged in parallel lines adjacent to the cpu, as shown in the diagram in post #2. A user needs to know which sockets to insert the memory modules in if there are more than one such socket. In the above example there are 4 sockets. The manual for this particular motherboard indicates which sockets should be used for varying numbers of memory modules. In this case the configuration is as follows where x indicates the inserted module:

Code:
                            Memory sockets
 
                    CPU      1   2   3   4
 
Number of modules:
 
1 module....................             x
 
2 modules...................      x      x
 
4 modules...................  x   x   x  x
Notice that if there is only one module, it is located in the socket furthest from the cpu, and when there are 2 modules they are not next to each other. These configurations may be counterintuitive but they are important to allow memory modules to take advantage of what's called Dual Channel Memory Technology when 2 or 4 memory modules are used, if it's available. It makes a difference.

Another consideration is when using multiple memory modules. To ensure optimal performance, they should be identical, which means that they should be the same type, same size, same brand and same speed. In the above example the details are:

Type: DDR5
Size: 8GiB
Brand: Crucial Technology
Speed: 4800 MT/s

The machine you have may only have two slots, which makes it easier to add a second memory module because there's only one place it can go. Note however, the optimal performance will be more ensured if both memory modules are the same as described above.
 
Last edited:
The terminal just needs a bit of experience for a user to begin to feel comfortable. One needs to be very clear about using the terminal as root, and using it as user.

Using it as root, one ought to know exactly what one is doing. As user, using the terminal is less risky. One major aspect of using the terminal as user, is know exactly what one is doing when using the remove command: rm, so one doesn't lose what they may wish to keep.

That said, I'll address the issue mentioned in post #1:

To check the existing state of memory modules in the machine, the following command will provide all the information you need, and it's run as user:
Code:
$ inxi -v 8 | awk '/Memory:/,/PCI Slots:/' | sed '/PCI/d'
Memory:
  System RAM: total: 16 GiB available: 15.27 GiB used: 2.77 GiB (18.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: no module installed
  Device-2: Controller0-ChannelA-DIMM1 type: DDR5 detail: synchronous
    size: 8 GiB speed: 4800 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Crucial Technology
    part-no: CT8G48C40U5T.M4A1 serial: E8E39868
  Device-3: Controller1-ChannelA-DIMM0 type: no module installed
  Device-4: Controller1-ChannelA-DIMM1 type: DDR5 detail: synchronous
    size: 8 GiB speed: 4800 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Crucial Technology
    part-no: CT8G48C40U5T.M4A1 serial: E8E392F7
Note that the command may take a moment or two to produce its output.

The output tells you how many RAM slots, which ones are occupied and which are free, the speed of the RAM, the maximum memory that can be installed, the type of memory and the manufacturer or brand.

The above information is necessary to add a memory module, but the following considerations are also relevant:

Memory module sockets are usually arranged in parallel lines adjacent to the cpu, as shown in the diagram in post #2. A user needs to know which sockets to insert the memory modules in if there are more than one such socket. In the above example there are 4 sockets. The manual for this particular motherboard indicates which sockets should be used for varying numbers of memory modules. In this case the configuration is as follows where x indicates the inserted module:

Code:
                            Memory sockets
 
                    CPU      1   2   3   4
 
Number of modules:
 
1 module....................             x
 
2 modules...................      x      x
 
4 modules...................  x   x   x  x
Notice that if there is only one module, it is located in the socket furthest from the cpu, and when there are 2 modules they are not next to each other. These configurations may be counterintuitive but they are important to allow memory modules to take advantage of what's called Dual Channel Memory Technology when 2 or 4 memory modules are used, if it's available. It makes a difference.

Another consideration is when using multiple memory modules. To ensure optimal performance, they should be identical, which means that they should be the same type, same size, same brand and same speed. In the above example the details are:

Type: DDR5
Size: 8GiB
Brand: Crucial Technology
Speed: 4800 MT/s

The machine you have may only have two slots, which makes it easier to add a second memory module because there's only one place it can go. Note however, the optimal performance will be more ensured if both memory modules are the same as described above.
Performance wise, things have improved a bit with the new mouse. However, I still get a bit of delay/hesitation when just writing this. Additionally, online web pages are occasionally acting "sticky" of lag in response. Would the video card have anything to do with this? I'm watching a video and it "hangs up" or "freezes" for 2 or 3 seconds, then goes back to normal. Audio continues normally, but video freezes up momentarily and then catches up.
 


Follow Linux.org

Staff online

Members online


Top