Jump to content

  • Log In with Google      Sign In   
  • Create Account

Ubuntu + Performance


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Vincent_M   Members   -  Reputation: 638

Like
0Likes
Like

Posted 19 August 2014 - 03:44 PM

I'd like to use Ubuntu on my Intel NUC that I'm using as an arcade cabinet system. It's got an i5 CPU + HD 4600 integrated graphics with 8GB memory. If I stripped out Unity, and installed just a bare-bones desktop manager such as LightDM, then would Ubuntu run as a fairly light-weight Linux distro? I'd like this NUC to render some 2D games, and some basic 3D games at 1080p, and I think if the OS is lean enough, a NUC would certainly do the job when compared to an OUYA.



Sponsor:

#2 mhagain   Crossbones+   -  Reputation: 7979

Like
0Likes
Like

Posted 19 August 2014 - 04:37 PM

The OS is not as relevant as you think here.

 

The primary arbiter of graphics performance (which I'm assuming is your concern because you posted in the OpenGL forum) is not the OS, but rather the graphics hardware and it's driver.


It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#3 Vincent_M   Members   -  Reputation: 638

Like
0Likes
Like

Posted 19 August 2014 - 04:51 PM

The OS is not as relevant as you think here.

 

The primary arbiter of graphics performance (which I'm assuming is your concern because you posted in the OpenGL forum) is not the OS, but rather the graphics hardware and it's driver.

Ok, now you bring up another good point, which I probably should have asked as well. I've heard that Ubuntu has a lot of overhead to it, but I'm assuming that Linux most resource usage for Linux distress when used as typical, consumer-level, desktops comes from the desktop environment, which does tax the GPU to varying degrees. That being said, I should probably go with Ubuntu, and strip out the Unity DE as I initially planned. I'll replace my production environment with a lightweight DM, such as LightDM, and keep X around... for now... I'll also need to figure out how to get Intel's proprietary drivers working for it for full hardware support rather than Mesa 3D's implementation.

 

Does this sound like a good move?



#4 mhagain   Crossbones+   -  Reputation: 7979

Like
0Likes
Like

Posted 19 August 2014 - 05:12 PM

...Does this sound like a good move?

 

I'd consider it a toss-up.

 

Offloading the desktop environment to the GPU makes a lot of sense, because otherwise it's going to tax the CPU.  For performance of the OS itself you obviously want to keep CPU headroom for number-crunching and other such work, so having the GPU handle display tasks can actually make your OS faster.

 

Raymond Chen has a good writeup of this for Windows here: http://blogs.msdn.com/b/oldnewthing/archive/2013/03/27/10405554.aspx and it's worth quoting as it will apply to other compositing desktop environments too:

 

Starting in Windows Vista, a lot of visual effects were offloaded to the graphics card. Consequently, the impact on system performance for those visual effects is negligible, and sometimes turning off the effect actually makes your system run slower because you disabled hardware acceleration, forcing operations to be performed in software.

 

For gaming, any desktop worth using is going to switch itself off when you go fullscreen - worst case is that it's going to keep a few MB of buffers hanging around, but it's not going to be compositing in the background behind a fullscreen game.

 

So rather than making a judgement based on what seems the "lightest" desktop (which may well give you a slower OS as you may end up losing hardware acceleration) you should make a judgement based on whether or not it has these performance characteristics I mention.  Does it satisfactorily offload to the GPU in normal usage?  And does it switch itself off when you go fullscreen in a game?


It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#5 Ravyne   GDNet+   -  Reputation: 7409

Like
0Likes
Like

Posted 19 August 2014 - 05:17 PM

I might be incorrect, but I always assumed that non-3D emulators were mostly software-rendered anyhow. Most of the old arcade boards and such had some fairly oddball (moreso, by today's standards) graphics hardware and I'm not sure how much of it translates well to being GPU-accelerated.



#6 Bregma   Crossbones+   -  Reputation: 5133

Like
1Likes
Like

Posted 19 August 2014 - 08:17 PM

Well, those hardware specs are better than mine, and I develop the Unity DE, so I think you'll be fine.

 

Keep in mind that when you're running in fullscreen mode with Unity you're going directly to the hardware:  compositing is turned off.  Use a lighter DE if you wish: Lubuntu or Xubuntu do not use a compositor, but you won't see much difference in fullscreen mode.

 

Don't bother looking for the proprietary Intel drivers:  they're a part of Mesa.  Intel open-sources their drivers and contributed them to and maintain them as a part of Mesa.  Mesa is not just software drivers.


Stephen M. Webb
Professional Free Software Developer

#7 TheChubu   Crossbones+   -  Reputation: 4354

Like
0Likes
Like

Posted 21 August 2014 - 06:17 AM

Xfce = nice. LXDE = not nice, and no longer developed (and LXQt is on development).

 

My two cents about lightweight desktop environments.


Edited by TheChubu, 21 August 2014 - 06:18 AM.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS