{"id":180,"date":"2007-10-17T13:10:22","date_gmt":"2007-10-17T18:10:22","guid":{"rendered":"http:\/\/www.graphics-muse.org\/wp\/?p=180"},"modified":"2007-10-17T16:25:08","modified_gmt":"2007-10-17T21:25:08","slug":"fedora-7-performance-issues","status":"publish","type":"post","link":"https:\/\/www.graphics-muse.org\/wp\/?p=180","title":{"rendered":"Fedora 7 performance issues"},"content":{"rendered":"<p>I&#8217;ve upgraded pretty much all my systems, both at home and at work, to F7 now.&nbsp; I&#8217;m not completely pleased with it &#8211; the issues with the intel driver on my laptop are still a problem.&nbsp; But something that is more prevalent across all machines is general, perceived performance.&nbsp; I believe the perception of degraded performance is desktop related &#8211; GNOME is getting bulky.&nbsp; That&#8217;s the problem when you want world domination &#8211; the world is full of idiots and you&#8217;re trying to make the complex easy to use, so you add more code.&nbsp; <\/p>\n<p>Well, ignoring my pulpit for a moment, I did a little research on trying to improve the performance of the system.&nbsp; The kernel itself &#8211; 2.6.22 after updating F7 to the latest patches &#8211; is likely fairly well configured.&nbsp; The CFQ scheduler is the default scheduler for Fedora kernels, so that should help.&nbsp; It appears that SMP is enabled by default in these kernels as well (they&#8217;ve dropped the separate SMP kernels apparently, or at least I don&#8217;t see any non-SMP kernels).&nbsp; That&#8217;s fine for my systems at work which have multicore processors but at home I&#8217;ve got nothing but single core processors.&nbsp; So I might want to look at rebuilding the kernel for non-SMP support.&nbsp; <\/p>\n<p>Processor specific support may help some here as well, but I&#8217;m not quite sure what specifics the hardware might have that can be added.&nbsp; I&#8217;ve got Xeon&#8217;s, P4&#8217;s, AMDs and VIA processors and with the exception of the VIA (Nehemiah) I&#8217;m pretty sure there isn&#8217;t much I can do to squeeze better performance out of the stock F7 kernels.<\/p>\n<p>General OS configuration can be cleaned up, starting with the enabled services.&nbsp; Few desktop users are still using sendmail, so turn that off.&nbsp; And I&#8217;m not really clear why I need nasd, the network sound daemon.&nbsp; KDE apparently uses it, but does GNOME?&nbsp; So far, I can see now problems with disabling it.&nbsp; I found a very useful web page for describing <a href=\"http:\/\/www.mjmwired.net\/resources\/mjm-services-f7.html\">what all the services are<\/a>.<\/p>\n<p>One other trick I found is to reduce the default &quot;swappiness&quot; of the kernel.&nbsp; The sysctl variable vm.swappiness is set to 60 by default (run <em><font color=\"#993300\">sysctl vm.swappiness<\/font><\/em>).&nbsp; This value ranges from 0 to 100 and tells the kernel what weight it should put in whether to swap to disk or try to run from memory.&nbsp; The default value is fine for 256MB or maybe even 512MB memory boxes, but if you&#8217;ve got 1 or 2GB, you might want to lower this.&nbsp; I&#8217;ve lowered it to 15 (run <em><font color=\"#993300\">sysctl -w vm.swappiness=15<\/font><\/em>) but so far can&#8217;t really tell the difference.&nbsp; Still, I&#8217;m not using the system as fully as I will be when I get past upgrading and back into development work.&nbsp; It&#8217;ll be interesting to see how the system performs with me bouncing around virtual desktops with Java compiles running, JBOSS running, Xine running (I listen to movies while I work) and Evolution and Firefox running.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve upgraded pretty much all my systems, both at home and at work, to F7 now.&nbsp; I&#8217;m not completely pleased with it &#8211; the issues with the intel driver on my laptop are still a problem.&nbsp; But something that is more prevalent across all machines is general, perceived performance.&nbsp; I believe the perception of degraded [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1,5],"tags":[634,48,43,635,49],"class_list":{"0":"post-180","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-general","7":"category-linux","8":"tag-fedora","9":"tag-gnome","10":"tag-intel","11":"tag-java","12":"tag-kde","13":"czr-hentry"},"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe9t8-2U","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=180"}],"version-history":[{"count":0,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/180\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}