LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-11-2012, 08:12 AM   #1
never-never-land
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
Lightbulb Service Management?


Hi guys, it's a bit long - try to bear with me...
ever since I started to get to know Linux, I had a chance to try numerous distros and I noticed that most of them (since they're all based on linux kernel) don't have any performance difference other the one you get using a Various D.E. (i.e. gnome, Xfce...).
Yet there are 2 distros that seems to have an extra edge over the others: Sabayon & Ubuntu, while sabayon gives the fastest raw performance, Ubuntu has a uniqe way of dealing with multitasking meaning I can open many tasks in the background yet my PC would barely slow down or lag, but the really interesting part is that in every other OS/distro when your PC starts lagging you have to immediately stop executing more task! - in Ubuntu on the other hand even if I keep executing tasks it's eventually catching up the pace (relatively quick).
I read that both use different kinds of "Service Management Facility": OpenRC (sabayon), Upstart (ubuntu). and I'm curious whether this is the cause of that behaviour or is it something else?

would appreciate any help or guidance on that matter!
tnx in advance
 
Old 07-12-2012, 01:08 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and welcome to LinuxQuestions,

The way your daemons/services get managed can have a great impact on your systems performance. Ubuntu's Upstart is an improvement over standard SysV init scripts. OpenRC simply uses SysV, the advantage is a well designed collection of startup scripts that use common components for as far as I've found (never used it myself). But for completeness sake you should also look at Systemd, standard on Fedora 17 which is the new kid on the block and has some great advantages over SysV init scripts. Some discussion on systemd can be found here. A very complete systemd administration manual can be found here.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
1 members found this post helpful.
Old 07-12-2012, 03:03 AM   #3
never-never-land
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thumbs up

thanks u very much! this is highly interesting me...
 
Old 07-12-2012, 04:01 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by never-never-land View Post
I read that both use different kinds of "Service Management Facility": OpenRC (sabayon), Upstart (ubuntu). and I'm curious whether this is the cause of that behaviour or is it something else?
Hmmm, I haven't done any testing on this particular issue, but I have my doubts about it being upstart.

Firstly, as far as systemd is concerned, it is quite a lot 'cleverer' than the traditional Sys V init (and cleverer here is a distinctly double-edged sword - to be frank, I don't look forward to debugging it, when it goes wrong), but its primary advantage is that the computer should boot more quickly. I'm not sure how upstart will survive, now systemd is on the block; from what I remember, Ubuntu was the only major distro that had committed to upstart, and, if systemd is trouble-free it seems to be likely to get more converts. Note that 'if' though.

So I think that there is a strong case for considering whether it might be something else.

Quote:
Originally Posted by never-never-land View Post
Yet there are 2 distros that seems to have an extra edge over the others: Sabayon & Ubuntu, while sabayon gives the fastest raw performance, Ubuntu has a uniqe way of dealing with multitasking meaning I can open many tasks in the background yet my PC would barely slow down or lag, but the really interesting part is that in every other OS/distro when your PC starts lagging you have to immediately stop executing more task!
...first report of Ubuntu as a speed demon, in the Unixy-world... That's worth noting.

Firstly, this kind of behaviour is likely to be influenced by 'swappiness', pre-load, and whether swap is occurring. Whether swap is occurring depends primarily on how much memory is in your current working set and how much ram you have. Your working set depends on the general bloat factors (what services and how many, you are running, which is under the influence of the distro and their attitude to 'stripped bare' vs 'everything you want, already there', and the GUI which can vary from an absolute memory hog to rather less so, and even to how the gui is configured).

Playing with 'swappiness' is a quite frequent hobby amongst Ubuntu users; I think that the easiest summary is that there is no free lunch here; a value of swappiness that is likely to make things better under one set of circumstances may make things worse (alternative; make things dramatically worse) under some other set of circumstances. So, if you fancy making things better under the 95% circumstance of normal usage, but rather worse in the exceptional overload conditions, this is probably something you want to try playing with.

Pre-load allows you to do some of the work of loading common apps on boot up, so that they appear to start faster, when you do get around to clicking on the icon. Again, somewhat deceptive as you are sacrificing time at boot/initialisation for an advantage later on, but this is probably a trade-off that is worth making for many people.

(note: 'have enough ram' is probably the only performance tip that most people need. Measuring whether you have enough ram is one of the first things that you should do if there are any performance issues, and obviously that depends, amongst other things, on how much 'bloat' you are running. Also note that while 'bloated' GUIs have an impact on the amount of memory needed, if you need 4 Gigs for the applications that you are running, no choice of GUI in the world will make that into 3 Gigs).

For Sabayon, Gentoo (the distro, not the file manager) and friends there is another factor - you compile for your particular processor, rather than accepting a 'lowest common denominator' build for a more common processor. This is nice, but in common usage, it doesn't really make a night-and-day difference; have a look at the testing that Phoronix does from time-to-time in order to learn more (there are some special cases where there can be a noticeable gain, but it doesn't affect the normal experience).

In fact, it is usually said that 'having control' is more important than 'custom compilation', but that rather depends on how much you can leave out because you know exactly which services that you need to run and which you can omit - if you are going to include this service, and that service and the other service because you don't know whether you'll end up needing them, then this won't really be a big gain.

There is more to be gained by ensuring disk mounts are sensible (noatime, or similar), but most distros do that by default, these days, and by choosing a sensible partition type (again, often 'right' by default, these days, but not guaranteed).

And there are also 'reversions' (sometimes incorrectly described) with kernel versions, and those will affect all distros which use the affected versions, so there isn't really any 'Distro X is better than Distro Y' advantage here - all distros that use a late 2011 kernel will get whatever is in a late 2011 kernel, with the exception of the enterprise-style distros that are using much older kernels with subsequent patches backported, with whatever advanatges or disadvantages that brings. Look again at Phoronix, where you can see that small advances or regressions (a regression is arguably the wrong description for a situation in which a data security issue is fixed, but performance reduces as a consequence, when it is primarily used to mean 'something went wrong') are really quite common.

This all makes it difficult to take a 'Distro X is faster than Distro Y' report at face value without knowing the kernel versions, and all sorts of details about how they were set up, whether that is about the defaults, which may be different, or whether it is about what settings have been 'tweaked' as a result of personal preference or prejudice.
 
1 members found this post helpful.
Old 07-12-2012, 05:34 AM   #5
never-never-land
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
hey salasi, tnx for your reply - it's very educating.
I'd like to mention a few more things while I'm at it (see if I can clarify a few things for myself), nowadays I'm runnig Intel® Core™ i7-2600K CPU @ 3.40GHz × 8 cpu's (8GB RAM).
and I noticed that my system uses about 10% of the memory available when resting, and when I push it to extreme (that's how I did my tests on other OS/distros) meaning for example: moving files (50GB) from linux partition to windows partition while in the background I'm opening an HD movie and usually if the system still functioning I just keep opening more tasks to see where is the limit of the limit of the distro. while it may not be the best scientific way to measure performance - it had proved itself quite practical for me...
So back to the memory usage- I noticed that even though the CPUs % starts to incline and the movie/s isn't playing smoothly the memory is merely affected, it only gets to 13/14% usage, my guess was this is because it's related to proccessing power, yet I still get differnt visual results (smoother movie,opening tasks quicker, etc...) in Ubuntu than other distros?
In Sabayon on the other hand moving files from one partition to another is quicker, or simply opening an individual task is faster (it's like it focuses on something to do it the best).
This is why I think the way these distros manging services is critical to the performance issue.
moreover what I'm interested in is to know how can I maximize the way my OS utilize the PC potential power (multicore in my case) - these is actually where I'm heading with these questions I guess...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm looking for a web-based open source service management system? quanta Linux - Software 1 10-27-2010 03:45 AM
LXer: Better Service and Website Management (with gModu) LXer Syndicated Linux News 0 10-02-2010 04:00 AM
LXer: Service Providers Switch to Open Source Management Tools LXer Syndicated Linux News 0 12-16-2008 04:10 AM
service management cbalaji Linux - Software 0 01-19-2004 10:02 AM
remote system service management sooraj_pathe Linux - Software 1 01-19-2004 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration