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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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.
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.
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.
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.”