r/linuxhardware • u/joshuavarghese2715 • Nov 09 '21
Support Linux wasting ram !
Hey there, i just themed my xfce. It should show 603 in ram usage but apparently it's 1.35 GB. Cpu usage is low But when i open a browser or any application..it drops to like 930-997 range. Anyone knows how to fix this?
4
u/thearctican Nov 09 '21
We know nothing about your computer. Sounds like it's under specced.
1
u/joshuavarghese2715 Nov 09 '21
1.9 GB RAM i3 processor Linux Debian Xfce4
4
u/abraxasknister Nov 09 '21
So? 1.9 GB - 1.35 GB = 550 MB still free, plus most likely some RAM that is shown as used but is actually available (ie Linux uses it for internal reasons and will free it up if an application wants it). More than a quarter of your RAM completely unused doesn't sound like a problem at all. With that little amount of RAM total you might want to look into upgrading it though.
1
u/joshuavarghese2715 Nov 09 '21
Question about upgrading. Can i put any version of ram in my laptop like i know there are things called DDR 3 and all...so what's your recommendation?
5
u/Dolapevich Nov 09 '21
Refer to your machine manufacturer documentation.
As a rule of thumb, you need to:
verify there are free memory slots.
Understand what type (ddr, ddr2, ddr3, ddr3) and form factor DIMM or SO-DIMM
Understand the clock speed of the memory.
If there is more than one bank, use same size dimms so it works on dual channel etcs
Lots of YT videos on the subject. Once hit a wall or have a more specific question come back with it,stating laptop brand/model/service tag or exact model so we can understand what is under your hood.
1
u/abraxasknister Nov 09 '21
If I issue
sudo lshw -class memory | lessI get some pages of output. Somewhere it says "system memory" and "size 16GiB" which leads me to assume that this entry (*-memory) is about my RAM. Then follows two subentries*-bank:0and 1 that say "size 8GiB" which seems reasonable since I do have two RAM sticks. In these entries it says, among other things, "product: M471A1K43DB1-CWE" and "description: SODIMM DDR4 synchronous 3200 MHz (0,3 ns)". Similarly I find out that I have an i5-1035G1 processor where intel.com tells me that the max addressable RAM is 64GB which needs to be "DDR4-3200" (what I seem to have) or "LPDDR4-3733".If I wanted to upgrade RAM, that hints me at a max of two 32GiB sticks ddr4-3200 or the faster alternative (which both cost a fortune and 16GB already is plenty, so I don't).
The CPU is the main limiting factor in what I can use (it apparently wants the RAM to be ddr4 at a certain freq), but I'm unsure whether the BIOS capabilities and motherboard might imply some additional restrictions, so I'd look that up in their manuals too and might a do a firmware upgrade of that gives me something.
0
8
13
u/[deleted] Nov 09 '21
Is it possible something is cached and its showing that as RAM usage?