We have installed Ubuntu desktop edition on our dev server.

I was wondering if there is any noticeable performance loss compared to the server edition.

  • 2
    The answers you've got are right, but I also thought I'd note one thing: You say you're running a dev server -- for that particular case, a full GUI can actually be a very good thing, especially if the people managing it aren't experienced sysadmins. Jul 29 '10 at 1:06
  • very true, that was the reasons behind installing it. Now we are more comfortable using a terminal so we don't really need the desktop layer. Jul 30 '10 at 11:51

As far as I know, there is no performance lost as far as overhead and whatnot. It mostly depends on what you have installed. You can turn desktop Ubuntu into server Ubuntu by installing the same security/monitoring/visualization programs. The server edition just comes with a better set of pre-installed packages suited to a secure, easily maintained server.

Either way, I would recommend NOT installing X server and a desktop environment (GNOME, KDE, etc). This reduces boot time and memory/CPU usage.

  • 1
    Having GUI on servers increases attack vector, too. Sep 30 '18 at 0:18

Almost all of the difference between Ubuntu Desktop and Ubuntu Server is in the default set of packages installed.

The only real code difference is in the kernel package - the linux-image-*-server packages have a slightly different kernel configuration to the desktop kernels. Such kernel options include enabling PAE mode (for accessing > 4GiB memory on 32bit systems) and changing the default pre-emption level (which prioritises CPU throughput over task latency).

These won't generally have a major performance impact.

  • You can switch between them on an already-running system.
    – Broam
    Nov 17 '10 at 18:06
  • 1
    Kernel is same in both installations since version 12.04 help.ubuntu.com/community/…
    – VarunAgw
    Nov 29 '15 at 13:49

Beyond the fact that an X server is running on the machine (and things like ubuntu-one-client once a user is logged in locally), there's really no difference nor performance impact.

There isn't a "server" version and a "desktop" version of Ubuntu where one magically limits the number of connections you can have to a machine (like some other "workstation" and "server" operating systems of years past).

The different install flavors are simply a different set of starting packages.


The significant performance factor in Ubuntu Desktop is the inclusion of Gnome. Ubuntu Desktop is fine for a server (although a more lightweight desktop environment may be desired), but if you do not need a graphical environment, Ubuntu Server would be preferable.

This is not strictly performance related, but Ubuntu Desktop also contains several packages which would simply not be useful in a server environment, such as OpenOffice and GIMP. These can always be removed however.

  • GIMP is no longer included in Ubuntu Desktop edition. Your point is still valid, though. :)
    – dieki
    Jul 28 '10 at 20:19
  • oh really? hmm I guess I'm out of the loop.
    – DLH
    Jul 28 '10 at 20:35

The Desktop & Server editions have different kernels that might result in different performance, especially under some specific load conditions. One example reason being that task switching happens more often in the desktop edition's kernel because that improves responsiveness, but task switching incurs some overhead and thus also slightly lowers the performance of (some) applications.

In practice, it's unlikely that you will ever see this difference on a development system, and IME such a system is not under a heavy load, and it probably has other configuration differences that affect performance anyway.

If you want to minimize differences related to the kernel, it's always possible to use the server kernel in the desktop edition.

And of course, in most cases permanently running a desktop system probably has as much or more impact on performance as using a different kernel anyway... ;-)



“... After Ubuntu 12.04, both Server and Desktop variants use the same kernel. Previously, Desktop and Server used different kernels. Because both Ubuntu Desktop and Ubuntu Server employ the same kernel, you can add any packages to either variant. This means that while default installation varies, you can customize your Ubuntu flavor accordingly.

So you might start with Ubuntu Server and install a desktop environment if you decide you can’t run it headless. Alternatively, you could begin with Ubuntu Desktop and add the necessary packages to create a server. Since Ubuntu Server and Desktop share a core Ubuntu kernel, default installation differences don’t preclude future software package installs.”

  • 1
    This doesn't seem true. My desktop 16.04 is on kernel 4.15 while my 16.04 server is on 4.4.
    – xenoid
    Sep 29 '18 at 20:54
  • @xenoid You probably switched to the HWE kernel on your desktop but not your server. Sep 29 '18 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.