TheFu's I'm with you on that I don't need a lot on any system. I am a minimalist so I'm always getting rid of software that's not needed
Last edited by RobGoss; October 19th, 2019 at 09:37 PM.
Unused ram is wasted ram. These days computers have so much ram its stupid. Might as well use it for something. Post results of
I'd post mine for comparison but I'm ripping dvds so my ram is fat right now.Code:free -h
Look at your actual available ram, not what's used. May be cache load. Linux uses ram like it's supposed to, doesn't let it sit and waste itself.
Last edited by Tadaen_Sylvermane; October 20th, 2019 at 01:34 AM.
i like to see a low ram usage right after i boot up. i like to see zero swap usage because swapping is slow. with ssd swapping will be faster but ram is still the fastest so if it all can stay in ram that makes it the fastest. so why do i want to see the usage be a small fraction of ram? why do i use xubuntu so that it is? why do i like to see so much available ram? do i get any benefit from that number? so that i can use that ram for myself!
Code:lt2a/forums /home/forums 20> free -h total used free shared buff/cache available Mem: 15G 6.3G 454M 1.8G 8.9G 7.2G Swap: 15G 2.3M 15G lt2a/forums /home/forums 21>
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
I wouldn't use swap at all on an SSD. That's a lot of read/write operations. Swap was used back when RAM was precious and disk space was slightly less precious. RAM is now dirt cheap. 4GB goes a long way. 8 GB is a lot. 16GB is probably overkill for the vast majority of users. Someone running a heavily used server might want to use swap for scaling, but it's really unnecessary for a desktop user, IMO.
You ARE using that RAM for yourself. Linux maintains buffers and cache in RAM to make things faster. Rather than having to re-read a file from disk, maintaining it in memory means the next time you want to work on it it is already in memory without having to be read from disk. If the memory is needed later for some other task, the OS will sacrifice some memory from an older task to make room for something new.
Unless it is due to a leak (which is NOT what most people think it is. An application's use of excessive memory beyond what is really needed is not a leak. The failure of an application to release memory when it dies is. That memory cannot be recovered by the kernel and it can grow to the point where the OS fails.), you should be happy about the RAM being used. That makes things faster for you.
It is a misconception to think that memory use is a bad thing in Linux. It is a good thing.
With regard to RobGoss' question, your use may indicate something amiss. All the forgoing notwithstanding, there are times when RAM use is excessive -- indicating that a lot of needless processes may be running or one process in particular may be running wild.
You can use
to find out what is using all the memory. It could be that the eye-candy is gobbling it, something that really is irritating.Code:top
Last edited by QIII; October 20th, 2019 at 02:25 AM.
Please read The Forum Rules and The Forum Posting Guidelines
A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
This universe is crazy. I'm going back to my own.
actually i think i need even more than 16G. so maybe 64G in my next one. i use a lot. i could run more things in the cloud.
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
Bookmarks