Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Linux kernel optimisations question

  • 17-06-2005 8:45am
    #1
    Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭


    Just wondering if a 686 specific kernel will be much better than a 386 kernel?

    Or a K7 specific one for AMD machines?

    What kind of performance difference would you be looking at? Are those extra instructions all that good at the kernel level?

    Thanks in advance.


Comments

  • Registered Users, Registered Users 2 Posts: 69,909 ✭✭✭✭L1011


    Khannie wrote:
    Just wondering if a 686 specific kernel will be much better than a 386 kernel?

    Or a K7 specific one for AMD machines?

    What kind of performance difference would you be looking at? Are those extra instructions all that good at the kernel level?

    Thanks in advance.

    Considering its basically no loss in compile time, its worth your while. 686 or higher optomisations should enable stuff like MMX optomised memcpy() support. K7 would let it use 3DNow!, which Intel's don't have, and so on

    Just never use i486 except on an i486; gcc makes terrible i486 code that runs slower on Pentium and higher than i386 code does..


  • Registered Users, Registered Users 2 Posts: 1,419 ✭✭✭nadir


    yeah, you should be able to alter the makefiles too if u want and add in whatever optomisations u want, or set em in bash. I'm not sure, play aruond with it, but yeah go for i686 for sure,


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    It won't make a dramatic difference, but it won't do any harm. One thing certainly worth compiling for your processor, tho, is mplayer. The version that comes with most distrobutions is very cautious of using SSE and so on, especially on a processor it doesn't know about (default mplayers tend to refuse to use most extensions on an AMD64).


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Ok, I'm starting to get it now.

    Actual runtime differences will be determined by whether or not I've compiled specific applications to use the extra instructions. Ok, that makes sense. My original question was specific to just upgrading the kernel (there's an apt-get-able K7 kernel), and how that on its own would improve anything, but rsynnott answered that with "not much". :)

    Thanks.


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    There are of course exceptions to the "not much". If you use kernel-space VPN and have a Via C3, for instance, it might certainly be of interest.


  • Advertisement
Advertisement