Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on laptop for daily software development?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
nirse
n00b
n00b


Joined: 23 Feb 2017
Posts: 4

PostPosted: Thu Feb 23, 2017 10:48 am    Post subject: Gentoo on laptop for daily software development? Reply with quote

Hi there,

I was a Gentoo user for a good while (4 years?) about 10 years ago, and I had great fun with it and learned incredibly much from it. Then I moved to OSX for work reasons, but I'm moving back to linux - and very happy with that!

Now I'm considering what distro to run on my new laptop. Gentoo is one of the options (with Arch as main contestant), but I have a single concern: back in 2004, it was not uncommon for my system to be down for a day or so after running a bigger update, with configs needing updates, compiler options needing tweeking etc. I guess you all know the drill to some extent. That wasn't so much of an issue back then, and to a degree that was what I actually liked about gentoo. And the community was always great, I think every problem I ever ran into (with respec to gentoo updates, that is) had alread been picked up in the forums. So that's why I'd really like to give Gentoo another go.

But now I'm in a different situation, I'm no longer a student and the box I'll be running is my main developement machine, which for me means a day of the machine not working is a day not having any income. Also I currently have more pressing issues to attend to than compile flags (mainly small kids that need to go to their Judo classes etc.), which will prevent me from spending a weekend day running updates. So I just need a reliable, stable system on which I can do my development.

So my question really is: what is your experience with this, how is Gentoo doing these days in terms of stability between updates? Would you recommend Gentoo, or not? How much time do you spend on keeping your system up and running?

Thanks,
niels


Last edited by nirse on Thu Feb 23, 2017 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Thu Feb 23, 2017 11:27 am    Post subject: Reply with quote

I use gentoo at work and at home without any particular problem.
At work gentoo is used for develop in java, android, web and database.
The system is in stable branch (amd64) with some programs in testing.
Probably stability or the problems that one might encounter depend also from which programs you use.

All this as long as you do updates regularly, anyway in gentoo needs to be done a little bit more maintenance compared to a binary distribution.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Thu Feb 23, 2017 3:38 pm    Post subject: Reply with quote

In some parts, with the faster CPU's now days, the compile time isn't as bad, with a few exceptions where the packages are now taking more time to compile over their older versions.

The one thing I do want to point out on using a laptop, so that it can be on your mind is going to be the heat buildup. A lot of laptops do not have the best for heat dissipation/transfer, so this can cause your laptop to die sooner. I heavily recommend you get a cooling pad relatively soon if you are going to be compiling a lot. The cooling pads are not great, but they will help some.
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Thu Feb 23, 2017 8:51 pm    Post subject: Reply with quote

I run mostly stable x86, with a 64-bit kernel. I update once a week. The updates take between 10 minutes to a few hours, never a day. The long updates are due to new kernel (which you can set to "skip it" if you want, I "skip it" on a long-uptime machine) or building firefox/thunderbird. I've been in this routine for more than five years, and have yet to lose the computer for any time at all, due to updates. I have lost some functions from time to time, with the most urgent sort being loss of email. Fixes in those instances (maybe one each year to 18 months) have taken a few hours, mostly due to my ignorance.

Not to say I don;t spend hours "playing" with the system, but very little of the time is "forced" by updates. Recent "forced" activity was conky change in config file style, saned new version is buggy on my scanner (so I just masked it).

The updates are on three machines, each slightly different. I use a laptop as a sort of headless server (it's the long uptime machine) for email, printer, jabber; a desktop machine as file server; and a laptop machine that is my interface with the three machines, 99% of the time. They all take the updates in stride. Pretty low hassle.
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 592
Location: Australia

PostPosted: Thu Feb 23, 2017 9:22 pm    Post subject: Re: Gentoo on laptop for daily software development? Reply with quote

nirse wrote:
Hi there,
So my question really is: what is your experience with this, how is Gentoo doing these days in terms of stability between updates? Would you recommend Gentoo, or not? How much time do you spend on keeping your system up and running?

Thanks,
niels


nirse,
I used gentoo back in the period you refer, (but like you couldn't use it for daily / desktop use because my work environment at the time was window$-centric). In any case I don't think it would have been possible to run gentoo exclusively back in those days for a myriad of reasons, including those you outlined, but also in terms of hardware support for a lot of the hw that we were using back then. What I ended up with was a Gentoo SAMBA server that I kept mostly frozen, serving as a domain controller and fileserver to a network of WinXP machines, which was the best compromise at the time.

I can say this, Gentoo is a lot more mature these days than it was back around 2006 or so. I've been using it exclusively since 2012, and have had virtually no downtime with it since. I run stable branch, with occasional requirement to bump individual packages to ~arch and back. I update @world weekly, fortnightly at worst.

In terms of time it takes me to run updates, I'd say an average of 10mins per week at most (of my time) reading -pv output, maybe tweaking a package.use or package.license file. I let updates run overnight, they can take a while depending on hw and which packages need rebuilding. Overall it's pretty painless these days.

Provided you update regularly and keep an eye on your emerge -pv output, comment-document the contents of your /etc/portage/package* files and pay attention to news items via eselect; you wont see any of the show-stopper compilation failures that occasionally turned up a decade ago. Mostly things just work, or, if a dev slips up (which is rare but occasionally happens) you can put off your update for 48hrs and the error will have been rectified. And, if you do strike a corner case or bork something yourself, the support here from the pro's is second-to-none.

I'm really just a user / administrator of my own systems (I haven't worked in IT for over 40 years) and can keep my systems at 99.9% uptime. The main ingredient is to set up a solid base system, keep unnecessary cruft out of world and update regularly. The installation and base setup of a Gentoo system is a bit steep, but once you have a handle on your needs and the portage system, the flexibility of a Gentoo system is unparalleled in my experience.

Cheers,
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Feb 24, 2017 5:03 am    Post subject: Reply with quote

I don't want to badmouth Arch, but between Gentoo and Arch on my laptop Gentoo maintained a much higher availability and Arch got dumped a few years back. I literally had Arch dump an unsalvageable update on me and wreck the system. Gentoo has never done that to me.

I also find Gentoo to be perfectly usable while updating 99% of the time. It takes about 2-5 minutes of user time to update weekly baring some minor portage complaint. Those can usually be solved in another 3-20 minutes depending on severity. The actual compile time is rarely a factor on a modern box, for me at least. The box is usable and updates are generally very smooth.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 472
Location: Brisbane, Australia

PostPosted: Fri Feb 24, 2017 10:19 am    Post subject: Reply with quote

nirse:

I use a stable Gentoo Xfce laptop to code in "C" and test small cli applications within Codeblocks IDE.

The average keyboard time spent to update Gentoo is less than a minute each day.
Back to top
View user's profile Send private message
nirse
n00b
n00b


Joined: 23 Feb 2017
Posts: 4

PostPosted: Mon Feb 27, 2017 11:28 am    Post subject: Reply with quote

Thanks for the feedback, everyone,

you have given me a lot of confidence in going for Gentoo. Now I just have to wait for my laptop to arrive...
Back to top
View user's profile Send private message
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Sat Mar 04, 2017 9:14 am    Post subject: Reply with quote

What notebook or processor can handle weakly updates in minutes?
My relative old desktop CPU not minutes rather than hours.
Firefox, Qt packages, gcc etc.
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Sat Mar 04, 2017 9:54 am    Post subject: Reply with quote

I'm using a couple of Thinkpads, a T420 and an X201, each has an Intel i5. Agreed that gcc, firefox, and a few other packages can take an hour, but those aren't updated weekly by any stretch. I just finished weekly updates here on three machines, took about 20 minutes, and less than one minute of keyboard time (and that was to fix an error I'd introduced).
Back to top
View user's profile Send private message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Wed Mar 15, 2017 6:01 pm    Post subject: Reply with quote

I have Gentoo on my work laptop and am running ~. I havent been down for more than 10 minutes over the past 3 years. I would absolutely recommend gentoo for your dev laptop. Its also nice having the pentoo overlay for my pentests.
Back to top
View user's profile Send private message
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Thu Mar 16, 2017 7:35 pm    Post subject: Reply with quote

Atmmac wrote:
I have Gentoo on my work laptop and am running ~. I havent been down for more than 10 minutes over the past 3 years. I would absolutely recommend gentoo for your dev laptop. Its also nice having the pentoo overlay for my pentests.



Always run development circle? Some packages like chromium, qt-core, qt-webkit etc. not even minutes.
Back to top
View user's profile Send private message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Fri Mar 17, 2017 1:57 pm    Post subject: Reply with quote

stephan-t wrote:
Atmmac wrote:
I have Gentoo on my work laptop and am running ~. I havent been down for more than 10 minutes over the past 3 years. I would absolutely recommend gentoo for your dev laptop. Its also nice having the pentoo overlay for my pentests.



Always run development circle? Some packages like chromium, qt-core, qt-webkit etc. not even minutes.



The packages compile in the background. You only briefly lose the interface on the program after it is finished installing. They also have binaries available for large programs like openoffice and firefox.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Mar 17, 2017 2:43 pm    Post subject: Reply with quote

well.

previous box t9500 penryn notebook cpu. worst package libreoffice => 13hours?

when you run ~amd64 you will need to compile libreoffice.

now ivybridge 3610qm, thats a very slow cpu these days. worst package libreoffice 70 minutes.

--

Gentoo has improved. Portage tells you to rebuild packages. But it won't be a showstopper as years ago. Years ago when you broke a "link", many packages will refuse to start. This hardly happens these days as gentoo keeps those "shared libaries". please look up the proper term for this.

When you want a stable box, I personally recommend to stay away from fancy pants like SYSTEMD, gnome and kde.
openrc / eudev + i3wm does a proper job. less hassle.

I'm also back to more a 1990 cli approach and not Windows 95 gui approach. Less guis, less issues.

--

cons for choosing gentoo:
complicate setup
outdated packages: I find on a weekly basis several packages which are not up to date. e.g. homepage claims to have been updated, or news announcement on a technical website announce a new version and such.
bugs on bugs.gentoo.org are not very well handled in a timely fashion. well ubuntu does the same, ubuntu just turns any bug invalid when the bug reporter does not responds after 60 days...

pro

can be configured how you like it
most packages in the tree work as they should.


--

Code:
What notebook or processor can handle weakly updates in minutes?


I would phrase it differently.

3610qm can handle updates in a timely fashion next to your webbrowsing, encoding using handbrake, do your stuff.

I suggest you take i7 from ivybridge. last generation where components are not soldered. Worst is a 140 € mainboard replacement. I had this month a broken lenovo notebook with a deadmainboard. Full garbage because cpu was solderd to the board (intel 4xxx cpu, i3 type).

emerge --sync took never long regardless of t9500, turion mt-32, 3610qm.
compiling next to your work usually works very well with t9500, 3610qm.
when you want to have it done in a timely fashion. worst package is libreoffice with ~70 minutes on 3610qm.

--

when you go for a binary distro, you are limited to your download speed. than you can update in a few minutes. well thats was not the case for linux mint, arch in my case, because downlaod and the package manager also took its time. and the package manager could not handle downloading in the background while processing the update.

I update on a regular basis. and updates are usually handled in less than an hour when you update every 2nd-3rd day. Assuming its a notebook where you do your work, which you use regularly.

Well even windows can not handle a timely update. gentoo was always much faster as those windows updates.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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