Ill be running FreeBSD inside proxmox as web server and poudriere ... and zfs.
But will 4GB enough ? or 8 would be advisable ?
But will 4GB enough ? or 8 would be advisable ?
Dang ... i made mistake. 4GB ram not space!Why don't you just create a 4gb drive, install the stuff you need and then see how much space you have left?
What do you mean by "...and poudriere"? Building packages? Something else like a mirrored repo?inside proxmox as web server and poudriere ... and zfs.
pythong things, nvim, pcmanfm, conky, mc maybe gimp, firefox, ... i dont think it will be something very crazy and heavy as im not using vscode anymore and i think firefox would be heaviest oh maybe some chromium based browser so i can watch netflix / prime etcDepends on what you want to compile in poudriere.
No, stuff like this - its only for database, django, nginx no llms, no rust, no gcc . but there will be lots of python.For a webserver and ZFS 4GB memory would certainly be fine. But for building with poudriere it's going to be quite inadequate. Probably do-able but you're going to have lots of difficulty building the bigger projects. Especially if you want to have multiple jobs running. 8GB would definitely be better but would still struggle with things like LLVM, rust or GCC. My 'old' build server had 16GB memory and 16GB swap, and I constantly had to keep an eye on it.
This is why im trying to find out as ZFS loves RAM. Mirrored repo ? im not that tech guy who know stuff like this ha ha ... i have latopt whith freebsd so ill use my ws to build packages for it.ZFS and RAM. ZFS likes RAM and will take all it can get. BUT this is highly dependent on the usage patterns. Read everything you can on ZFS and ARC. RAM vs Performance is a datapoint you need to figure out.
What do you mean by "...and poudriere"? Building packages? Something else like a mirrored repo?
All my opinion, but: 4GB may be enough, but only you can decide if "it's enough to give the performance I want"
You might not require those, they're build dependencies of various other things you're building. You might be able to circumvent those by using poudriere-devel though, and configure it to use packages for LLVM, rust and GCC.no llms, no rust, no gcc
I like this idea and implementing it - 8GB should be enough`ish ?You might not require those, they're build dependencies of various other things you're building. You might be able to circumvent those by using poudriere-devel though, and configure it to use packages for LLVM, rust and GCC.
Nice! so maybe ill be fine with 8 then. Ill try to test it over the weekend.i have an old Macbook Air 2011 with 4 gig of ram
running Freebsd 14.1 zfs and wayland with dwl
with poudriere set up to build the linux-widevine-cdm
chugging along nidely
you'll be fine with 8 gigNice! so maybe ill be fine with 8 then. Ill try to test it over the weekend.
between 10 and 12How many CPU cores will you use to compile Firefox?
between 10 and 12
Well i can dedicate whole cpu 14 cores and it would be 28 threads in total.Plus hyperthreading?
You will need about half a gigabyte per core just for the base system. Projects like Chromium need more. Don't offhand know about Firefox.
Well i can dedicate whole cpu 14 cores and it would be 28 threads in total.
This is awesome, i learned something new today. I will adjust to it.Well, if you do the RAM requirements go up linearly.
Longer compile times are not an issue for me. I can wait i used to compile firefox and vscode on laptop at some point in the past.4GB Ram, it all depends on what you want to do, and how you configure poudriere.
Less Ram == Longer compile times. Certainly when the system starts swapping.
Firefox ran perfectly fine 2 years ago. Here's a screenshot i took showing memory and cpu consumption.
Plus hyperthreading?
You will need about half a gigabyte per core just for the base system. Projects like Chromium need more. Don't offhand know about Firefox.
poudriere can be configured to compile on disk or to compile in ram.
I guess you want to compile on disk.
poudriere is very tunable.
USE_TMPFS is one of these tunables.
PARALLEL_JOBS is another one.
have a look at poudriere.conf.