Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th June 2012, 02:34 AM
rich52 Offline
Registered User
 
Join Date: May 2009
Posts: 144
linuxchrome
How to improve system speed?

I running KDE F17 on a 6-core AMD with 16-gig ram with 2-hard drives using volume management . Video card is a Nvidia 520 with 2 gig ram.

What services should I turn off on the system to speed up the boot and launch times? I'm sure I've got too many services running in the background that need to be turned off. Any way to maximize the physical usage of all physical 'ram' on the system? The swap drive partition on the hard drive see's very very little usage.

Any idea's, helpful suggestions will be appreciated. I always interested in running a 'mean' and 'lean' running machine that offers the best in performance.

Rich
Reply With Quote
  #2  
Old 6th June 2012, 03:38 AM
Mariusz W Offline
Registered User
 
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690
linuxepiphany
Re: How to improve system speed?

Quote:
Originally Posted by rich52 View Post
I running KDE F17 on a 6-core AMD with 16-gig ram with 2-hard drives using volume management .

(...)

Any idea's, helpful suggestions will be appreciated. I always interested in running a 'mean' and 'lean' running machine that offers the best in performance.
Your declaration doesn't square well with running KDE. Did yo consider using another desktop environment (e.g., fluxbox, Openbox)?
Reply With Quote
  #3  
Old 6th June 2012, 03:42 AM
ah7013's Avatar
ah7013 Offline
Registered "Cashew" User
 
Join Date: May 2010
Location: Adelaide, Australia
Age: 18
Posts: 614
linuxkonqueror
Re: How to improve system speed?

Maybe try disabling Nepomuk/Strigi?
__________________
Running Mageia 3 (KDE 4.10) on an ASUS K55V (Core i5, 16GB RAM, 750GB HDD, Nvidia 610M)
Reply With Quote
  #4  
Old 6th June 2012, 05:18 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: How to improve system speed?

Run
Quote:
systemd-analyze blame
then selectively disable those top time using services you're not using, frequent ones to remove:


sendmail.service
sm-client.service
lvm2-monitor.service (you don't need this if you don't use LVM )

There are lists on the forum and in google about which ones you can drop
Reply With Quote
  #5  
Old 6th June 2012, 05:24 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxfirefox
Re: How to improve system speed?

I guess he uses lvm, as he stated:
Quote:
with 2-hard drives using volume management .
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #6  
Old 6th June 2012, 05:41 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by sea View Post
I guess he uses lvm, as he stated:
The only good way is to run the systemd-analyze and take the top few time hogs and research which ones you can turn off. I think google searches will turn up some good blog posts that run through some good ones to remove for most people, this page is pretty good:

http://freedesktop.org/wiki/Software.../Optimizations

I don't recommend his bullet 2 (removing usage of initrd) I tried that and got an non-booting system
Reply With Quote
  #7  
Old 6th June 2012, 05:48 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 857
linuxopera
Re: How to improve system speed?

Fedora 17 Boot Optimization (from 15 to 2.5 seconds)

I didn't follow this guide yet. Better you try it first and if it works without big disadvantages I might give it a try somewhen
Reply With Quote
  #8  
Old 6th June 2012, 06:28 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by rich52 View Post
I running KDE F17 on a 6-core AMD with 16-gig ram with 2-hard drives using volume management . Video card is a Nvidia 520 with 2 gig ram.

What services should I turn off on the system to speed up the boot and launch times? I'm sure I've got too many services running in the background that need to be turned off. Any way to maximize the physical usage of all physical 'ram' on the system? The swap drive partition on the hard drive see's very very little usage.

Any idea's, helpful suggestions will be appreciated. I always interested in running a 'mean' and 'lean' running machine that offers the best in performance.

Rich

Yes use systemd-analyze blame and systemd-analyze plot > /tmp/foo ; firefox /tmp/foo to see WHERE The tourble is (if anywhere).

BUT be VERY VERY careful about that "boot in under 3 seconds" link. It will not work for your "volume management" if you mean LVM and it will destroy system security.

Start by listing the services enabled and stop any that you are certain you don't need.
No one can decide for you. Do you need or want sendmail ? Do you need or want NFS ?

Install the package systemd-gtk and try the systemadm gui instead of systemctl.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #9  
Old 6th June 2012, 06:55 PM
sillav Offline
Registered User
 
Join Date: Apr 2011
Posts: 133
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by rich52 View Post
I running KDE F17 on a 6-core AMD with 16-gig ram with 2-hard drives using volume management . Video card is a Nvidia 520 with 2 gig ram.

What services should I turn off on the system to speed up the boot and launch times? I'm sure I've got too many services running in the background that need to be turned off. Any way to maximize the physical usage of all physical 'ram' on the system? The swap drive partition on the hard drive see's very very little usage.

Any idea's, helpful suggestions will be appreciated. I always interested in running a 'mean' and 'lean' running machine that offers the best in performance.

Rich
What a world we live in, where the above specs still feel sluggish to the op. Can you imagine openbox or fluxbox on such a machine? Openbox feels instantaneous on a celeron with 512 mb. It would likely be prescient on that machine.

You can delete unnecessary packages, disable some services and tweak some gnome settings. You can tune your swappiness to maximize the use of ram, though, to be honest, I have 3 GB and gnome uses about 298 mb booted up and ready to go. Only time I use all my ram is encoding or gimping. So do some stuff like that to maximize it
Reply With Quote
  #10  
Old 6th June 2012, 07:15 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by sillav View Post
What a world we live in, where the above specs still feel sluggish to the op. Can you imagine openbox or fluxbox on such a machine? Openbox feels instantaneous on a celeron with 512 mb. It would likely be prescient on that machine.
Agreed about openbox, and lxde feeling instantaneous. xfce only a little slower. I've seen instances where Gnome takes 15+ seconds from password to a ready screen on reasonably fast hardware; but that's the price they pay for EXcess.

BUT note he says it's a little slow booting and launching.

Quote:
You can delete unnecessary packages, disable some services and tweak some gnome settings. You can tune your swappiness to maximize the use of ram, though, to be honest, I have 3 GB and gnome uses about 298 mb booted up and ready to go. Only time I use all my ram is encoding or gimping. So do some stuff like that to maximize it
delete unnecessary packages = NO speed impact.
disable some service = Yes that's the main issue.
No idea if there are any gnome settings that improve speed.
You can tune your swappiness to maximize the use of ram ... = This is usually terrible idea. Most ppl have no clue of the consequences. The defaults are great, and decreasing swappiness mean you have loads of stale data using DRAM which must then be slowly removed when the squeeze comes. So when you need to swap you're not just boned, you're roasted. Anyway this guys isn't close to swapping anything.


He needs to see what EXTRA services are running.
See what if anything is eating CPU time (sar htop, audit).
See what is using DRAM (free, htop, ps).
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 6th June 2012 at 07:18 PM.
Reply With Quote
  #11  
Old 6th June 2012, 09:14 PM
William Haller Online
Registered User
 
Join Date: Jul 2005
Age: 52
Posts: 1,013
linuxchrome
Re: How to improve system speed?

I'd also recommend pulling up system settings from the KDE menu, selecting desktop effects, and going through the all effects list and turning off all the eye candy you don't really need. You can make KDE a lot snappier if it isn't working as hard drawing your desktop without going to the extremes of a minimalist window manager.

I'll second getting rid of nepomuk and stringi - in the Desktop Search part of system settings.
Reply With Quote
  #12  
Old 7th June 2012, 06:29 AM
sillav Offline
Registered User
 
Join Date: Apr 2011
Posts: 133
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by stevea View Post
delete unnecessary packages = NO speed impact.
disable some service = Yes that's the main issue.
No idea if there are any gnome settings that improve speed.
You can tune your swappiness to maximize the use of ram ... = This is usually terrible idea. Most ppl have no clue of the consequences. The defaults are great, and decreasing swappiness mean you have loads of stale data using DRAM which must then be slowly removed when the squeeze comes. So when you need to swap you're not just boned, you're roasted. Anyway this guys isn't close to swapping anything.
As to the first, we'll have to agree to disagree. There are things that get started up by the desktop that aren't services, (systemd sense) and removing them will help improve the startup time and responsiveness fo the desktop. In addition, removing unnecessary plug-in packages should help with start-up time of applications that allow optional loading of plug-ins. More importantly though, is how it relates to the second point of disabling services. I'm a big believer in that you should never disable that which you can remove. Don't need sendmail? Don't disable it, remove it. On bad shutdowns my root partition is about 1gb smaller than it would be based on a default install, which means my fscks go that much faster.

The last you seem to be in the minority of opinion. The only evidence I've ever seen you provide for your opinion is a pithy statement from a kernel developer from the lkml in the early 2000's. A basic google search will turn up reams of advice that runs contrary that your statement, from a variety of sources, all in the past 5 years. I would not at all be surprised to see him run a free -m after an hour of nothing but web browsing, and see stuff swapped out. Which is entirely the point with respect to tuning swappiness. There are other benefits, ie., ssd's, but as he never mentioned having them there isn't much point to going on with it.
Reply With Quote
  #13  
Old 7th June 2012, 09:37 AM
Adunaic's Avatar
Adunaic Online
Registered User
 
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 883
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by stevea View Post
It will not work for your "volume management" if you mean LVM and it will destroy system security.
I am being ignorant here, but what in that affects system security?
Reply With Quote
  #14  
Old 7th June 2012, 11:41 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: How to improve system speed?

Quote:
Originally Posted by sillav View Post
As to the first, we'll have to agree to disagree. There are things that get started up by the desktop that aren't services, (systemd sense) and removing them will help improve the startup time and responsiveness fo the desktop.
Be specific. You sound like someone involved in voodoo instead of managing deterministic machines.
There are all kinds of "THINGS" that get executed before you see a desktop, but ignorantly removing packages at whim is not an approach to solve a problems. Many packages can't be removed. Instead you need to see what if anything is causing a delay - and CONFIGURE it, not REMOVE it.

Quote:
In addition, removing unnecessary plug-in packages should help with start-up time of applications that allow optional loading of plug-ins. More importantly though, is how it relates to the second point of disabling services. I'm a big believer in that you should never disable that which you can remove. Don't need sendmail? Don't disable it, remove it. On bad shutdowns my root partition is about 1gb smaller than it would be based on a default install, which means my fscks go that much faster.
Sendmail is getting used whether you know it or not. You may have mboxes of admin messages building up awaiting transfer. It can be replaced with something light llike ssmtp, or you can find the sources for all the messages (mostly within cron) and fix them. Otherwise you are using a hatchet to do surgery. Brute force, with ignored side effects. Anyway Fedora has a lot of creeping package dependencies than make removal impossible in many cases.

If gaining faster fsck's is an issue, your priorities are all wrong. Stop the crashes.

No - you CONFIGURE your system to do just what you want. Again - give us a real word example of some plugin load that causes substantial delay - and NAME it and measure it and then ppl can rationally decide way if they do or don't want to pay the price. You are making "shotgun approach" a virtue; it's not.

Yes if you have an UNUSED package you COULD remove it (is it worth the time and effort to recoup 50MB on disk?) but that is not an administration method.

Quote:
The last you seem to be in the minority of opinion. The only evidence I've ever seen you provide for your opinion is a pithy statement from a kernel developer from the lkml in the early 2000's.
Yes I am in the minority - I've worked kernel code for years; I understand the issue.

Quote:
A basic google search will turn up reams of advice that runs contrary that your statement, from a variety of sources, all in the past 5 years. I would not at all be surprised to see him run a free -m after an hour of nothing but web browsing, and see stuff swapped out. Which is entirely the point with respect to tuning swappiness. There are other benefits, ie., ssd's, but as he never mentioned having them there isn't much point to going on with it.
A million ignorant opinions ... well they must be right then That's how democracies operate, but it has nothing to do with deductive reasoning and deterministic systems.

You argument aren't even rational. WHY do you imagine the proper swappiness settings has changed in the past 10 years ? It hasn't - that's nonsense. The difference is that the creation of this feature was first to benefit of professionals who actually analyze their systems operation, and later the goobers come along and post ignorant opinions about setting swappiness to 10.

Why not create a test load that mimics your day to day use - and measure performance it at various swappiness settings. It's been done before if you search. Yes there are cases where even very low swappiness is an improvement, but it's not common. When swapping occurs, then a higher swappiness figure is a big advantage. When swapping doesn't occur then a lower figure is an advantage. But in practice a middle figure that doesn't create too much excess disk activity but still keeps a lot of pages free-able is best.

If you KNOW you'll never use all memory and you have enough mem for all apps and extra for buffers - then go ahead an set swappiness to 0. I've got 8GB on my laptop and I swap whenever I do system builds. If I have 16GB I'd still swap. But my performance during the build is a LOT better since I have swappiness at 60.




Quote:
Originally Posted by Adunaic View Post
I am being ignorant here, but what in that affects system security?
http://www.harald-hoyer.de/personal/...5-to-3-seconds

He gets rid of firewalls and selinux to improve boot time. Some of his actions would appear to harm system performance to gain boot seed. That's not a realistic system.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #15  
Old 7th June 2012, 01:22 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxchrome
Re: How to improve system speed?

A list of some good explanations of the services are to be found here:
http://www.ihackforfun.eu/index.php?...oving-services

And to work yourself into SystemD, you might want to read the 4 pages (add the ending 1 to 2,3,4:
http://0pointer.de/blog/projects/sys...-admins-1.html

Also, i have written a script, that asks what things you use, so, as far you know what you're doing, and giving the 'proper' answers, it should help:
st tweak services

http://sea.hostingsociety.com/?p=Scr...c=Installation
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb

Last edited by sea; 7th June 2012 at 01:25 PM.
Reply With Quote
Reply

Tags
improve, speed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
real cpu speed: /proc/cpuinfo incoherent with /sys/device/system/cpu/cpu?/cpufreq Marcuccio Hardware & Laptops 1 25th April 2011 07:03 PM
Upgraded to FC14 from FC12 - system fan blows full speed constantly luminarycrush Using Fedora 2 2nd January 2011 07:26 PM
How to improve Firefox rendering speed? tirant Using Fedora 6 26th January 2010 05:51 PM
Improve Firefox speed Wayne Guides & Solutions (No Questions) 1 6th October 2009 02:43 AM


Current GMT-time: 15:53 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat