Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16770 - gentoo/*-sources should NOT default to major VM/scheduler changes
Summary: gentoo/*-sources should NOT default to major VM/scheduler changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 16:46 UTC by Brad Laue (RETIRED)
Modified: 2003-04-15 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Laue (RETIRED) gentoo-dev 2003-03-03 16:46:26 UTC
The current practice of replacing the VM and scheduler with those that are
ad-hoc benchmarked on the LKML is unsafe and will cause definite stability
problems for users of gentoo-sources.

Patches such as -rmap, preempt, and low-latency should be optionalized through
the use of USE flags.

Additionally, none of the additional options in the kernel should be enabled at
all. It should be up to the user to enable items in the kernel config that are
added by the patchset of gentoo-sources. This is currently not the case.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2003-03-03 17:10:03 UTC
Don't think I agree with you, but I'll pass the bug to our kernel devs.
Comment 2 Brandon Low (RETIRED) gentoo-dev 2003-03-03 17:12:58 UTC
go away, I don't like you.

but seriously... every major linux distribution at this point uses O(1) scheduler, and preempt, and most use rmap... I have dropped rmap from the current gentoo sources development for some of these reasons, but believe me NOTHING is done ad-hoc in creating the gentoo-sources, generally a new gentoo-sources has at least a 1 month testing period as lolo-sources, and another several weeks -1 month of testing in unstable before it is released as a final stable gentoo-sources.
Comment 3 Joel Hill (RETIRED) gentoo-dev 2003-03-03 19:08:58 UTC
hehe i concur love ya work Lostlogic
Comment 4 Stewart (RETIRED) gentoo-dev 2003-03-04 12:50:18 UTC
I tend to agree. Is there a chance Gentoo can make its generic, ie; 
gentoo-sources, kernel more vanilla, and have the additional (unstable, untested,
new, etc.) features existing in a different kernel?

As someone who is attempting to replace binary distributions on small servers
with Gentoo, it's rather unnerving knowing that there are potential scheduling
issues on the horizon.
Comment 5 Brandon Low (RETIRED) gentoo-dev 2003-03-04 12:55:47 UTC
OK, lets reopen this for discussion... (more to be said after re-assigning)
Comment 6 Brandon Low (RETIRED) gentoo-dev 2003-03-04 13:10:05 UTC
Ok lets talk about this.  Currently we have created and plan to maintain gs-sources "gentoo-stable or gentoo-server sources" this package will be designed for those where the utmost in interractive performance isn't critical, but stability IS.  Does that satisfy the goal tha tyou are looking for?  The gentoo-sources are spefically designed with interractive performance in mind, that sometimes comes at a minor cost to stability, but gentoo is all about custom performance and such.  Thanks.
Comment 7 Brad Laue (RETIRED) gentoo-dev 2003-03-04 13:22:18 UTC
A workstation and server kernel config. I think that's a great idea.

In fact I'd like to begin testing this on a server I have here alongside
lolo-sources.

I note in the ebuild for the latest gentoo-sources is an explanation of 
KERNEL_EXCLUDE=; is this a reliable means of removing certain patches,
or do some of the patches depend on others by any means?
Comment 8 Stewart (RETIRED) gentoo-dev 2003-03-04 13:25:52 UTC
Ok, that sounds like a great idea, but it looks like the "patch first" mentality
has already taken hold. From the gs-sources ChangeLog I already see;

        - Preempt added
        - Low Latency added

While these patches are somewhat extensively tested, they haven't been tested/proven enough to be included in the currently stable kernel tree. Are they really ready to be considered server grade, or could servers live without 
them until they've been put through the wash a little more?

My ideal for a "stable" kernel is to patch it with as few updates to the vanilla
tree as possible and leave it at that.
Comment 9 Brandon Low (RETIRED) gentoo-dev 2003-03-04 13:37:55 UTC
The 'gentoo-x86 kernel team' has just been completely reorganized... we are discussing and preparing new sets of goals for each of the x86 kernels in portage and will keep people up-to-date

KERNEL_EXCLUDE is limited as you divined by the dependence of patches on eachother.  For my server I actually am running a HEAVILY excluded version of gentoo-sources, but still including o(1), preempt, and lowlatencey.  These patches (in my opinion) are heavily tested enough to be included in a server grade kernel.  2 of the three have been accepted by Linus for 2.5, and RH, SuSe and other distros also use O(1) and preempt in their kernels.

As for a "patch-first philosohpy" we are working hard as I've said to give gentoo users high kernels that are as feature rich as possible while preserving stability.  
Comment 10 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-04 14:46:34 UTC
well, we will definitely have a stable desktop/workstation branch & a stable server branch. 
then we will also have a unstable (read testing) desktop/workstation & the same for server. 
this will allow for a user to test/use the latest/bleeding edge stuff in unstable branches and 
hopefully provide a more solid sane kernel in the stable branches for those who are in 
production enviroments. 
 
but *first* i am cleaning the current lolo/gentoo-sources and will build from there. 
i will have pre5 of lolo based on this and out later this week. i am also looking to how we can 
get a fixed gentoo-sources 2.4.20-r2 released soon thereafter. 
Comment 11 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-15 17:53:39 UTC
this was fixed in gentoo-sources-2.4.20-r2 
 
Jay