20

I installed Xubuntu desktop on top of Ubuntu 12.04. The usage of RAM and CPU is in general lower than in Ubuntu. But when it comes to some serious computations, I did not see much of a difference between the two.

For example, I ran a MATLAB program that took 99 seconds to run on Ubuntu and 98 seconds on Xubuntu. Then I ran Geekbench benchmarking and the overall scores Ubuntu and Xubuntu are 2996 and 2997, respectively.

My laptop is a 4 year old Dell 1535. Would things run faster on a clean install of Xubuntu?

ahamkah
  • 353

8 Answers8

22

The Kernel is the same, the underlying system is the same, the tools are the same, the desktop is different. It's the same Operating System, it's just using a different Desktop Environment.

Uri Herrera
  • 15,318
22

This is an issue that I looked into pretty seriously because I had an older laptop that was not running very smoothly at all. It took forever for programs to open and execute various tasks, and got slower and slower during the time I would use it, forcing me to reboot periodically just to refresh the system. I experimented between Xubuntu and Ubuntu, and kept track of times to measure the actual difference.

The technical answer is, yes, Xubuntu is faster than regular Ubuntu.

But, the more accurate answer is, no, probably not in any way that will make a difference to you.

If you just opened up Xubuntu and Ubuntu on two identical computers and had them sit there doing nothing, you would see that Xubuntu's Xfce interface was taking up less RAM than Ubuntu's Gnome or Unity interface.

But, so what? You don't just run computers to have them sit there. And here's where the rubber hits the road.

Xubuntu isn't just Xfce, it's also a whole suite of bundled applications to handle most tasks you want to do. For example, if you wanted to do word processing, Xubuntu comes with Abiword preinstalled. On regular Ubuntu, you're offered LibreOffice Writer by default.

Abiword may take less resources, but you pay for that with less features. And while I probably don't use 90% of the features available in Writer, the difference was noticeable enough that I found I would rather use Writer.

Which brings us to the real issue when determining whether Xfce is faster or not. Even though underneath Writer, Xubuntu's Xfce interface is using less resources than Ubuntu's Gnome or Unity, the question you're coming down to is this: Is Xfce using less resource to a degree that would make a difference in how fast LibreOffice Writer runs?

The answer is, no, not really. LibreOffice uses so much resource on its own that it quickly eats up any savings in using Xcfe. For all intents and purposes, when running something like LibreOffice on Xubuntu, the savings that Xcfe offers you is so negligible as to not matter.

So, if you're content to stay within the suite of applications offered by Xubuntu, then you might see some difference.

If, however, your hope is to run more or less the same programs as you would with Gnome or Unity but are hoping to get an appreciable performance boost, then there is no meaningful difference. By "meaningful difference", I mean a difference in how fast programs open or execute tasks to a degree that a human can tell the difference. I don't know about you, but saving .03 seconds if it takes a minute and a half to open a program doesn't mean anything to me.

In the end, I found that buying more RAM for my laptop - going from 512MB to 1GB - was the real solution I was looking for. The dream is that by getting an optimized desktop manager you can breathe new life into an old machine, and I'm sure some people have a situation where they pulled that off. But my experience was that trying to tweak the interface and applications ultimately had too many feature drawbacks for too little return.

So the question about which is faster, Xubuntu or Ubuntu, comes down to this: what applications do you want to use? If you are willing to go with the whole Xubuntu suite and all the bundled applications that are meant to be more minimal in resource use, then you might notice a performance improvement. But as soon as you start using bigger applications, the interface savings will become moot.

Questioner
  • 6,959
4

If you are doing the same 1 billion multiply operations, without accessing windows or any other operating system function, and nothing else is going on in the background, it shouldn't really matter what operating system or desktop environment you are using Ubuntu, Red Hat, Windows. The hardware is the constraint. If whatever operating system is bringing the program into memory and then letting the processor or processors do their best your hardware will mostly determine the speed (assuming all of the operating systems handle the multiple processors, hyperthreading, and so on).

When compiled with a better compiler, or compiled with more optimization, you may not be performing quite the same number of operations, however. Ubuntu, Xubuntu, Red Hat, probably are using about the same compiler. It may make a difference how MATLAB is compiled between Ubuntu/Debian and Windows, however.

When you get into doing reads and writes to disk, you shouldn't necessarily expect a benchmark to work the same on Windows, BSD, or Linux, but should probably expect the Linux numbers to be about the same, including Ubuntu and Xubuntu (but the kernels will be configured differently and that may make a difference).

If you are putting someone at the desktop and have taught them how to perform some task, Ubuntu and Xubuntu will use different resources when they perform them later, Xubuntu probably fewer resources. The individual may take more or less time to perform the task with either Ubuntu or Xubuntu. In this case it makes all the difference what you decide to measure.

John S Gruber
  • 13,436
4

In my experience: Xubuntu is a lot faster. In my netbook: Samsung NC110 A02 couldn't stand unity (everything was slow, much clipping etc.). On the other hand: my Asus F3ka have been better with Ubuntu (12.04) but also, slow as hell. It took hours to do simple things, also I don't like how they have hidden most of settings (since 11.10 it isn't a customizable O/S). I tried Xubuntu. And since then I have it in all of my computers. Fast, stable, customizable and light OS. It eats only about 190 MB of RAM. I repaired a lot of old computers with it. I could not even image what Ubuntu 12.04 will looke like if on them.

2

Yes, the desktop environment of Xubuntu is faster than the Unity shell on top of GNOME that Ubuntu uses.

MathCubes
  • 5,732
1

I came here looking for a technical answer. I didn't find that. I'm looking into this for an Ubuntu server install on a pretty low resources box.

So here is a better technical answer with resources comparison: http://mylinuxexplore.blogspot.com/2012/10/ubuntu-1210-vs-kubuntu-1210-vs-xubuntu.html

Hope this helps someone.

sP_
  • 123
Manco1911
  • 171
0

Probably yes. Regular Ubuntu brings Unity and a lot of more programs that are kept executing in memory, while Xubuntu brings less of those.

If you want a really fast and less memory consuming, you can try download Ubuntu server and install only what you need, or even use a WM likde Openbox instead of a DE.

LnxSlck
  • 12,456
-3

Matlab would be slow on any system, that's what it is. Matlab is written in C++ and you are not compiling it from source for your system to build binaries. It's all compiled code and it is one of the slowest scientific computation environments.

It doesn't really matter whether you run it on an RHEL, Ubuntu or Xfce version of Ubuntu. Don't look for these kind of benchmarks. Look for things like sensor outputs throughout the day for normal and extreme usage in your system. SMART data is available for sensors. Just see how the resources are being used through out the day.

Don't do benchmarks with Matlab. At least write a real scientific code in C++ and Fortran and run it in both environments and see if there is any difference (would be pointless still, if you are gonna do something stupid do it right).

If you are the looks person use Ubuntu. If you are the stability person go for Xubuntu. It hardly crashes unless you do something stupid.

Vijai
  • 45