LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel speed patch (https://www.linuxquestions.org/questions/linux-software-2/kernel-speed-patch-67791/)

watashiwaotaku7 06-24-2003 04:50 PM

kernel speed patch
 
does anyone know where to get the speedup patch for 2.4.20? it was originally a part of 2.5.x and also is that built into 2.4.21?

jharris 06-24-2003 04:59 PM

If its in 2.4.21 whats stopping you from going to 2.4.21 instead of trying to find a patch against 2.4.20?

cheers

Jamie...

watashiwaotaku7 06-24-2003 05:27 PM

i dotn knwo if its in 2.4.21 thats a second question...if it s in 2.4.21 then i plan to do exactly that the specific patch im referring to has to do wiht kde and xmms (or at least thats where the problem is worst) where fi you wiggle windows in kde xmms will skip but it affects all X systems and so thats what im looking for i know some members here have it and i wish i knew the actual name so it would be easier to find

watashiwaotaku7 06-24-2003 05:32 PM

ooh i found it good ol kerneltrap.org


Linux: Interactivity Improvements Backported Submitted by Jeremy on Thursday, April 10, 2003 - 00:12
By popular request, Con Kolivas [interview] has backported Ingo Molnar's [interview] earlier interactivity improvements [story] to the 2.4.20 stable kernel. The interactivity patch was first added as an enhancment to Con's desktop oriented patchset [story] in 2.4.20-ck4. I immediately downloaded the patch myself and gave it a try, disappointed to discover it was less responsive than Con's plain -ck4 patchset. By switching tab views in GnuCash I could consistently skip music that was playing with XMMS, something I've rarely experienced since I started using Con's patchset back in September. The only improvement I noticed was that the system responded very well when performing the less-than-scientific "wiggle test" (grab a window and wiggle it around on the screen quickly).

Fortunately, 48 hours later Con has released 2.4.20-ck5, adding a host of improvements. I quickly compiled a new kernel with his -ck5 patch and Rik van Riel's [interview] rmap15e VM applied, and then booted into an improved desktop experience. I tried really, really hard to get XMMS to skip again on my aging PIII 550, but try as I might, it refused. And the system continued to respond well when performing the wiggle test. Con describes the desktop tuning changes he made:

"It became clear that even with the interactivity changes audio skipping could occur so I've added some more desktop tuning to this version far less drastic than the previous kernels. The desktop tuning patch just changes a few of the default settings and these are all able to be modified at config or after boot if so desired."

Con goes on to list the three options that he modified. In -ck5, the Hz is set to 500, the minimum timeslice is set to 2ms, and the maximum timeslice is set to 40ms. Find Con's latest patchset on his kernel patch homepage. The newly added FAQ offers more information.

thats for anyoen else out there thats interested as you can see its supposed to help a lot, althuogh if anyone knows i would really like to know if its been merged into the vanilla 2.4.21 (also in response to the other thought of just switching to 2.4.21 im looking at reports now that its not near as stable as 2.4.20 so i dont know if ill switch anytime soon)

jeremy 06-24-2003 05:33 PM

If you are referring to the O(1) scheduler it is in the -lq kernels.

--jeremy

watashiwaotaku7 06-24-2003 05:55 PM

thanks ill try the -lq patch and ill try the ck patch and use the benchmark program he has to compare, i think i might also try it against the latest 2.5.xx just for fun and post the results here for anyone interested


All times are GMT -5. The time now is 09:20 PM.