32GB Ram and Linux

2 years ago by qui to c/linuxmemes

independantiste 260 points 2 years ago

Meanwhile the electron app you're trying to run

path: 0 13212747, hotness: undefined, score: 260, children: 12
Damage 32 points 2 years ago

The other day my laptop was sluggish as hell, checked top and turns out Discord and Orca Slicer were maxing out my cores

path: 0 13212747 13215041, hotness: undefined, score: 32, children: 5
dai 9 points 2 years ago

Is Orca that resource intensive? I'm running it in a container with KasmVNC and have never really checked out the resource usage. Admittedly it's on one of my local servers in another room. I guess it's how large your projects are too.

Edit: maybe it's just my small projects

path: 0 13212747 13215041 13218358, hotness: undefined, score: 9, children: 1
Damage 4 points 2 years ago

Well, when I leave it open for a while it tends to have issues

path: 0 13212747 13215041 13218358 13221892, hotness: undefined, score: 4, children: 0
dan 5 points 2 years ago

What's the benefit of running Discord's app instead of just using it as a PWA? A PWA would reuse your existing browser and its session.

path: 0 13212747 13215041 13218592, hotness: undefined, score: 5, children: 2
dabaldeagul 1 point 2 years ago

Global keyboard shortcuts are pretty nice. E.g. muting yourself without alt tabbing to your browser.

path: 0 13212747 13215041 13218592 13219317, hotness: undefined, score: 1, children: 1
dan 5 points 2 years ago

Oh that's a good point. I totally forgot that Discord has voice features. don't use Discord often, and when I do, it's just for text chat. Unfortunately some open source apps I use use Discord for communicating with the developers.

path: 0 13212747 13215041 13218592 13219317 13221471, hotness: undefined, score: 5, children: 0
qui 11 points 2 years ago

you are right :d

path: 0 13212747 13213233, hotness: undefined, score: 11, children: 0
14th_cylon 8 points 2 years ago

And your browser with 300 open tabs doesn't even fit into the room

path: 0 13212747 13214716, hotness: undefined, score: 8, children: 4
Ephera 8 points 2 years ago

Firefox unloads old tabs when restarting the browser, so most of those are more like temporary bookmarks.

Don't think I've ever seen someone open 300 tabs in one session or on Chromium...

path: 0 13212747 13214716 13219467, hotness: undefined, score: 8, children: 3
QuazarOmega 4 points 2 years ago

Firefox is my tab-hoarding enabler 😍

path: 0 13212747 13214716 13219467 13222678, hotness: undefined, score: 4, children: 0
Estebiu 2 points 2 years ago

i think i have over 200 tabs open in Zen (firefox fork)

path: 0 13212747 13214716 13219467 13224867, hotness: undefined, score: 2, children: 0
LonelyNematocyst 2 points 2 years ago

Consider also getting Simple Tab Groups. You can basically instantly send a bunch of tabs to a "group", which is like bookmarks except they can also be opened/closed all at once in a new window. Very handy, you can open 50 tabs researching something, close them all, then instantly reopen them when coming back to the research.

path: 0 13212747 13214716 13219467 13498460, hotness: undefined, score: 2, children: 0
henfredemars 73 points 2 years ago

I've seen builds of the Linux kernel that comfortably fits in my on-die CPU caches.

So it would just be a picture of an empty sofa.

path: 0 13212070, hotness: undefined, score: 73, children: 8
cmnybo 45 points 2 years ago

There are mid range CPUs with 128MB of L3 cache now. A Linux distro like Tiny Core could fit entirely in cache.

path: 0 13212070 13212643, hotness: undefined, score: 45, children: 3
henfredemars 26 points 2 years ago

Tiny Core Linux is a minimal Linux kernel based operating system focusing on providing a base system using BusyBox and FLTK. It was developed by Robert Shingledecker, who was previously the lead developer of Damn Small Linux.

Ah, that explains a lot! Didn't know about TCL.

path: 0 13212070 13212643 13212665, hotness: undefined, score: 26, children: 2
Valmond 4 points 2 years ago path: 0 13212070 13212643 13212665 13213300, hotness: undefined, score: 4, children: 1
roguetrick 3 points 2 years ago

Won't run on my 386? Well what good is it then.

path: 0 13212070 13212643 13212665 13213300 13215969, hotness: undefined, score: 3, children: 0
gravitas_deficiency 6 points 2 years ago

That sounds neat. Link?

path: 0 13212070 13212500, hotness: undefined, score: 6, children: 2
henfredemars 7 points 2 years ago

Hm? Do you mean a link to builds that are this small? My midrange Intel i5-12600K (I'm a working man, doc...) L3 cache is 20,971,520 bytes. My Linux Mint (basically Ubuntu kernel) vmlinuz right now is only 14,952,840 bytes. Sure, that's a compressed kernel image not uncompressed, but consider this is a generic kernel built to run most desktops applications very comfortably and with wide hardware support. It's not too hard to imagine fitting an uncompressed kernel into the same amount of space. Does that help to show they're roughly on the same order of magnitude?

Ten years old kernels could be 2 MB.

path: 0 13212070 13212500 13212575, hotness: undefined, score: 7, children: 1
gravitas_deficiency 3 points 2 years ago

Gotcha - I thought you meant you had seen some sort of demo/article/whatever with a proof of concept, but I misunderstood.

path: 0 13212070 13212500 13212575 13212696, hotness: undefined, score: 3, children: 0
BCsven 3 points 2 years ago

My ARM board from 2010 has 256MB of memory. It runs an old 3.1 kernel (not attached to internet) , new kernels won't fit/load. But on that I have OpenMediaVault running SAMBA shares and mindlna to serve music. It isn't even using 50% of the 256MB

path: 0 13212070 13212999, hotness: undefined, score: 3, children: 0
waz 42 points 2 years ago

Wondering how my 64gb will outlast every other part upgrade my gaming Linux box will get over the years

path: 0 13211803, hotness: undefined, score: 42, children: 6
sxan 7 points 2 years ago

Your use case is obviously different, but I've gone years between system upgrades. I mostly do OSS coding, or work stuff; not gaming. The only case I can imagine needing to upgrade my little Ryzen with 16 cores - a laptop CPU - is if it becomes absolutely imperative that I run AI models on my desktop. Or if Rust really does become pervasive; compiling Rust programs is almost as bad as compiling Haskell, and will take over my computer for minutes at a time.

When I got this little micro, the first thing I did was upgrade it to 64GB of RAM, because that's the one thing I think you can never have too much of; especially with the modern web and all the shit that brings with it; Electron apps, and so on, absolutely chew up memory. The one good thing about the Rust trend is better memory use, so the crappy compile times are somewhat forgiveable.

path: 0 13211803 13212440, hotness: undefined, score: 7, children: 2
waz 4 points 2 years ago

My case was purely, that I had upgraded the gpu in my classic Mac Pro, and thought that a SFX pc build could be done with the old gpu and a power supply and mobo. It started out with a cheap mobo, to hold only an old i7 from an imac that was parted out, and 8gb of ram (2x4 sticks I had spare) and the vega56. I found it so capable a system, that the only issue was ram when I forgot about the dozen tabs open on a browser, and the game just launched would hang the system. Before I would β€˜waste’ spending money on the max 16gb that this board could hold, I started collecting the parts for it’s current setup; a520i, ryzen5 5600x , 64gb, nvme ssd and the gpus I’ve now swapped between the cMP so now it’s a rx5700xt. Use is purely a spare, don’t want a windows machine, I’ve got the mac for a server/media machine, so it’s all purpose and games on the Linux box. Although I have got dual boot capability set up on both just because I could, maybe something really offside would need w10 - one example; VCDS car diagnostic software that doesn’t support anything but win.

path: 0 13211803 13212440 13226882, hotness: undefined, score: 4, children: 0
turbowafflz 3 points 2 years ago

Somewhere around 2017 I bought an old dell precision from 2011 for $25, put a radeon rx 570 in it a few years later and used it as my main computer until last year when I finally got around to building a replacement

path: 0 13211803 13212440 13216722, hotness: undefined, score: 3, children: 0
Kyrgizion 4 points 2 years ago

I used to run VM's in parallel for my job, which eat RAM like candy. Other than that though, I've never had a use case for more than 32GB RAM.

path: 0 13211803 13212762, hotness: undefined, score: 4, children: 2
fuckwit_mcbumcrumble 2 points 2 years ago

700 tabs + VM?

At work I regularly kiss 32gb with everything open and a VM. When I got my latest machine I made sure to get 64 so I think I'll be good for a while. 32 gigs lasted me from 2017 to 2024. And if I need more this machine takes 2 SODIMMS so I can install at least 96 gigs.

path: 0 13211803 13212762 13213954, hotness: undefined, score: 2, children: 0
Valmond 2 points 2 years ago

Fixing a SSAO bug where indices overflowed the 32bit int on the gpu I had to use 64GB. Since then I have never needed more than 32GB and at home 24 is way more than I need.

Well, I just remembered, actually I did need more once for a fftv bug (same story, 32bit overflow) but I borrowed a 192GB pc for that.

path: 0 13211803 13212762 13213396, hotness: undefined, score: 2, children: 0
JGrffn 40 points 2 years ago

Can't relate, just upgraded my laptop from 32GB to 64GB since VScode would keep closing due to OOM. What? Oh, no, it's not vscode's fault.....I keep like 5 Firefox windows with 30+ tabs open, like a fucking maniac..... Close them? What do you mean "close" them?

path: 0 13214140, hotness: undefined, score: 40, children: 18
cymor 19 points 2 years ago

Only 30 tabs, you need to bump those numbers up!

path: 0 13214140 13214724, hotness: undefined, score: 19, children: 5
dan 8 points 2 years ago

I had around 1500 open tabs in Firefox. It was fine. I figured enough was enough and closed them all. Now I close all tabs at the end of the day before shutting down.

path: 0 13214140 13214724 13218607, hotness: undefined, score: 8, children: 3
davad 3 points 2 years ago

What is "shutting down"?

path: 0 13214140 13214724 13218607 13224157, hotness: undefined, score: 3, children: 2
boonhet 3 points 2 years ago

Wait, do people shut down their computers when they're done using them?

I know I did on the desktop PC we had at home when I was a kid... But now the desktop doubles as a homeserver (and does that more than it does gaming lately) and the laptop just goes to sleep rather than shutting it down.

path: 0 13214140 13214724 13218607 13224157 13225398, hotness: undefined, score: 3, children: 1
grue 2 points 2 years ago

I was about to reply to the same thing to another comment about 300 tabs, LOL

path: 0 13214140 13214724 13216227, hotness: undefined, score: 2, children: 0
missphant 8 points 2 years ago

When I started hitting OOMs I just downloaded free ram.

(Modifying my zram-generator config to use 1.5x my ram size instead of the measly 4GB – uncompressed – default. Seriously it's worth looking into, though default depends on your distro)

path: 0 13214140 13214866, hotness: undefined, score: 8, children: 2
Grian 1 point 2 years ago

Can't you just add swap?

I think you can run some apps purely on swap and keep your ram for vscode only

path: 0 13214140 13214866 13506892, hotness: undefined, score: 1, children: 1
missphant 2 points 2 years ago

zram is swap on ram, it works by compressing parts of the ram when you run low and it's much faster than traditional disk-based swap.

path: 0 13214140 13214866 13506892 13507345, hotness: undefined, score: 2, children: 0
expr 7 points 2 years ago

You only need 1 tab to OOM if that tab is Jira. I've literally had tabs take up more than 10GB.

path: 0 13214140 13219043, hotness: undefined, score: 7, children: 0
SaharaMaleikuhm 3 points 2 years ago

No need to convince me. I will always believe people complaining about garbage electron apps.
That being said, I use vscodium myself and actually like it. Does not mean I won't complain tho

path: 0 13214140 13224531, hotness: undefined, score: 3, children: 0
candyman337 3 points 2 years ago

Get sideberry, it allows you to "sleep" unused tabs

path: 0 13214140 13222556, hotness: undefined, score: 3, children: 2
caseyweederman 1 point 2 years ago

It does that by default though?

path: 0 13214140 13222556 13227961, hotness: undefined, score: 1, children: 1
candyman337 2 points 2 years ago

Idk, I think it's more proactive and more customizable

path: 0 13214140 13222556 13227961 13231927, hotness: undefined, score: 2, children: 0
lelgenio 1 point 2 years ago

I think there's still something wrong with your setup.... You should be able to have as many Firefox windows and tabs as you'd like without using too much RAM, since they should de "suspended".

I regularly have hundreds of tabs running fine, on 32GB of RAM.

Most likely it's a vscode extension that's leaking memory, and this problem will still happen after your upgrade, just take longer.

path: 0 13214140 13226218, hotness: undefined, score: 1, children: 0
caseyweederman 1 point 2 years ago

Firefox puts inactive tabs to sleep, effectively turning them into bookmarks that reload when you switch back to them. I regularly right-click close-tabs-to-the-right over 200 tabs.

path: 0 13214140 13227959, hotness: undefined, score: 1, children: 0
Ephera 1 point 2 years ago

I mean, I doubt Kate or Geany or Vim would've closed due to OOM, but sure...

path: 0 13214140 13219706, hotness: undefined, score: 1, children: 0
shadowfax13 0 points 2 years ago

same with intellij

path: 0 13214140 13220307, hotness: undefined, score: 0, children: 0
Draconic_NEO 37 points 2 years ago

Gives a lot of Space for running Virtual machines.

Also browsers can chew that up fast if you have a lot of tabs, Firefox has managed to do it a few times. At least until I started limiting its RAM to 8GB (best decision ever)

Limit Firefox to 8GB of RAM .desktop file
[Desktop Entry]
Version=1.0
Name=Firefox RAM limit 8GB
GenericName=Firefox Ram limit 8GB
Comment=Limit RAM for Firefox to 8GB;
Exec=systemd-run --user --scope -p MemoryLimit=8G firefox
Icon=firefox
Type=Application
Terminal=false
Categories=Utility;Development;
StartupWMClass=Firefox

(To use it with other apps like Chrome or Electron apps just replace the command at the end, and startup class with the ones from the program you'd like to run. Icon and Name changes are optional but might be desirable so you remember what app it is for).

path: 0 13220460, hotness: undefined, score: 37, children: 13
uis 6 points 2 years ago

Alternatively you can open about:config and limit memory usage there. For example limit in-memory cache.

EDIT: it seems firefox doesn't allow to set RAM limits yet, only cache sizes

path: 0 13220460 13224783, hotness: undefined, score: 6, children: 2
Draconic_NEO 4 points 2 years ago

That's good to know, I don't know how well it would work though I feel like I enabled something about closing background tabs to reduce memory load (it might have been what you said, it might have been something else I don't really remember) and it helped a little bit but it still ended up chewing up a lot of memory.

Setting the limit though did help immediately. And stop the overconsumption problems, occasionally a couple of tabs crash here and there but it doesn't freeze or worse cause other apps to slow down and freeze. Which did happen before.

path: 0 13220460 13224783 13225496, hotness: undefined, score: 4, children: 0
Draconic_NEO 1 point 2 years ago

Something I didn't consider when answering earlier is that even if Firefox did have good RAM usage limiting built-in I probably still wouldn't use it or recommend it, because one of Firefox's biggest problems is that it leaks. And memory leaks will not be negated by Firefox's built-in RAM limiter but they will be by systemd's (or anything else you might be using instead) Firefox would still crash in the event of a leak but it's still better than it taking gnome or other apps with it, or freezing your system entirely.

path: 0 13220460 13224783 13290808, hotness: undefined, score: 1, children: 0
Mwa 4 points 2 years ago

Oh my god thanks but what if someone had a systemd free system

path: 0 13220460 13224111, hotness: undefined, score: 4, children: 2
Draconic_NEO 3 points 2 years ago

It might be harder for them but there are similar tools that they could use to limit it. One I've seen people use is firejail, a tool designed for sandboxing processes and applications.

I've personally never tried it myself though so I can't attest to how well it works, either for this purpose or sandboxing in general.

path: 0 13220460 13224111 13225220, hotness: undefined, score: 3, children: 1
Mwa 3 points 2 years ago

Oh, I was talking about runit,sysvinit and openrc systems

path: 0 13220460 13224111 13225220 13227214, hotness: undefined, score: 3, children: 0
uis 3 points 2 years ago

systemd-run? Wtf?

path: 0 13220460 13224757, hotness: undefined, score: 3, children: 0
prole 2 points 2 years ago

Hey, thanks for this.

path: 0 13220460 13223972, hotness: undefined, score: 2, children: 0
QuazarOmega 2 points 2 years ago

Does it kill Firefox if it tries to go over the limit? I think I tried this once and if there is a memory leak it just closes itself (which is batter than hogging the whole system, bit still)

path: 0 13220460 13222658, hotness: undefined, score: 2, children: 4
Draconic_NEO 5 points 2 years ago

No, it just limits the amount of RAM that Firefox (or whatever other application you launch with these parameters) will see.

A few Firefox tabs may crash occasionally as a side effect. And obviously if Firefox eats up all of the 8GB it's allocated it may crash itself though usually it doesn't and tabs will crash before the browser crashes.

path: 0 13220460 13222658 13225551, hotness: undefined, score: 5, children: 1
QuazarOmega 2 points 2 years ago

Thanks I understand now, I'll have to try it again

path: 0 13220460 13222658 13225551 13229176, hotness: undefined, score: 2, children: 0
SaharaMaleikuhm 3 points 2 years ago

I think Firefox only sees 8 GB and limits itself ideally. So if it goes over it just unloads unused tabs and such.

path: 0 13220460 13222658 13224468, hotness: undefined, score: 3, children: 1
Draconic_NEO 2 points 2 years ago

I can confirm this, the first time I tried it out I accidentally set it to 1 GB, Firefox could only see that amount of memory. Though limiting Firefox to only 1GB its a very bad idea and it can cause it to crash it's not because it's trying to go over though it's just because it ran out of memory.

8GB is what I would consider the safe minimum for web browsing. If you said it lower you'll have performance losses. Setting it higher though will only chew up valuable System RAM by inactive tabs.

path: 0 13220460 13222658 13224468 13225286, hotness: undefined, score: 2, children: 0
snugglebutt 29 points 2 years ago

the rest is electron

path: 0 13226366, hotness: undefined, score: 29, children: 0
GreenKnight23 24 points 2 years ago
path: 0 13232297, hotness: undefined, score: 24, children: 0
winterayars 24 points 2 years ago

Once you fire up a webpage it'll just dump garbage all over the couch.

path: 0 13217019, hotness: undefined, score: 24, children: 0
SocialMediaRefugee 24 points 2 years ago

Java would like to hog the couch

path: 0 13218041, hotness: undefined, score: 24, children: 1
LunchMoneyThief 8 points 2 years ago

Minimum requirements to run hello world in Java

path: 0 13218041 13219390, hotness: undefined, score: 8, children: 0
jennifer 22 points 2 years ago

Plenty of room left over for my Chrome tabs

path: 0 13218905, hotness: undefined, score: 22, children: 1
Ensign_Crab 12 points 2 years ago

Four of them.

path: 0 13218905 13220400, hotness: undefined, score: 12, children: 0
drunkpostdisaster 22 points 2 years ago

I wish I was a cat

path: 0 13223744, hotness: undefined, score: 22, children: 2
WereCat 5 points 2 years ago

I wish you were a cat too

path: 0 13223744 13241031, hotness: undefined, score: 5, children: 1
SatouKazuma 2 points 2 years ago

...name checks out

path: 0 13223744 13241031 13252565, hotness: undefined, score: 2, children: 0
Blaster_M 22 points 2 years ago

Microsoft Flight Simulator: A whole airplane on the couch

path: 0 13215972, hotness: undefined, score: 22, children: 3
lseif 4 points 2 years ago

well it's in the name

path: 0 13215972 13216560, hotness: undefined, score: 4, children: 2
OutlierBlue 10 points 2 years ago

"Microsoft"

path: 0 13215972 13216560 13216746, hotness: undefined, score: 10, children: 1
lseif 1 point 2 years ago

yeah sure close enough! :)

path: 0 13215972 13216560 13216746 13219681, hotness: undefined, score: 1, children: 0
everypizza 18 points 2 years ago

i think you might be able to run kde plasma with that!

path: 0 13224195, hotness: undefined, score: 18, children: 4
deadly4u 17 points 2 years ago

Fun fact, KDE is very lightweight. More so than a lot of folks give it credit for

path: 0 13224195 13225337, hotness: undefined, score: 17, children: 2
Fuzzypyro 6 points 2 years ago

It’s amazing. Until there is a conflict with mismatched qt libraries.

path: 0 13224195 13225337 13229468, hotness: undefined, score: 6, children: 0
everypizza 1 point 2 years ago

plasma wayland just doesn't work with orca and x11 uses 7Γ— your system resources

path: 0 13224195 13225337 13289002, hotness: undefined, score: 1, children: 0
SaharaMaleikuhm 15 points 2 years ago

Better add 32 GB Zram to be safe tho

I use Kde plasma so I'm allowed to make fun of it

path: 0 13224195 13224423, hotness: undefined, score: 15, children: 0
rtxn 16 points 2 years ago

Try realizing ten thousand mesh instances in Blender and watch that sucker eat the rest of your RAM like it's got a pebble in its shoe.

I did that on my work PC with 128 GB memory (originally built for esports shit) and it still wasn't enough.

path: 0 13217423, hotness: undefined, score: 16, children: 4
Rin 8 points 2 years ago
path: 0 13217423 13218125, hotness: undefined, score: 8, children: 3
rtxn 10 points 2 years ago

It was also supposed to be an all-in-one recording/streaming computer for university events, and they had to use the budget for something. It ended up being used as a proxmox host for a while, then it was handed off to me. Now the most resource-intensive thing it runs is a Windows 11 VM that I torture mercilessly use for experiments. It rarely gets to 10% memory utilization.

path: 0 13217423 13218125 13218252, hotness: undefined, score: 10, children: 2
Rin 2 points 2 years ago
path: 0 13217423 13218125 13218252 13218747, hotness: undefined, score: 2, children: 1
rtxn 4 points 2 years ago

It has an i9 10980, so about 4-5 years old. It was built before I was hired.

path: 0 13217423 13218125 13218252 13218747 13218898, hotness: undefined, score: 4, children: 0
MonkderVierte 16 points 2 years ago

One of the cushions is your browser, the other half some IDE you use to write an one-liner.

path: 0 13223062, hotness: undefined, score: 16, children: 0
Dave 14 points 2 years ago

I use a shit load of RAM on Linux. You guys clearly have amateur numbers when it comes to how many applications you have open at once.

path: 0 13212583, hotness: undefined, score: 14, children: 6
independantiste 4 points 2 years ago

And hitting high memory pressure is really not fun on Linux (on Fedora at least), it simply locks up and slows down to a crawl and does nothing for minutes until the oom killer finally kills the bad program. I've kind of solvd this by installing a better oom killer on my laptop, but my desktop was easy: buy 32GB of additional ram for like 90$: problem solved

path: 0 13212583 13213601, hotness: undefined, score: 4, children: 2
Dave 3 points 2 years ago

I like to have a 50GB+ swap file. Though Fedora is a bit weird with swap files as by default it's stored in RAM (Yes, extra space for RAM is stored in RAM. I... admit I don't understand the detail).

path: 0 13212583 13213601 13218314, hotness: undefined, score: 3, children: 0
Ephera 2 points 2 years ago

Hmm, it's been a few years since I've run Fedora, but that's an experience also still stuck in my head from that time.

I always figured, Linux had just gotten better at that, because I switched to a more up-to-date distro afterwards, but in retrospect, it's not like Fedora is terribly out of date, so maybe that is just a weird configuration on Fedora...

path: 0 13212583 13213601 13220195, hotness: undefined, score: 2, children: 0
pennomi 3 points 2 years ago
path: 0 13212583 13212775, hotness: undefined, score: 3, children: 0
lukstru 2 points 2 years ago

Multiple Firefox windows, at least one JetBrains IDE, and some other apps and I fill 20-30GBs easily. Sometimes on the lower end, sometimes on the higher end.

path: 0 13212583 13213648, hotness: undefined, score: 2, children: 1
Dave 1 point 2 years ago

Multiple Firefox windows? I'm not that civilised, I just have 100+ tabs in the one window.

path: 0 13212583 13213648 13218331, hotness: undefined, score: 1, children: 0
SaltyIceteaMaker 12 points 2 years ago

i mean, some games (cough cough factorio cough cough) manage to use up about 25GB of ram on my system, so it's nice to have a buffer. now, my 64GB may be considered a bit overkill but i call it future proofing

path: 0 13232110, hotness: undefined, score: 12, children: 6
bababu 3 points 2 years ago

I upgraded to 64 GB a few months ago, also thinking it would be future proof for a while. However, I entirely exhuasted it two weeks ago πŸ˜‘

path: 0 13232110 13237059, hotness: undefined, score: 3, children: 3
SaltyIceteaMaker 3 points 2 years ago

tf are you doing

path: 0 13232110 13237059 13237501, hotness: undefined, score: 3, children: 2
bababu 1 point 2 years ago

some c++ and android coding on a few projects, plus firefox, plus the other minor stuff like translator, goldendict, ...

path: 0 13232110 13237059 13237501 13261077, hotness: undefined, score: 1, children: 0
NeilBru 1 point 2 years ago

K8s clusters, probably.

path: 0 13232110 13237059 13237501 13239456, hotness: undefined, score: 1, children: 0
Lifter 1 point 2 years ago

My work takes 40 gig and I can still play Factorio while working :)

path: 0 13232110 13236888, hotness: undefined, score: 1, children: 1
SaltyIceteaMaker 1 point 2 years ago

yeah probably because of all the mods i play with, and the the absolute overkill i manufacturer everything with

path: 0 13232110 13236888 13237508, hotness: undefined, score: 1, children: 0
weker01 12 points 2 years ago

Like any cat, Linux is actually liquid and can flow over the whole sofa if it so chooses.

path: 0 13214869, hotness: undefined, score: 12, children: 0
dual_sport_dork 12 points 2 years ago

Y'all need to point me towards one of those tiny Linux systems. I have an old no-longer-bricked Toshiba Satellite that somebody gave me and I got it to boot again, so I slapped Mint on it to see how I liked it since I've never messed with that distro before. The only problem is this sucker is a dog, it's only got 2 gigs of RAM and a pokey 5400 RPM platter drive in it. The thing sits there and thrashes swap constantly even when it's doing nothing, and when Mint is creating one of its automated system image rollback things it's completely unusable. I'm surprised the laptop platters don't escape their casing and bore into the Earth like a drill bit.

I found that it will... eventually... load and run the latest FreeCAD build and once it's going it's actually not bad (awful screen resolution and single touch only trackpad notwithstanding). But getting there when taken altogether takes about 20 minutes...

path: 0 13213784, hotness: undefined, score: 12, children: 12
SpikesOtherDog 7 points 2 years ago

If you can afford it, a SSD will significant improve your life. Also, any more memory will help.

As others said, you can disable swap.

Are you running the xfce version of Mint? It's significantly less resources.

path: 0 13213784 13215456, hotness: undefined, score: 7, children: 2
dan 4 points 2 years ago

you can disable swap.

Be careful with disabling swap if you don't have a very large amount of RAM, as many apps rely on memory overcommitment and a large virtual address space, which can behave erratically without swap.

You'd be better off keeping swap enabled and instead setting vm.swappiness = 0 in sysctl.conf.

Swappiness is a value between 0 and 100, where 0 means to never swap unless absolutely necessary (only if you completely run out of RAM), and 100 means all programs and data will be swapped nearly instantly. Think of it like a target for the percentage of RAM to keep available. The default is usually 40 which is fine for a low-RAM system, but swaps way too often for a system with more RAM.

path: 0 13213784 13215456 13218729, hotness: undefined, score: 4, children: 1
SpikesOtherDog 1 point 2 years ago

Thank you, I did have that wrong.

path: 0 13213784 13215456 13218729 13223470, hotness: undefined, score: 1, children: 0
notthebees 2 points 2 years ago

I use bunsenlabs helium on my old vaio a series laptop. I use a 32 bit non pae build bc it's a pentium M that might not support pae. It uses a window manager over a desktop environment.

I'd recommend using a 32 bit distro as they tend to take up a little less ram.

Also I'm on a 4200 rpm PATA HDD. It has 2 gb of ddr ram. It's slightly too old to get ddr2 which is unfortunate.

path: 0 13213784 13214187, hotness: undefined, score: 2, children: 0
ArcaneSlime 1 point 2 years ago

Antix will run on old grey boxes with mb of ram, it oughta work for you too.

path: 0 13213784 13214525, hotness: undefined, score: 1, children: 0
PrettyFlyForAFatGuy 1 point 2 years ago

can you not disable swap? force it to stick to physical RAM.

path: 0 13213784 13214102, hotness: undefined, score: 1, children: 4
dan 1 point 2 years ago

You absolutely need swap on a low RAM system. It's the only way the system will actually be usable. You'll hit OOMs (out of memory errors) that take down the whole GUI if you turn off swap on a system with only 2GB RAM. You can only really turn off swap if you have a very large amount of RAM, and even then, it's safer to keep it enabled and set swappiness to 0 instead.

path: 0 13213784 13214102 13218787, hotness: undefined, score: 1, children: 3
PrettyFlyForAFatGuy 1 point 2 years ago

most of these old systems dont have soldered RAM a few extra gig of DDR2 RAM would be dirt cheap on ebay too

path: 0 13213784 13214102 13218787 13221972, hotness: undefined, score: 1, children: 2
dan 1 point 2 years ago

If you can find it :) DDR2 is old enough that a lot of it has been thrown out as e-waste. If you're lucky, you may be able to find some at a computer/electronics recycler for free.

path: 0 13213784 13214102 13218787 13221972 13228978, hotness: undefined, score: 1, children: 1
vin 1 point 2 years ago

More than enough for MX Linux with Xfce. But it's not going to make your applications a whole lot faster.

path: 0 13213784 13217230, hotness: undefined, score: 1, children: 0
Ashiette 1 point 2 years ago

Arch, with XFCE and the strict bare minimum. Ex : midori instead of firefox, etc. Don't dream about CAD

path: 0 13213784 13214066, hotness: undefined, score: 1, children: 0
masterofn001 10 points 2 years ago

Leaves Firefox running.

OOM

path: 0 13216839, hotness: undefined, score: 10, children: 0
Treczoks 10 points 2 years ago

That's how I got a free netbook. The netbook had 32GB flash with windows and office occupying 27+GB. Then windows wanted to do an update - with an 8+GB file. Spot the problem. And windows can get quite annoying with updates. As the netbook could not be expanded, and attempts to redirect the update to a USB stick did not work, a newer netbook was bought, and I got the old one. Linux plus libreoffice plus a bunch of extras happily sat in 4GB...

path: 0 13237316, hotness: undefined, score: 10, children: 0
nobleshift 10 points 2 years ago
path: 0 13225234, hotness: undefined, score: 10, children: 0
icecreamtaco 9 points 2 years ago

Am i the only one who still has no problems with 8GB? Not that I wouldn't be happy with more but i can't remember the last time I've even thought about ram usage

path: 0 13228398, hotness: undefined, score: 9, children: 5
trxxruraxvr 6 points 2 years ago

If your job requires you to use chrome and vscode, 8GB is usually not enough :/

path: 0 13228398 13229597, hotness: undefined, score: 6, children: 3
icecreamtaco 5 points 2 years ago

At my last WFH job my daily setup was firefox, sublime text, slack (electron app), github desktop (also electron), and 3 terminals, one running a local dev server. It all ran fine.

path: 0 13228398 13229597 13230034, hotness: undefined, score: 5, children: 0
s4if 3 points 2 years ago

I use potato PC with just 8GB of ram to work. I regularly use VSCode and docker. It still run smoothly when I use it properly. lol.

path: 0 13228398 13229597 13236844, hotness: undefined, score: 3, children: 1
acchariya 1 point 2 years ago

Guessing you don't run a couple docker containers to support local development;-)

path: 0 13228398 13229597 13236844 13241365, hotness: undefined, score: 1, children: 0
suction 1 point 2 years ago

it's almost like the ram usage depends on the software / services you need to run /s

path: 0 13228398 13237165, hotness: undefined, score: 1, children: 0
fmstrat 8 points 2 years ago

You are not Linuxing hard enough.

path: 0 13215967, hotness: undefined, score: 8, children: 0
possiblylinux127 8 points 2 years ago

Now run Mixtral

path: 0 13216472, hotness: undefined, score: 8, children: 0
pineapplelover 8 points 2 years ago

My system gets maxed out of the 16gb regularly.

path: 0 13227676, hotness: undefined, score: 8, children: 6
jol 12 points 2 years ago

Yeah. Firefox will gladly make itself comfy in my 32Gb... It's annoying because just because 80% of RAM is "used" doesn't mean it is really.

path: 0 13227676 13228145, hotness: undefined, score: 12, children: 5
mm_maybe -3 points 2 years ago

this; every time the ublock origin absolutists insist that everyone must use Firefox or die I just wonder if they never open more than one or two tabs anyway. hell, a sufficiently complex web app running in a single tab can make FF choke

path: 0 13227676 13228145 13228412, hotness: undefined, score: -3, children: 4
jol 7 points 2 years ago

You got it wrong actually. Firefox is not really actively using all the ram. It's more like reserving it. The system does that too. When the actual used RAM gets low, Firefox releases some of this unused RAM.

path: 0 13227676 13228145 13228412 13228724, hotness: undefined, score: 7, children: 1
gens 1 point 2 years ago

Both you and @SaltyIceteaMaker are completely wrong. There is no such thing as "reserving" memory.

path: 0 13227676 13228145 13228412 13228724 13238462, hotness: undefined, score: 1, children: 0
SaltyIceteaMaker 2 points 2 years ago
path: 0 13227676 13228145 13228412 13232026, hotness: undefined, score: 2, children: 0
pineapplelover 1 point 2 years ago

I mean I run ubo and firefox. And have hundreds of tabs open. On any system, it lags so I know the struggle.

path: 0 13227676 13228145 13228412 13228845, hotness: undefined, score: 1, children: 0
captainlezbian 7 points 2 years ago

I spent years gaming on 8gb. Sure I could barely open bg3 but do I really need my 32 now?

path: 0 13215816, hotness: undefined, score: 7, children: 0
umbrella 7 points 2 years ago
path: 0 13217977, hotness: undefined, score: 7, children: 0
SwingingTheLamp 7 points 2 years ago

True story. I remember back in the bad old days when Firefox had notorious memory leaks, so when building my latest PC, I put in 32GB. The monitor app on my desktop has only ever topped out at showing 30% of memory allocated.

path: 0 13225034, hotness: undefined, score: 7, children: 0
neonred 6 points 2 years ago
path: 0 13214383, hotness: undefined, score: 6, children: 0
Alk 6 points 2 years ago

Play star citizen. You'll use that up fast.

path: 0 13219038, hotness: undefined, score: 6, children: 0
xenoclast 5 points 2 years ago

Ram disks!!

path: 0 13229126, hotness: undefined, score: 5, children: 0
LovableSidekick 5 points 2 years ago

When I think back to when I marveled that one of our office's 8Gb nightly backup tapes fit in my shirt pocket - EIGHT GIGABYTES - in my POCKET!!!...

In the future Gen ┐ will whine to their parents that their cerebral implant is only 100 terabytes.

path: 0 13217589, hotness: undefined, score: 5, children: 0
LovableSidekick 5 points 2 years ago

But there's so much room for ACTIVITIES!!!

path: 0 13217526, hotness: undefined, score: 5, children: 1
DrDystopia 5 points 2 years ago

And on linux, so much room for cache that doesn't have to be dumped to disk!

path: 0 13217526 13219839, hotness: undefined, score: 5, children: 0
InverseParallax 5 points 2 years ago path: 0 13218423, hotness: undefined, score: 5, children: 0
uis 5 points 2 years ago

Do vmtouch -t /

path: 0 13224736, hotness: undefined, score: 5, children: 1
Mio 1 point 2 years ago

I love when things are in ram. Can have whole vm disks. I also like creating new VMs in ram disks like /dev/shm it makes less wear on my ssd.

path: 0 13224736 13237055, hotness: undefined, score: 1, children: 0
kekmacska 4 points 2 years ago

install Garuda, not BionicPup

path: 0 13215116, hotness: undefined, score: 4, children: 0
melroy 3 points 2 years ago

This is on my Framework Laptop:

free -h
               total        used        free      shared  buff/cache   available
Mem:            58Gi       3,3Gi        47Gi        82Mi       8,6Gi        55Gi
path: 0 13342371, hotness: undefined, score: 3, children: 1
melroy 2 points 2 years ago

Here is my Proxmox server:

free -h
               total        used        free      shared  buff/cache   available
Mem:           125Gi        66Gi        33Gi        24Mi        26Gi        58Gi
Swap:          8,0Gi          0B       8,0Gi
path: 0 13342371 13342426, hotness: undefined, score: 2, children: 0
atempuser23 3 points 2 years ago
path: 0 13213401, hotness: undefined, score: 3, children: 0
kevincox 3 points 2 years ago
% free -h
               total        used        free      shared  buff/cache   available
Mem:           125Gi        15Gi        90Gi       523Mi        22Gi       110Gi
Swap:           63Gi          0B        63Gi

I'll use it eventually. Just gotta let the disk cache warm up.

path: 0 13265401, hotness: undefined, score: 3, children: 4
melroy 2 points 2 years ago

63GiB swap, really...?

path: 0 13265401 13342439, hotness: undefined, score: 2, children: 3
kevincox 2 points 2 years ago

I have enough disk space.

Plus my /tmp is a ramdisk and sometimes I compile large things in there (Firefox) so it is nice to let it be flushed out to disk if there are more important uses for that RAM than holding a file that most likely won't be read again.

path: 0 13265401 13342439 13342467, hotness: undefined, score: 2, children: 2
melroy 1 point 2 years ago

I see.. but you only use 15GiB.. Or are there days you actually use up the memory?

path: 0 13265401 13342439 13342467 13342612, hotness: undefined, score: 1, children: 1
kevincox 2 points 2 years ago

Yes. As this is a workstation the memory use is highly variable, >95% of the time I would probably barely notice having 32GiB. But other times it is a huge performance win to have that capacity available. Sometimes I am compiling lots of stuff and 32 compilers running + ample disk cache is very important. Other times I am processing lots of data and other times I am running a few VMs.

It is a bit of a luxury. I think if I was on a tighter budget I would have gone for 64GiB. However the price difference wasn't that much and at least a handful of times I have been quite happy to have that capacity available. And worst case I just have everything sitting in disk cache after a warm up which is a small performance win on every small task.

path: 0 13265401 13342439 13342467 13342612 13343770, hotness: undefined, score: 2, children: 0
bali10050 2 points 2 years ago

This comment section is a goldmine

path: 0 13237564, hotness: undefined, score: 2, children: 0
sirico 2 points 2 years ago

Zfs being a Maine-coon

path: 0 13212930, hotness: undefined, score: 2, children: 0
Zachariah 2 points 2 years ago

Fire up a couple VMs to snuggle with.

path: 0 13213346, hotness: undefined, score: 2, children: 0
KazuchijouNo 2 points 2 years ago

My minimal arch installation on my 128 GB RAM monster of a computer

path: 0 13213140, hotness: undefined, score: 2, children: 1
Lobreeze 5 points 2 years ago

Came here to say something similar.

My work issued me a 128gig 64 core monster of a PC, came with front and back carrying handles.

To run Ubuntu and write some scripts.

path: 0 13213140 13214528, hotness: undefined, score: 5, children: 0
linuxmemes
linuxmemes

@lemmy.world

login for more options
32537
2322
8246

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

Β 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

go to feed...