Skip to contentSkip to conversation

That's the question!

ATTEND or not ATTEND Thomas Gleixner 18 participants 29 messages Jun 15, 2012 – Jul 17, 2012

lore
Share & tools
lore
#0 lore raw

Dear KS comittee,

like it or not, I really can't convice myself to adjust to the concept of selfadvertising.

So I stick to the traditional way of proposing topics for KS and let you decide whether the topic is interesting and my attendance is required.

As you might know I'm wasting^spending a lot of time to fight the steady growing insanity in the kernel code base. My current target is cpu hotplug, but that's just a place holder for a more general problem.

The steady increasing interest in Linux and the outcome of our quests to convince involved parties to contribute leads to a few interesting questions.

Thinking more about it, it all boils down to a single question:

Are we (the kernel community and the current maintainer setup) able to cope with the inflood of patches?

I for myself (admittedly I'm responsible for too much already, and I'm quite sure that other top level maintainers suffer in the same way) have a hard time to keep track of all the "interesting" bits which hit my inbox.

Sure one might argue that I should delegate responsibility to others to lower my workload.

I'd be happy to do that, really. I'm not a control freak and I really don't care about my patch count statistics (I never did, and I wish that this particular idiocy would have never been invented).

Also I have delegated stuff to a large degree already.

Though I have a hard time to find people who I can trust enough to take care of crucial core infrastructure bits.

Aside of that I see a (steady increasing) repeated pattern that potential contributors propose totaly clueless patches to "solve" a particular problem.

The time I spend on talking clue into those folks is at least an order of magnitude larger than coding it myself.

I'm pretty sure that this is not caused by my inabilty to explain stuff to those folks, but by the insanity of managers who believe that adding a random number of random chosen so called "human resources" (I abhor that phrase) will solve the problems at hand.

I know that the world and this industry in particular is driven by such insanities, but I can't commit myself to adhering to that.

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

- How do we prevent further insanity to known problem spaces (like cpu hotplug) without stopping progress?

A side question, but definitely related is:

- How do we handle "established maintainers" who are mainly interested in their own personal agenda and ignoring justified criticism just because they can?

Thanks,

tglx

#1 lore raw
Quoted 4 lines · Thomas Gleixner

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

That's a very good question, and I've been wondering if someone is trying to flood us with crap submissions just to try to DoS us and slow us down. If not, it's an interesting "attack" vector onto our development process that we need to be able to handle better.

Quoted 2 lines

- How do we prevent further insanity to known problem spaces (like cpu hotplug) without stopping progress?

Progress can slow, if we want it to, in some areas, just to let people get the time to fix up the issues we currently have. That saves time in the long run, but requires that someone make it very clear as to what is going on and how it will change in the future.

But, both of these are great things to talk about, I like it.

Quoted 5 lines

A side question, but definitely related is:

- How do we handle "established maintainers" who are mainly interested in their own personal agenda and ignoring justified criticism just because they can?

The wonderful, "how do we remove a maintainer who isn't working out" problem. It's a tough one, I don't think we really have any standard way. Luckily in the past, the insane ones went away on their own :)

greg k-h

#2 lore raw
Quoted 10 lines · Greg KH
Quoted 4 lines · Thomas Gleixner

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

That's a very good question, and I've been wondering if someone is trying to flood us with crap submissions just to try to DoS us and slow us down. If not, it's an interesting "attack" vector onto our development process that we need to be able to handle better.

I don't think it's a DoS attack.

Interestingly enough the embedded folks have pretty much got their gear together and are activly working on consolidation. They learned the hard way that just hacking more crap into the code is going to end in a disaster so they are activly watching out for other people working in the same area.

The folks who concern me more are in the enterprise space. There are moments where I start to believe that big corp managers have established a secret project to implement RFC2795.

While the embedded horror is and was mostly confined in SoC specific places, the enterprise flood is massivly targeted at the guts of the core kernel. That makes me increasingly nervous.

Quoted 7 lines
Quoted 2 lines

- How do we prevent further insanity to known problem spaces (like cpu hotplug) without stopping progress?

Progress can slow, if we want it to, in some areas, just to let people get the time to fix up the issues we currently have. That saves time in the long run, but requires that someone make it very clear as to what is going on and how it will change in the future.

Indeed, but sadly there are not enough maintainers who enforce that and trying to enforce it is a major challenge.

Even if people realize that there is a problem, the "we need to reach our milestones" mindset doesn't allow them to sit down and help with fixing it. Though that's not a Linux specific issue, but I wish that we as the kernel community could find a way to confine this global braindamage.

I've been doing continous cleanup work in the last decade and enjoyed it, though I'm starting to get increasingly frustrated and grumpy. It might be an age thing :) Though talking to Al Viro makes me certain, that it's not.

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Maybe that would give more people an incentive to care about the big and long term picture instead of basking in their short sighted "hack it into submisson" achievements. I know that it's the wrong reason when they don't realize the real thing themself, but the end justifies the means :)

Thanks,

tglx

#22 lore raw
In reply to Greg KH
Quoted 5 lines · On Fri, 15 Jun 2012 16:34:13 -0700 Greg KH <[email protected]> wrote:
Quoted 4 lines · Thomas Gleixner

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

One possibility perhaps is to throw insane stuff at submaintainers or folks learning that path. Once they've achieved some kind of sanity with the submaintainer then it can bother the real maintainer.

And for a lot of the insane stuff we should just say no (*). People can maintain it out of tree and there is a point at which some work is best done out of tree, and some specialist stuff is best kept out of the main tree if it harms the mainstream too much.

(*) politely. So not by taking lessons from Linus.

Quoted 4 lines

That's a very good question, and I've been wondering if someone is trying to flood us with crap submissions just to try to DoS us and slow us down. If not, it's an interesting "attack" vector onto our development process that we need to be able to handle better.

There are a small number of very large businesses that generate a lot of the money in the server space. They have individual needs and the money tends to drive chunks of kernel development. Thats both a bad and a good. The bad is they are trying to get it to do what they need, now and without planning for the long term properly. The good is that they are paying developers who otherwise might be working on other stuff.

It's a parallel IMHO of the "distribution people sucked everyone away and then realised they'd dug a huge hole" problem but with new actors.

We also have a large consumer electronics and now android ecosystem much of which is made up of companies and people whose business history and business model for all products has always been

- make it boot
- make it usable
- ship it
- run

they have little incentive to share, they have no interest in the longer term, and it's often not rational economics for them to clean up their code and upstream it because it just helps their rivals, and besides the part is now 6 months old so obsolete in their world.

For a lot of hardware the only way that is going to get fixed is if

a) it is easier to do the job right than hack it up
b) when the hardware vendors are more involved and have longer term plans
c) their customers start to demand it in order to be up and running very fast (ie there is heavy consolidation in the platform)

It's not in these little "hack it/ship it" houses interest to care about making a part work well long term, because they have no particular loyalty to any component or supplier, and can charge twice if they do the work twice anyway.

Quoted 7 lines
Quoted 2 lines

- How do we prevent further insanity to known problem spaces (like cpu hotplug) without stopping progress?

Progress can slow, if we want it to, in some areas, just to let people get the time to fix up the issues we currently have. That saves time in the long run, but requires that someone make it very clear as to what is going on and how it will change in the future.

There are also a couple of areas (chunks of VM perhaps is one) where it might actually be quicker to shoot the patient and breed a replacement. Possibly however that's one of the areas that getting someone mathematical involved to do more rigorous modelling of the behaviour might be better. I know looking at what comes out of the VM to the block layer.. it ain't pretty at times.

Quoted 7 lines

But, both of these are great things to talk about, I like it.

Quoted 5 lines

A side question, but definitely related is:

- How do we handle "established maintainers" who are mainly interested in their own personal agenda and ignoring justified criticism just because they can?

More often than not it's because they believe their agenda is right. E.g. I'm firmly of the opinion that 99% of users would be better off if we took all the current scheduler nonsense and replaced it with a lightly tweaked version of Ingo's original O(1) scheduler.

I don't think Ingo and Peter have "persona" agendas in this area they are doing what they think is right and dealing with the needs of big enterprise and where most of the money is.

I have a suspicion that two things are going to correct chunks of this over time anyway
- handheld/phone/tablet
- the need for very thin virtualisation

Quoted 3 lines

The wonderful, "how do we remove a maintainer who isn't working out" problem. It's a tough one, I don't think we really have any standard way. Luckily in the past, the insane ones went away on their own :)

We have current problems and they are often caused by the maintainer in question having other commitments that they consider more important (and probably are in some cases).

One thing that seems to be working well are all the areas that have two or more maintainers. As a simple statistical fault tolerance they don't generally both have newborns, get the flu, change job or get yanked into a critical customer problem by their employer on the same week.

Right now we are doing it for real in some areas, and via the "screw this, mail Andrew Morton" process for others, plus Linus fields some of the really dumb ones. We could formalise some of that a bit more and encourage more maintainers to actual team up with one of the other contributors they trust.

(And we probably need to clone DaveM or get him to delegate more 8))

And we need about ten extra GregKH's if anyone has spares

Alan
--
'Go go go Gregzilla'

#3 lore raw
In reply to Thomas Gleixner
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

jon

#4 lore raw
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 8 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

I fear there is no reliable automated way to measure that :)

#5 lore raw
In reply to Jonathan Corbet
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I have exactly the same feeling about that.

Quoted 3 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Well, that is very difficult to measure. I'd look for cases in which certain function calls and data types become more widespread.

#24 lore raw
In reply to Alan Cox
Quoted 9 lines · Alan Cox
Quoted 5 lines · On Fri, 15 Jun 2012 16:34:13 -0700 Greg KH <[email protected]> wrote:
Quoted 4 lines · Thomas Gleixner

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

Quoted 6 lines

There are a small number of very large businesses that generate a lot of the money in the server space. They have individual needs and the money tends to drive chunks of kernel development. Thats both a bad and a good. The bad is they are trying to get it to do what they need, now and without planning for the long term properly. The good is that they are paying developers who otherwise might be working on other stuff.

I don't think that is necessarily true. Most of the large businesses are interested in long term solutions: that's why they hire people rather then farming the work out to consultants.

The problem is that the internal cultures of those businesses isn't necessarily adapted to an open development model. Their focus is on a limited set of features that they can sell to customers, and so they get confused when you tell them "no, I don't want to have to implement 10 different variants of read/write to satisfy 10 different workloads, even if each one can be shown to produce a 2% performance increase".

The people who are aware of the Linux culture, tend to be the developers, since they are immersed in that culture and since we have programs for educating them (via workshops, conference tutorials, mailing lists, Linus's shouting...). It should be the responsibility of those developers to educate their program managers etc, and usually that will happen once the program managers realise that their projects are going nowhere with the maintainers...

Quoted 21 lines

We also have a large consumer electronics and now android ecosystem much of which is made up of companies and people whose business history and business model for all products has always been

- make it boot
- make it usable
- ship it
- run

they have little incentive to share, they have no interest in the longer term, and it's often not rational economics for them to clean up their code and upstream it because it just helps their rivals, and besides the part is now 6 months old so obsolete in their world.

For a lot of hardware the only way that is going to get fixed is if

a) it is easier to do the job right than hack it up
b) when the hardware vendors are more involved and have longer term plans
c) their customers start to demand it in order to be up and running very fast (ie there is heavy consolidation in the platform)

Quoted 4 lines

It's not in these little "hack it/ship it" houses interest to care about making a part work well long term, because they have no particular loyalty to any component or supplier, and can charge twice if they do the work twice anyway.

Right, but that is a different problem: that's about getting people to contribute in the first place, rather than the review issue that Thomas raised.

Quoted 13 lines
Quoted 3 lines

The wonderful, "how do we remove a maintainer who isn't working out" problem. It's a tough one, I don't think we really have any standard way. Luckily in the past, the insane ones went away on their own :)

We have current problems and they are often caused by the maintainer in question having other commitments that they consider more important (and probably are in some cases).

One thing that seems to be working well are all the areas that have two or more maintainers. As a simple statistical fault tolerance they don't generally both have newborns, get the flu, change job or get yanked into a critical customer problem by their employer on the same week.

Quoted 5 lines

Right now we are doing it for real in some areas, and via the "screw this, mail Andrew Morton" process for others, plus Linus fields some of the really dumb ones. We could formalise some of that a bit more and encourage more maintainers to actual team up with one of the other contributors they trust.

If by "maintainer" you mean "patch reviewer", then I agree. Teaming up for the review process is the right thing to do, and is (as far as I know) what we were trying to resolve with the "Reviewed-by" tag. Formalising the review process and raising the status of developers that commit to reviewing patches is entirely the right thing to do. Actually maintaining trees of reviewed patches is the trivial part of the operation.

Perhaps the right thing to do is to start demanding that all patches that are submitted to the maintainer contain at least one "Reviewed-by:" tag?

Quoted 7 lines

(And we probably need to clone DaveM or get him to delegate more 8))

And we need about ten extra GregKH's if anyone has spares

Alan
--
'Go go go Gregzilla'

ACK! :-)

Cheers
Trond

Signature · 8 lines
Trond Myklebust
Linux NFS client maintainer

NetApp
[email protected]
www.netapp.com

���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�
#6 lore raw
In reply to Jonathan Corbet
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 8 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

I don't think there is an automated way.

How about not publishing the stats at all and just mention anything related to them when something exceptional happens? E.g. out the the blue 90% of the patches were submitted by hobbyists.

If you look at the stats of the last years, there is nothing really interesting happening. We already know who employs the most kernel developers and who of them is doing most of the work.

If companies really want to measure their "importance" or the "performance" of their employees they can create their own stats and abuse them for whatever they want.

Thanks,

tglx

#26 lore raw
In reply to Alan Cox
Quoted 11 lines · Alan Cox

Greg KH <[email protected]> wrote:

We also have a large consumer electronics and now android ecosystem much of which is made up of companies and people whose business history and business model for all products has always been

- make it boot
- make it usable
- ship it
- run

Quoted 4 lines

they have little incentive to share, they have no interest in the longer term, and it's often not rational economics for them to clean up their code and upstream it because it just helps their rivals, and besides the part is now 6 months old so obsolete in their world.

This is actually getting a lot better these days.

Quoted 6 lines

For a lot of hardware the only way that is going to get fixed is if

a) it is easier to do the job right than hack it up
b) when the hardware vendors are more involved and have longer term plans
c) their customers start to demand it in order to be up and running very fast (ie there is heavy consolidation in the platform)

The latter two are happening right now, mostly thanks to consumer demand for software updates for things like phones though the desire to keep hardware platforms rolling indepenently of OS releases is also a factor. One of the big blockers to that has been the need to move all the out of tree stuff up to a newer kernel, reducing the diff to mainline is a good way to minimise the effort involved. I was very pleased when I started to find handset vendors wanting to confirm that patches given to them were also going upstream.

This doesn't apply to all hardware but more and more things are getting in field updates.

Quoted 5 lines

Right now we are doing it for real in some areas, and via the "screw this, mail Andrew Morton" process for others, plus Linus fields some of the really dumb ones. We could formalise some of that a bit more and encourage more maintainers to actual team up with one of the other contributors they trust.

Yes, this would really help as would better backup plans when things aren't working. Finding people to work with is not just a question of trust, it's also a question of finding people with similar work patterns as a mismatch can be painful.

#7 lore raw
In reply to Thomas Gleixner
Quoted 3 lines · Thomas Gleixner

If you look at the stats of the last years, there is nothing really interesting happening. We already know who employs the most kernel developers and who of them is doing most of the work.

What is interesting, and is why I started collecting this information years ago, is keeping track of our rate-of-change, the number of new developers we have contributing, and the number of different companies and how many of them are contributing. All of those numbers are good to watch to see how well as a community we are doing.

So far, all of those numbers are going up, which is good. If they ever stop dropping, I will get worried.

These numbers, and stats, are also good for getting other companies to get involved in kernel development. I've used them for many years to point out that they need to get involved, and in one noticable case (Intel), it has made a huge difference. Other cases (Amazon and Motorola), it hasn't helped out at all.

They also show what areas of the kernel are under major change and churn, which is interesting to see for some people who don't pay that much attention to our community (2 years ago the x86 rework was obvious, and this year the ARM and SoC work is obvious).

Quoted 3 lines

If companies really want to measure their "importance" or the "performance" of their employees they can create their own stats and abuse them for whatever they want.

Companies do do that. You also see companies "hiding" their contributions from the stats as they don't want to show up on the radar for odd reasons (Qualcomm is one example of this, they spread their contributions around 3 different companies for "misguided" legal reasons.)

Microsoft was an interesting example of a company that ended up doing a lot of work for just one set of drivers, and ended up showing high in the stats because of that. That provided a great example of a company that no one had ever thought would contribute, was doing so (the local Seattle paper's headline read, "Is Cancer Cured?" which was so funny to me and pissed so many locals off.)

And yes, some companies try to "game" the numbers, but it's really hard to do this given how much real work is being done by people, and how obvious it is when it happens. So far I haven't seen anyone succeed in doing this, but they might have been so good that I didn't notice.

And as always, of course statistics lie, we all know this, but sometimes they can be helpful for your cause :)

greg k-h

#8 lore raw
In reply to Jonathan Corbet
Quoted 3 lines · Jonathan Corbet

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

It'd probably help if we could split out the framework and driver code, but at the end of the day it's all just stats and therefore has to be taken with a pinch (or large helping) of salt.

#27 lore raw
In reply to Thomas Gleixner
Quoted 2 lines · Thomas Gleixner

  - How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

There's certainly a problem here. Sometimes I see patches that are technically correct, but there's a philosophical discussion about whether a design or user interface change is desirable. Those are fun and interesting to deal with.

The bigger problem for me is that many patches do something useful and desirable but have some obscure technical problem, and it's hard to catch them. Usually these patches come from competent submitters who merely don't know where all the landmines in the current design are buried.

As a trivial example, a recent patch added a PCI "final" fixup. Seems perfectly reasonable, except that final fixups aren't applied to hot-added devices. That's a bug in PCI, and we shouldn't expect everybody who writes a quirk to know about it.

We can try to address this by "educating developers" or "documenting the design better" or "delegating to submaintainers" or whatever. Those are valuable, but in some way they're cop-outs. A more effective fix would be to remove the landmines, reduce complexity, and improve the design. If we have coherent code that follows the hardware architecture and matches people's intuition about how things "should work," I think we'll get patches with fewer issues.

Sorry, I think I just reiterated what you, Greg KH, Alan, et al have already said :)

#28 lore raw
Quoted 10 lines · Bjorn Helgaas

We can try to address this by "educating developers" or "documenting the design better" or "delegating to submaintainers" or whatever. Those are valuable, but in some way they're cop-outs.  A more effective fix would be to remove the landmines, reduce complexity, and improve the design.  If we have coherent code that follows the hardware architecture and matches people's intuition about how things "should work," I think we'll get patches with fewer issues.

Sorry, I think I just reiterated what you, Greg KH, Alan, et al have already said :)

No, I don't think that's just reiteration, I think it's an important point :)

There is a certain strain of thinking in our community that is resistant to working on design improvements as you describe. And I think without improving in that direction, we're going to drown in subtly broken patches.

- R.

#25 lore raw
In reply to Myklebust, Trond
Quoted 27 lines · Trond
Quoted 12 lines · Alan Cox
Quoted 5 lines · On Fri, 15 Jun 2012 16:34:13 -0700 Greg KH <[email protected]> wrote:
Quoted 4 lines · Thomas Gleixner

So the main questions I want to raise on Kernel Summit are:

- How do we cope with the need to review the increasing amount of (insane) patches and their potential integration?

One thing that seems to be working well are all the areas that have two or more maintainers. As a simple statistical fault tolerance they don't generally both have newborns, get the flu, change job or get yanked into a critical customer problem by their employer on the same week.

Quoted 5 lines

Right now we are doing it for real in some areas, and via the "screw this, mail Andrew Morton" process for others, plus Linus fields some of the really dumb ones. We could formalise some of that a bit more and encourage more maintainers to actual team up with one of the other contributors they trust.

If by "maintainer" you mean "patch reviewer", then I agree. Teaming up for the review process is the right thing to do, and is (as far as I know) what we were trying to resolve with the "Reviewed-by" tag. Formalising the review process and raising the status of developers that commit to reviewing patches is entirely the right thing to do. Actually maintaining trees of reviewed patches is the trivial part of the operation.

Quoted 3 lines

Perhaps the right thing to do is to start demanding that all patches that are submitted to the maintainer contain at least one "Reviewed-by:" tag?

The upside of this is that people who regularly review patches (note: review, not ack) are more likely to have their patches reviewed promptly by other people. i.e. this often devolves to a "I scratch your back, you scratch mine" kind of arrangement.

In turn, this encourages prompt code review because it makes it more likely that code is going to be reviewed quickly by others because the others remember who reviewed their last patch-bomb quickly.

And the maintainer quickly learns whose reviews can be trusted, too, which then leads to less load on the maintainer as reviewed-by tags grow in trust value....

Cheers,

Dave.

Signature · 2 lines
Dave Chinner
[email protected]
#9 lore raw
In reply to Jonathan Corbet
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 13 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#10 lore raw
Quoted 18 lines · J. Bruce Fields
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

Quoted 15 lines

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 7 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

#11 lore raw
Quoted 59 lines · Glauber Costa
Quoted 18 lines · J. Bruce Fields
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

Quoted 15 lines

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 7 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

#12 lore raw
Quoted 64 lines · Frederic Weisbecker
Quoted 63 lines · Glauber Costa
Quoted 18 lines · J. Bruce Fields
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

Quoted 15 lines

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 7 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

* pure whitespace
* pure Documentation change
* comment fix

Quoted 9 lines
Quoted 4 lines

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

Very true!

Regards,
Srivatsa S. Bhat

#15 lore raw
In reply to Frederic Weisbecker
Quoted 34 lines
Quoted 25 lines

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 6 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

I am not saying or implying that they are not. I am merely pointing out that metrics are good and healthy for us, but all of them will have their perks, and a group of people will optimize for that.

I doubt that we'll stop having Documentation patches, for instances, if we stop counting them. People who understand the value of it, will still do it. They will just stop doing it for the sake of doing it, and even worse, divided in a thousand patches what could easily be sent in just one.

Furthermore, I believe to be undeniable that even though those contributions are indeed, valuable, they are not by any means as valuable as the "real work", as Thomas describes.

#13 lore raw
In reply to Srivatsa S. Bhat
Quoted 70 lines · Srivatsa S. Bhat
Quoted 69 lines · Frederic Weisbecker
Quoted 67 lines · Glauber Costa
Quoted 18 lines · J. Bruce Fields
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

Quoted 15 lines

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 7 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 7 lines
Quoted 4 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

Very true!

Said another way: "valuable" here, is mostly semantics. People who go to non-technical conferences and speak about Linux do a valuable contribution. People who creates business around Linux do a valuable contribution. We don't have to come up with an statistic that measure "valuable contributions". We just need to have something that serves as an index some people can use. People optimizing for that add noise to the metric - probably true for patchcount or any other, and filtering this noise is useful, even if *some* useful information is lost.

And in this particular context of this metric, I believe this kind of contribution to be just noise.

#16 lore raw
In reply to Frederic Weisbecker
Quoted 14 lines · Frederic Weisbecker
Quoted 4 lines · Glauber Costa

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 5 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

Well what about submitters and maintainers labeling patches below the SOB with tags like the following?

Tags: docu whitespace trivial

Part of the review would be making sure the labels fit.

Thanks,
Richard

#17 lore raw
Quoted 21 lines · Richard Cochran
Quoted 14 lines · Frederic Weisbecker
Quoted 4 lines · Glauber Costa

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 5 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

Quoted 8 lines

Well what about submitters and maintainers labeling patches below the SOB with tags like the following?

Tags: docu whitespace trivial

Part of the review would be making sure the labels fit.

Problem 1: What do you do with the commits already in the tree that lacks any tagging ?

#14 lore raw
In reply to Glauber Costa
Quoted 88 lines · Glauber Costa
Quoted 70 lines · Srivatsa S. Bhat
Quoted 69 lines · Frederic Weisbecker
Quoted 67 lines · Glauber Costa
Quoted 18 lines · J. Bruce Fields
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Sat, 16 Jun 2012 12:50:05 +0200 (CEST) Thomas Gleixner <[email protected]>…

A good start would be if you could convert your kernel statistics into accounting the consolidation effects of contributions instead of fostering the idiocy that corporates have started to measure themself and the performance of their employees (I'm not kidding, it's the sad reality) with line and commit count statistics.

Quoted 4 lines

I would dearly love to come up with a way to measure "real work" in some fashion; I've just not, yet, figured out how to do that. I do fear that the simple numbers we're able to generate end up creating the wrong kinds of incentives.

I can't see any alternative to explaining what somebody did and why it was important.

Quoted 15 lines

To that end, the best resource for understanding the value of somebody's work is the lwn.net kernel page--if their work has been discussed there.

So, all you need to do is to hire a dozen more of you, and we're covered!

--b.

Quoted 7 lines

Any thoughts on how to measure "consolidation effects"? I toss out numbers on code removal sometimes, but that turns out to not be a whole lot more useful than anything else on its own.

Thanks,

Resurrecting this one.

So something just came across my mind: When I first read this thread, my inner reaction was: "People will find ways to bypass and ill-optimize their workflow for whatever measure we come up with".

That's is pure human nature. Whenever we set up a metric, that becomes a goal and a bunch of people - not all - will deviate from their expected workflow to maximize that number. This happens with paper count in the scientific community, for the Higgs Boson's sake! Why wouldn't it happen with *any* metric we set for ourselves?

So per-se, the fact that we have a lot of people trying to find out what our metrics are, and look good in the face of it, is just a testament to the success of Linux - but we know that already.

The summary here, is that I don't think patch count *per se* is a bad metric. Maybe we should just tweak the way we measure a bit to steer people towards doing more useful work, and that would aid our review.

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 7 lines
Quoted 4 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

Very true!

Said another way: "valuable" here, is mostly semantics. People who go to non-technical conferences and speak about Linux do a valuable contribution. People who creates business around Linux do a valuable contribution. We don't have to come up with an statistic that measure "valuable contributions". We just need to have something that serves as an index some people can use. People optimizing for that add noise to the metric - probably true for patchcount or any other, and filtering this noise is useful, even if *some* useful information is lost.

Quoted 3 lines

And in this particular context of this metric, I believe this kind of contribution to be just noise.

Right, what is "valuable" depends on the context and is also relative, to a certain extent.

Considering what Frederic said, and also your point about people invariably trying to optimize on the metric we come up with, I wonder if its even worth trying to come up with a metric like that. I just wish people could do an honest evaluation of their work, rather than trying to bump up some magic numbers...

Regards,
Srivatsa S. Bhat
IBM Linux Technology Center

#18 lore raw
In reply to Richard Cochran
Quoted 21 lines · Richard Cochran
Quoted 14 lines · Frederic Weisbecker
Quoted 4 lines · Glauber Costa

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 5 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

Quoted 8 lines

Well what about submitters and maintainers labeling patches below the SOB with tags like the following?

Tags: docu whitespace trivial

Part of the review would be making sure the labels fit.

Please no!
I don't see why we should clutter the changelog with tags for reasons as unimportant as measuring some patch's value!

Regards,
Srivatsa S. Bhat

#19 lore raw
Quoted 28 lines · Srivatsa S. Bhat
Quoted 27 lines · Richard Cochran
Quoted 14 lines · Frederic Weisbecker
Quoted 4 lines · Glauber Costa

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

Quoted 5 lines

OTOH, documentation changes or comment fixes, and even sometimes pure whitespace fixes, can be very valuable contributions. This can be a useful and ungrateful work and that deserve credit.

We just can't find an automated and right way to evaluate a contribution.

Well what about submitters and maintainers labeling patches below the SOB with tags like the following?

Tags: docu whitespace trivial

Quoted 7 lines
Quoted 2 lines

Part of the review would be making sure the labels fit.

Please no!
I don't see why we should clutter the changelog with tags for reasons as unimportant as measuring some patch's value!

Stronger: Having the maintainer to do more work is hardly a way to decrease the amount of work he does. (Well, it could be in some cases, but not in this)

#20 lore raw
Quoted 7 lines · Glauber Costa
Quoted 4 lines

Please no!
I don't see why we should clutter the changelog with tags for reasons as unimportant as measuring some patch's value!

Stronger: Having the maintainer to do more work is hardly a way to decrease the amount of work he does. (Well, it could be in some cases, but not in this)

Strongest: We actually implemented this. It was called 'Impact' tags (search the git logs). Linus *hated* them. He got really upset and flamed us for doing it.

https://lkml.org/lkml/2009/4/15/296

Basically it's duplicating the subject line. The subject line should have the impact (worth) of the patch. Heck, we should just add '/trivial' to the subject. Like "x86/trivial: clean white space in x.c".

Or /doc or /comment or whatever. That should not be a problem, searches are nicer on git log --pretty=oneline, and we should push to have all non functional changes have such a tag in the subject. Then we can split these changes out from functional changes.

There, solved ;)

-- Steve

#21 lore raw
In reply to Glauber Costa

apologies for the late response

Quoted 4 lines · Glauber Costa

The same way we have checkpatch, we can have something automated that will attempt to rule out some trivial patches in the counting process. We can scan a patch, and easily determine if each part of it is:

Quoted 8 lines

* pure whitespace
* pure Documentation change
* comment fix

And if a patch is 100 % comprised by those, we simply don't count it. People that just want to increase their numbers - they will always exist, will tend to stop doing that. Simply because doing it will not help them at all.

I would look at things a bit differently.

strip out whitespace changes (they can be valuable, but usually only in combination with other work)

added comments or documetnation count double (we always need better documentation.

if the number of lines removed is more than a delata larger than the number added, the patch is probably a reorginization/cleanup and should get a boost in the metrics.

David Lang