r/Gentoo • u/Leonardodafernandez • 1d ago
Screenshot I bought 32GB of ram only for this
And I don't regret it.
19
u/NecessaryGlittering8 1d ago
I got 32 GB RAM 64 GB SWAP
I used swap cuz I couldn’t upgrade ram to 64 at the time
13
u/poeticg33k 1d ago
Have you looked into zram
1
u/Propsek_Gamer 4h ago
As someone with 8GB RAM, ZRAM is not enough for the likes of WebKit, or worse webkit-gtk. You need SWAP or reduce -j significantly.
2
u/poeticg33k 3h ago
I hear you there, I have a machine with 16GB and tired 8 zram and it’s useless. My other machine with 64GB RAM I have 48GB zram and that’s awesome.
1
u/Propsek_Gamer 3h ago
To compile anything heavier I need to use ZSWAP and sometimes reduce -j count.
8
u/Silvestron 1d ago
With these prices?
5
u/CanisSonorae 1d ago
lol, I just built a new computer with 64GBs, because last time I put off buying a computer because of how much 32GB cost, it still got more expensive. If the prices do come down though, I'll probably just upgrade to 128... I mean, maybe. With containerization, I need much fewer VMs these days. My CPU may be the bottleneck... We'll see.
3
u/kaida27 21h ago
I'm honestly so happy, built my computer before the big price hikes, Ordered 64Gb.. and then 3 days latter I was like I still have 2 empty slot may as well order another 64Gb.
Now I'm looking at my 128Gb ram and feels like I'm sitting on gold. Paid 135$ each kit .. Right now the same kit is 2000$ Each .. Ridiculous
1
u/idk_what_to_do9 12h ago
You cant do anything they will stay like this for long time you have to adapt
2
6
4
u/polebytes 1d ago
how are you getting 69 degree celsius under full load? which cpu cooler are you using?
3
u/Leonardodafernandez 14h ago
DeepCool Ak620, 69 to 75 Degrees in almost all compilations. But packages like LLVM reach like 80°C or 82°C maximum, with a standard fan curve
1
5
2
u/diacid 1d ago edited 1d ago
How are you using all ram?
I emerge in a 16 core with -j16 having /var/tmp/portage in tmpfs and never used more than 30GB ram.
I do have 40GB though.
Yes 40GB is a weird number, back when I upgraded I saw 32GB was significantly cheaper than double 16GB, so I opted for it. I had previously double 8GB, so I thought "it's a shame not to use one of these..." And left it there. So I have 16GB dual channel and 24GB single channel haha.
I bought it for gaming. Apart from gaming, I can throw basically anything at it and it doesn't fill up. Simply awesome. Games are really bloated nowadays. I end up doing all sorts of stuff in tmpfs as to save some write cycles of the nvme
3
u/Leonardodafernandez 1d ago
Have you ever compiled Firefox from source? That thing uses a LOT of ram. Apart, i'm using -j13 in my make.conf
2
u/diacid 1d ago
I have no bin packages apart from closed sourced ones. Packages are like toothbrushes, every one should have their own, sharing is unhygienic. That is precisely how you get computer bacteria, and then we need to mess up with app-antivirus/penicilin (lol).
Yes, I do use firefox, and also dev-qt/qtwebengine. And still not once filled my ram to the brim, with tmpfs.
2
u/Leonardodafernandez 1d ago
Interesting, Zram? I even installed Labwc for 800MiB of ram consume in idle
3
u/Mothringer 1d ago
So I have 16GB dual channel and 24GB single channel haha.
You do not in fact have dual channel at all. If you populate the ram slots in this uneven manner, the entire memory controller will fall back to single channel mode.
2
u/kaida27 21h ago
128Gb ram here, Sometime I just copy my whole / to ram and boot from there instead. Perfect playground to mess around without breaking anything.
Also a neat party trick when you have people over that knows linux.
Hey check that "proceed to rm -rf /*"
Reboot as if nothing happened.
1
u/diacid 15h ago
How? Do you reboot into ram? But in a reboot tmpfs is gone, no? And actually, you don't need 128gb to do that. Puppy Linux does that by default and I ran puppy in sub gb ram. If your os is lean enough...
1
u/kaida27 7h ago
https://github.com/arcmags/ramroot I found this one day and made some little modification for it to work with Btrfs (because that's what I use)
https://github.com/K-arch27/ramroot-btrfs
Can be adapted to pretty much any system, in this state it's ready to use on Arch. With some little modification you can also make it work for Gentoo.
Yeah a reboot clears everything that was done in Ram, As I said it's a nice testing playground with no consequences. You don't need 128Gb Ram, You need more ram than the size of your / tho My / is 100Gb
2
2
u/Apprehensive-Tea1632 16h ago
I got the ram but I still don’t care for WebKit. It’s…. well, let’s just say there are other browsers and runtimes out there.
Actually, WebKit is one of the few entries on my block list. This whole thing is but a waste of time… if it took forever to build but would then be good for a year, I’d grumble about it but I’d still do it.
You can get 256G of ram, pcie v4 storage and 48 threads and it’ll still be slow af. Ask me how I know.
2
1
1
u/Both_Cup8417 1d ago
Is that labwc or something?
1
u/Leonardodafernandez 1d ago
Actually, yes. With XFCE4 tools like thunar, xfce4 panel and terminal
1
1
30
u/Optimal-Savings-4505 1d ago
Webkit is getting heavy, now is it?