Red Hat Enterprise Linux 6 (RHEL6.1) vs Debian 6 - A performance comparison

Written by Gionatan Danti on . Posted in Linux & Unix

User Rating:  / 17

Some considerations on different default settings

As stated above, comparing two Linux distributions is not an easy task. One key point to remember is that different distributions can have different default setting – and there is often no right setting, but many reasonable ones. Realizing (and accepting) this is a key factor in correctly comparing two different operating systems.

However there a some settings that are too much different to simply leave it to default value, because in this case they can skew the comparison – for example, they can disable some important security checks in order to give artificially higher performances.

In light of these considerations, while I tried to leave much things to their default values, in order to produce a meaningful comparison I changed some settings so that the results can be compared. More specifically, I manually settled on the following fixed settings:

  • use LVM to manage the disk/partitions

  • use a very simple partition scheme, with only a /boot partition and a / (root) partition

  • run two benchmark sessions for each distribution, one with EXT3 and one with EXT4 for root partition (Red Hat use EXT4 by default, while Debian use EXT3)

  • manually enable write barriers for the EXT3 test (note that Red Hat enable barrier by default, while Debian not).


#1 David van Enckevort 2012-06-09 00:17
Although I do like your comparison between the two systems I don't think there is a real use case for using an off the shelf installation and being the fastest distribution. It will be much more efficient to look at tuning the distribution you are familiar with to give the best performance.
#2 Gionatan Danti 2012-06-11 15:52
Hi David,
I can see your point.

However, I saw many, many Linux hosts/services configured with default settings. In this case, the distribution-sp ecific default configuration will be a relevant part of the equation.

And other articles will cover application-spe cific tuning ;)


You have no rights to post comments