LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-07-2023, 03:15 AM   #16
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,487

Rep: Reputation: Disabled

I gave my old 512MB/1GB RPi SBCs to my local Code Club, as I wasn't using them, I just kept my 4B/4GB & my 400, more than ample for my future needs too.
 
1 members found this post helpful.
Old 03-08-2023, 11:24 AM   #17
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Thumbs up Win win win

So good to recycle or repurpose tech or anything really..
Good for you, good for code club, good for our planet
 
Old 03-08-2023, 02:12 PM   #18
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Exclamation Celebration of wasted RAM

Quote:
Originally Posted by rclark View Post
Nothing special, yet 7.5G consumed.
This topic is not “How to hobble RAM” or “How to waste money on RAM”

The infographic was the first clue followed by CAD and Virtual Machine running.

It should be clear to all that this is a simplistic attempt to show off inefficiency designed to fool the unwary.

First make a VM and allocate an undisclosed amount of RAM which when running robs the host machine’s RAM – simple…

Then take a real heavy niche app FreeCAD that does not figure on most people’s radar – run it with high tessellation and it will eat up all your RAM. Tweak the tessellation to get your desired consumption of RAM – simple…

Then on top of all this open FireFox and Thunderbird and say “ Nothing special, yet 7.5G consumed.” - simple…

Please: If you want to make a point – instead of a useless infographic – post a full screenshot showing Htop on top, listing in memory order with all of the command line visible. Better still make a short screencast video of this gross inefficiency or celebration of wasted RAM – thanks.
 
Old 03-08-2023, 06:54 PM   #19
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
Quote:
2. Is buying more RAM a waste of money for post 2008 computers?
My answer is 'no'. Not a waste. Of course your use case may be different than mine. Obviously.

Quote:
...this gross inefficiency
I fail to see what is 'gross' about it . Nice to have more RAM when it is needed. One should never have to deal with the swap area when running applications. Ever. Not in this day and age. RAM is cheap cheap cheap (DDR4 16GB is around $50 -- cheaper than a raspberry pi 4 ).. at least right now. That said, you are right, most times, RAM usage is hovering around 2-3G (Firefox and Thunderbird is always open, KDE is the DE). But when my wife wants to do some photo editing in a Windows VM, then start the VM and away you go. The RAM (and CPU cores) are available. Ie. When you need it, it's there, ... no wishing for more. I can pull up htop/bashtop and take a snapshot of the active processes, if that would help... although the above picture is of the graphic system monitor that is running.

Using bashtop, below is the VM running and the normal system as a reference.
Attached Thumbnails
Click image for larger version

Name:	ComputerResources_800.png
Views:	17
Size:	165.1 KB
ID:	40579   Click image for larger version

Name:	ComputerResources_normal_800.png
Views:	14
Size:	160.9 KB
ID:	40580  

Last edited by rclark; 03-08-2023 at 10:37 PM.
 
Old 03-09-2023, 10:27 AM   #20
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
top or htop

Quote:
Originally Posted by rclark View Post
I can pull up htop/bashtop and take a snapshot of the active processes, if that would help... although the above picture is of the graphic system monitor that is running
Yes - as requested previously...

I did ask “post a full screenshot showing Htop on top, listing in memory order with all of the command line visible.
top and Htop are reportedly the best time proven tools for this purpose so surprised you chose to use bashtop…? Even so I am sure this bashtop must be able to list in memory usage order with command or arguments in full view. Again for some reason you chose not to do this…? it's so easy in htop - just click the mem% header - job done - hope this helps?

Here are some of my htop screenshots https://imgur.com/a/GayLGZg

If your other half is using the VM for editing photos – how are you using FreeCAD, Firefox and Thunderbird at the same time – as stated in your previous post #13…?
 
Old 03-09-2023, 03:51 PM   #21
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
Quote:
If your other half is using the VM for editing photos – how are you using FreeCAD, Firefox and Thunderbird at the same time – as stated in your previous post #13…?
Who said using? Freecad may be open for when I get back to it, plus my wife could be using Firebox and Thunderbird as well while working in VM . The VM only takes up part of the screen (just another fancy app really). No harm in keeping multiple applications open! This isn't DOS where only one app need be running at a time.... That said, I 'could' RDP into that machine from one of my other desktops/laptops and be using that machine at the same time as my wife. I don't do this though as I have my own development workstation available. Linux is multi-user after all. Sometimes I haves SSH'd to our general computer to do some work, or check settings, etc... While my wife is working on it. Linux is neat that way.

When I get home, I can get some standard htop shots.... I found bashtop awhile back and liked it's look. Same information as htop and more.
Attached Thumbnails
Click image for larger version

Name:	ComputerResources_htop_800.jpg
Views:	13
Size:	104.4 KB
ID:	40591   Click image for larger version

Name:	ComputerResources_htop_normal_800.jpg
Views:	10
Size:	101.7 KB
ID:	40592  

Last edited by rclark; 03-09-2023 at 08:20 PM.
 
1 members found this post helpful.
Old 03-14-2023, 03:21 PM   #22
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Exclamation Useless scenarios and useless exercises

BTW – I think you are showing all of your 12 cpu threads for each process command? In htop you can toggle this by using shift h (H) as lower case h is the help menu

Quote:
Originally Posted by rclark View Post
Who said using? Freecad may be open for when I get back to it, plus my wife could be using Firebox and Thunderbird as well while working in VM .
Using at the same time – you implied that was how you accounted for that huge amount of RAM being consumed per the infographic. #13

We can all install niche apps that are known to soak up RAM and then tweak them to show any excess figure we choose. We can also invent scenarios where we soak up RAM for no real purpose other than to somehow justify money wasted on RAM or make a false case for needing more. We can also leave apps open or closed at will doing nothing but take up RAM

Realistically I demonstrated 20 tabs open in FireFox-ESR using DistroWatch’s Home page up front using just 679MiB of RAM. I then countered another poster claiming to have 100 tabs open with my own 100 tabs using just 1.67 GiB RAM. As we all know this is was an entirely useless exercise as we can bookmark groups of tabs ready for use with one click.

Talking of useless scenarios and useless exercises - Did you see my 3GiB RAM old 2008 HP G60 laptop playing three web page videos at the same time – with LO Writer loaded ready to edit…? – easily doable with RAM to spare…!
Pick any of the three vids to view here on the imgur link – all roughly the same..
https://imgur.com/a/pImTXcK ( NOT adult movies ) As I said a waste of space or useless exercise as my old brain cannot take in three movies at the same time as editing a LO Writer text document – but goes to show how easily an old laptop can cope – if you look at the performance monitors, bottom right, RAM shown in red graph, you can see that just under half of the 2.92 GiB of available RAM is being used and that is with recording the screencast video live…!
 
Old 03-14-2023, 09:28 PM   #23
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
Thanks for the 'H' tip. Didn't know that was there .

Quote:
...but goes to show how easily an old laptop can cope
Of course. I know exactly what you mean. What we call 'old' laptops/desktops any more are really capable machines. Maybe not quite as 'snappy' though. I just gave three older laptops (loaded with KUbuntu) away recently to a friend that had a use for them. It wasn't always so though back in the 80s and 90s where moving to a 'new' system was usually a 'big' leap in performance. Those were heady years. In recent memory, the only real big performance jump was going from a HDD to SSD. That put a grin on my face when I transitioned! Now, what is a few more cycles really worth to most of us? or FPS if gaming (go from 150 to 155)? Ho Hum....

Anyway, it is all on how each of us want to get out of our laptops/desktops/servers. What I show above is realistic for my use. Not made up at all. That said, the only machines I have that have real 'limited' resources is my RPIs, Picos, Arduinos, etc. and I use accordingly . In fact most run headless, so most are normally swimming in memory (the RPIs anyway).

Bottom line... Wasted memory? Naw, again, it is 'there ready for use when and if ya need it'. Anyway, just another way of thinking about memory (as long as it is affordable of course). Could I get by with less? Obviously. Do I want to (or need to)? No. So I don't, end of story .
 
1 members found this post helpful.
Old 03-15-2023, 12:45 PM   #24
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
What was not mentioned:
1. nowadays a modern game requires >16GB RAM, and there are a lot of apps (a huge amount of apps) which will not even start on 1 GB.
Actually I wanted to write some python code on RPi3 and the development environment (pycharm) just could not be started on it.
2. Linux does not really care about the amount of memory, it will just run fine with 1 GB, 2 GB or 8 GB almost the same way. (obviously only if it is really enough for the job). The difference is the speed, the execution time of your commands. Linux will use the free ram to speed up the system (and does it very well), especially if you have a very slow and old hdd.
So you can improve the responsiveness, the user experience by adding memory (which cannot be measured by htop). In fact, this is the first step that should be recommended for relatively slow hardware.
3. If you think that 1 GB (2 GB) is enough for you, just use it, there is nothing wrong with it, but there are others who definitely need more.
 
Old 03-15-2023, 08:00 PM   #25
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
Quote:
Actually I wanted to write some python code
Just use a programming/text editor like geany, kate, etc. No need for fancy IDEs like pycharm. In fact since day one, in Windows I use Notepad++, and in Linux geany to write Python (or any language, c, c++, fortran, etc) code... Or from the command line, nano, vi, joe, or whatever.

Last edited by rclark; 03-15-2023 at 08:02 PM.
 
Old 03-16-2023, 07:35 AM   #26
JASlinux
Member
 
Registered: Oct 2020
Posts: 375

Rep: Reputation: Disabled
Quote:
Originally Posted by Andy-1 View Post
Realistically I demonstrated 20 tabs open in FireFox-ESR using DistroWatch’s Home page up front using just 679MiB of RAM. I then countered another poster claiming to have 100 tabs open with my own 100 tabs using just 1.67 GiB RAM. As we all know this is was an entirely useless exercise as we can bookmark groups of tabs ready for use with one click.
You're not on any social networks. lol

I can use 3gb browsing much less intensively.

Have you ever tried a virtual box?

I don't believe it's about the age of the computer, although newer computers tend to accomodate higher specs.

If you professionally monotask, you grasp your hardware demands. Modestly I need a quad-core 8gb desktop & 4gb laptop.
 
Old 03-16-2023, 09:01 AM   #27
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
I am a cyber trash collector.
My daily activity consist of reading emails, listen music, browse linux forums, read news, watch Netflix.
2G RAM is enough for me, and the 'trashes' will last me for years - just bought a 4K TV, won't buy anything new in the foreseeable future, let alone RAM.
 
1 members found this post helpful.
Old 03-20-2023, 11:43 AM   #28
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by rclark View Post
Thanks for the 'H' tip. Didn't know that was there
Hey, me neither - I only discovered it last week
If you ever get to use Xterminal or UXterminal chances are the terminal will open in a tiny window with real tiny text - there is a slightly weird menu that you get by holding down Ctrl and right clicking in the window, you have to keep the right click down; as you drag an extensive menu appears where you can select small, medium or large text...


Quote:
Originally Posted by rclark View Post
What we call 'old' laptops/desktops any more are really capable machines. Maybe not quite as 'snappy' though. I just gave three older laptops (loaded with KUbuntu) away recently to a friend that had a use for them. It wasn't always so though back in the 80s and 90s where moving to a 'new' system was usually a 'big' leap in performance. Those were heady years.
Operating CAD especially 3D CAD such as SolidWorks - you were given a Workstation by the IT department: usually made by Dell. SolidWorks stipulated that buying more than 4GiB RAM was wasted RAM as SolidWorks could only address 4G...
This did not stop the Arms Race as a new Workstation was required every three years due to XP or whatever loosing support. Suppose SolidWorks, Dell and MSoft were in bed together to keep warm Heady days...


Quote:
Originally Posted by rclark View Post
Bottom line... Wasted memory? Naw, again, it is 'there ready for use when and if ya need it'. Anyway, just another way of thinking about memory (as long as it is affordable of course). Could I get by with less? Obviously. Do I want to (or need to)? No. So I don't, end of story .
As I said we can all invent reasons....
Take the Quarry Truck next time you go shopping Greta will kick yo A**
 
Old 03-27-2023, 05:39 PM   #29
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by rkelsen View Post
Are you seriously making this claim? Please tell me that is not your actual opinion.
Respectfully, you're a Slackware user. Slackware users still compile everything from scratch, like it was 1995.....and to you, that's perfectly normal. You're a veteran, and have doubtless always been used to doing this. Don't get me wrong; someone has to compile stuff, or even repos wouldn't have copies for all to download/install.....but it's definitely a skill. Some sail through this stuff with the greatest of ease, while others will never master it in a million years. Is that sufficient reason to deny them the chance to ever try Linux?

I guess Andy-1 is referring to the 'modern' breed of Linux users; refugees from Windows, never compiled a single thing in their lives, and with the present crop of very easy-to-use distros now available, they have no need to do so.....because it's all been done FOR them.


Mike.

Last edited by Mike_Walsh; 03-27-2023 at 05:44 PM.
 
Old 04-14-2023, 07:02 PM   #30
Krupski
Member
 
Registered: Jan 2015
Location: The worst state in USA (can you guess?)
Distribution: Debian 11 (x86_64)
Posts: 44

Rep: Reputation: 0
Quote:
Originally Posted by Andy-1 View Post
Hope to satisfy two questions here in one attempt
1. Why is Andy-1 using an 8GiB laptop when his 3GiB laptop runs fine?
2. Is buying more RAM a waste of money for post 2008 computers?
For what it's worth... I have a relatively new ASUS motherboard and an Intel Core i9-11900K processor. The motherboard can accept up to 128 GB of ram, so I stuffed it full.

I browse the web and write small utilities in C... I'm not a gamer. I find that the 128 GB of ram mostly buffers writes to slow devices like Thumb drives. I can use DD to "erase" an entire thumb drive in a minute or so, but then the rest of the data (cached in ram) takes much longer to finish writing.

I've experimented with 64 GB of ram (two DIMM modules), 32 GB (1 module) as well as all 4 modules (128 GB). I honestly "felt" no performance difference with different ram sizes. I'm sure 64 GB is way more than enough as well as 32 GB, but I want both channels filled so I need 2 modules (64 GB).

I would have bought two 16 GB modules for a total of 32 GB if I knew then what I know now. Absurd amounts of ram do nothing for performance. This MAY NOT BE TRUE for a gaming computer, so look into that also.

Hope this helps.
 
  


Reply

Tags
antix, ram



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ODROID-U3: 2GiB ram and quad core 1.7Ghz CPU at a whopping $59 louigi600 Slackware - ARM 24 12-05-2014 05:24 AM
Searching for info regarding autosplit of files >4GiB on FAT32 partitions 414N Linux - General 3 05-25-2012 05:11 AM
[SOLVED] Swap pointless on a 32bit system with >4GiB hardware ram? onedingo Linux - General 11 06-29-2010 11:38 PM
4GiB in Asus A8N-SLI Deluxe causes kernel panic gzunk Linux - Hardware 1 03-06-2007 11:52 AM
Waste of Money Jasutinsama Linux - General 3 02-15-2001 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration