The myth of Linux tweaking

Discussion in 'all things UNIX' started by Mrkvonic, Apr 28, 2014.

Thread Status:
Not open for further replies.
  1. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,223
  2. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,466
    Tweaking, no. Workarounds for bugs, yes.

    e.g. There was a bug in the earlier 3.x kernels with transparent hugepage support, for instance, that would cause the desktop to lag hugely when copying files to or from a USB device on many machines. Turning off transparent hugepages would invariably fix it. And maybe 50% of distros shipped with affected kernels and transparent hugepages turned on at that time. Whoops.

    Most Linux distros, especially corporate ones like SUSE, have always had rather poor quality control IMO.

    (And let's not get started on eyecandy and desktop bloat, which IMO is responsible for 95% of the current issues with desktop Linux.)

    Edit: tl,dr tweaking is a myth, bad default settings are not.
     
  3. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,223
    You're talking about madvise, always and never setting for THP, yup. A different category.
    Mrk
     
  4. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    There is a lot of heresay when it comes to tweaks. Yes logically based on documentation various tweaks and settings are faster, but they are seldom backed by real world before/after measurements so show there was a limitation in place to need improving upon.
     
  5. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,466
    Re the OP, one of the general rules of programming is that optimizations won't get you nearly as far as using better algorithms. A compiler can't squeeze O(n) performance out of an O(n^2) algorithm.

    IMO one can generalize that rule to desktop computing. You can't get good performance out of slow software; you have to find faster software.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.