Ubuntu 18 vs Centos

Discussion of chess software programming and technical issues.

Moderators: Harvey Williamson, Dann Corbit, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Peperoni
Posts: 37
Joined: Sun Nov 01, 2020 4:27 pm
Full name: Richard Porti

Ubuntu 18 vs Centos

Post by Peperoni » Fri Nov 13, 2020 10:49 pm

Hello,

Did some of you guys do some benchmark Ubuntu vs Centos?
Wondering if there is a significant difference :-)

Peperoni
Posts: 37
Joined: Sun Nov 01, 2020 4:27 pm
Full name: Richard Porti

Re: Ubuntu 18 vs Centos

Post by Peperoni » Sat Nov 14, 2020 2:17 pm

Hello,

Maybe a better question would have been is there a best Linux distribution to run engines ? ;-)

jdart
Posts: 4036
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: Ubuntu 18 vs Centos

Post by jdart » Sat Nov 14, 2020 5:38 pm

They are both quite adequate.

There are some differences. Most Linux distros come in one of two general flavors: "Debian" based or "Red Hat" based. Ubuntu is similar to Debian while Centos is basically the free version of Red Hat's commercial Linux. Most of the differences are really only visible to system administrators: some files are in different places, configuring the system is different, they use different tools to do basically the same tasks. For day to day usage and for programming the differences are fairly small.

In terms of performance: there really shouldn't be any significant difference.

--Jon

User avatar
mvanthoor
Posts: 560
Joined: Wed Jul 03, 2019 2:42 pm
Full name: Marcel Vanthoor

Re: Ubuntu 18 vs Centos

Post by mvanthoor » Sat Nov 14, 2020 7:37 pm

The biggest differences between the two is that 'Debian's repositories are MUCH bigger than CentOS's. For many things that Debian has in its default repo's, you need third-party repo's for CentOS. Often CentOS software versions are even older than Debian Stable versions. When running on non-critical systems, I have always used Debian Testing (also because that's basically a rolling distro).

I have to admit that the last time I tried anything else but a Debian-based distro has been several years ago, so the above may have changed.

With regard to benchmarks and speed, they should be similar; any differences can probably be accounted to different kernels (or different compilations thereof) than to the distro per se.

(I'm sure Jon just omitted this because they're the minor players within the Linux landscape, but there are also distro's that are not Debian and not Red Hat, such as Arch and Gentoo, and the derivatives thereof. And then there are some even smaller than those.)

User avatar
lucasart
Posts: 3168
Joined: Mon May 31, 2010 11:29 am
Full name: lucasart
Contact:

Re: Ubuntu 18 vs Centos

Post by lucasart » Sun Nov 15, 2020 12:50 pm

Peperoni wrote:
Fri Nov 13, 2020 10:49 pm
Hello,

Did some of you guys do some benchmark Ubuntu vs Centos?
Wondering if there is a significant difference :-)
This question doesn't make sense. It's like asking whether installing Microsoft Office or Libre Office on your computer make it faster for chess, when neither of these applications are open and running.

So you must a noob. Nothing wrong with that. We've all been there. Start with Ubuntu. Eventually, if you want to muscle up your Linux game, use Arch.

But, CentOs? Heaven forbid... Why would anyone *choose* to use that ?
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.

Peperoni
Posts: 37
Joined: Sun Nov 01, 2020 4:27 pm
Full name: Richard Porti

Re: Ubuntu 18 vs Centos

Post by Peperoni » Sun Nov 15, 2020 1:45 pm

Hello Luca,

Well I'm not a linux expert but I am not a noob either ...
Why wouldn't it make sense to benchmark OS distributions?
https://www.phoronix.com/scan.php?page= ... ros&num=10

I guess the impact is minor but if I want to compute games 24/7, even 5% makes a difference.

Please explain to me ;-)

jdart
Posts: 4036
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: Ubuntu 18 vs Centos

Post by jdart » Sun Nov 15, 2020 11:33 pm

It looks like Clear Linux had the best benchmarks overall, but they are all sourcing basically the same kernel, so there are just details in terms of how it is compiled and configured. Your hardware makes much more difference to overall performance than the OS layer does.

I was not familiar with Clear Linux so I looked at this review:
https://arstechnica.com/gadgets/2020/02 ... -linux-os/

Apparently, it is an Intel project. But I'm not really interested because it has its own package manager and other quirks. Personally I want something that produces stable releases and has a large user community and uses established standard tools. I am using the Ubuntu LTS releases but there are other reasonable choices.

Ras
Posts: 1620
Joined: Tue Aug 30, 2016 6:19 pm
Full name: Rasmus Althoff
Contact:

Re: Ubuntu 18 vs Centos

Post by Ras » Mon Nov 16, 2020 6:50 am

Remember that the kernel performance only comes into play for programs that are actually using OS functions like file operations, thread generation or dynamic memory allocation. With file operations, that could be EGTBs, but the small performance difference won't yield Elo. The others shouldn't be done during engine search anyway. What remains is the distro configuration, i.e. how many potentially unnecessary background processes are running and competing for computing time.
Rasmus Althoff
https://www.ct800.net

Milos
Posts: 3971
Joined: Wed Nov 25, 2009 12:47 am

Re: Ubuntu 18 vs Centos

Post by Milos » Wed Nov 18, 2020 6:51 pm

lucasart wrote:
Sun Nov 15, 2020 12:50 pm
But, CentOs? Heaven forbid... Why would anyone *choose* to use that ?
For example because it's much more stable.
You seems to have never ran a server under heave workload.
For enthusiast workstation Ubuntu is ofc much more comfortable.

smcracraft
Posts: 717
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Ubuntu 18 vs Centos

Post by smcracraft » Sat Nov 21, 2020 12:01 am

I love Ubuntu. My favorite distro. Used it heavily in production environments and never wanted for speed, patches, etc.

Post Reply