Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing on real hardware with bad specs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lemonisclown
n00b
n00b


Joined: 14 Sep 2024
Posts: 2

PostPosted: Sun Sep 22, 2024 9:40 pm    Post subject: Installing on real hardware with bad specs Reply with quote

Hello everyone,

First of all, I'd like to say that I'm still a beginner when it comes to installing Gentoo. I really like the philosophy of this OS, but I'm still struggling on some points, even though my installations have generally gone very smoothly.

As the title suggests, I'll soon be installing Gentoo on real hardware. Every time I've done so, it's been on a virtual machine with pretty good specs (usually 6 cores minimum and 8g ram). This time, the machine will be... Let's say pretty bad. The CPU looks like this:

Intel Pentium D915 Dual Core.

This bad boy has 2 cores/2 threads. Which means I'll have plenty of time to do other things when it starts compiling. As for RAM, I don't know yet, but I'm guessing 1 or 2 GB. As for the hard disk, it'll be HDD, as I don't have any SSDs to spare.

I'm coming to you for help with optimization. Indeed, my use will be limited to C programming. I specify C, because I don't intend to use Rust, for example. What's more, I can get along just fine with tmux and vim, with which I already work very well. Indeed, if RAM is low, I don't think I'll need a graphical interface. Besides, I don't think I'd really want one on this war monster.

I think I'll need help with "make.conf" or maybe even during installation.

Thank you in advance for your future messages,

Lemon.
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 465

PostPosted: Mon Sep 23, 2024 2:04 am    Post subject: Reply with quote

It will be easier if you can manage 2Gb of memory per thread used for compiling. Once the system starts paging the compiles get much longer.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2222

PostPosted: Mon Sep 23, 2024 4:32 am    Post subject: Reply with quote

It might be possible to use the binhost for this. If not, as someone who used to use a slightly newer dual core E6200 with 6GB of RAM and later a quad core Q6600 with 8GB of RAM up until 3 years ago, I'd say get rid of that thing. It's not worth the electricity it'll use.

Check with if it supports the generic x68_64 instruction set with

Code:
ld.so --help


Best Regards,
Georgi
Back to top
View user's profile Send private message
lemonisclown
n00b
n00b


Joined: 14 Sep 2024
Posts: 2

PostPosted: Mon Sep 23, 2024 7:14 am    Post subject: Reply with quote

Hello,

First of all, thanks for your answer. I didn't think at all about electricity use in this case. I mean, I have already an other computer to do my stuff. Ok, it have Debian and W11, but I think i'll wait to get like a thinkpad or something like this to play with Gentoo on real hardware.

Thanks for open my eyes about this, again,

Lemon.
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 456

PostPosted: Mon Sep 23, 2024 8:21 am    Post subject: Reply with quote

As a relative newcomer to Gentoo myself, I have to wonder whether Gentoo is really the right thing for really old hardware. My hardware isn't nearly as old as Pentium, and even mine struggles. You can avoid the compilation burden to some extent by setting the system up so that it can use more binary packages; but that means making compromises that themselves might not suit the kind of minimal installation you'll need for old hardware. There have been some improvements in the binary hosting lately, which mean that some binaries now exist that match the settings on a really minimal installation. Still, I find that I struggle to get much use from the binary host, and I have to compile a lot.

You can also compile for an old machine on a newer one, which is something I've tried. I've found this very fiddly to set up, but maybe I am making some small progress. It's been a long road, however.

My gut feeling is that you probably can run Gentoo on ancient hardware if you're doing it for educational or experimental purposes, and you don't mind how long it takes to compile everything. I think some people do take (perfectly reasonable) pride in being able to keep ancient stuff alive, but I don't think they're using it every day. For a computer that you use every day, and need to keep up to date, I've found the compilation burden overwhelming.

Sadly, I don't think anybody cares much about old PC-type hardware any more. There's more interest in 8-bit computers from the 80s (which I also have) than in old x86. I haven't found anything better than Gentoo for this kind of thing, but it's still pretty painful. If I had known three months ago what I know now, I'm not sure I would have started.

BR, Lars.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9184

PostPosted: Mon Sep 23, 2024 8:37 am    Post subject: Reply with quote

lars_the_bear wrote:
My hardware isn't nearly as old as Pentium, and even mine struggles.

It is well established that your struggles have been self-inflicted by choosing wrong --jobs value. You haven't checked back with us since fixing(?) that?
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 456

PostPosted: Mon Sep 23, 2024 8:56 am    Post subject: Reply with quote

asturm wrote:
lars_the_bear wrote:
My hardware isn't nearly as old as Pentium, and even mine struggles.

It is well established that your struggles have been self-inflicted by choosing wrong --jobs value. You haven't checked back with us since fixing(?) that?


Despite what you say, I don't think I chose that value, but it's not really the point -- that setting was on a new (for me) machine, completely unrelated to any problems I had before. My problems are self-inflicted, however, by choosing to run a really minimal installation on old-ish laptops.

I'm currently seeing what happens when I run a really minimal installation on an old-ish desktop. At least it doesn't have the cooling issues that the laptops do. Well, not in the CPU, anyway. Cooling the storage is still a bit of a bear when doing large compilations. But that's a different issue altogether.

In any case, I don't want to hijack yet another thread with a discussion of my inadequacies.

BR, Lars.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum