Number of bugs - statistics
Hi!
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
Any kind of (research) reports or papers that address this issue is more than welcome.
Thanks!
Sincerely,
Bosko
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
Quoted 2 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
Quoted 4 lines
Thanks!
Sincerely,
Bosko
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good sign
Quoted 6 lines
Quoted 3 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
We have data for 2.6.25 at least, on which we can and do serious statistics. Unfortunately we don't have that for older kernels. What we have for older kernels only comes from lkml reports (which isn't very representative), but that shows that the bug report pattern is a bit spikey, in that kernels that get picked up by popular distributions get more reports than those that don't (no big surprise, those just have a much larger user base), but otherwise there's no up or down trend to be seen there.
Quoted 9 lines
Quoted 5 lines
Thanks!
Sincerely,
Boskocu
Adrian
Quoted 36 lines · Arjan van de Ven
Quoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good signQuoted 6 lines
Quoted 3 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
Quoted 9 lines
We have data for 2.6.25 at least, on which we can and do serious statistics. Unfortunately we don't have that for older kernels. What we have for older kernels only comes from lkml reports (which isn't very representative), but that shows that the bug report pattern is a bit spikey, in that kernels that get picked up by popular distributions get more reports than those that don't (no big surprise, those just have a much larger user base), but otherwise there's no up or down trend to be seen there.
Majority of old bugs that are still open are of "hard to reproduce" category. That means you are not very likely to hit them. Those can
be: legacy devices failing, relatively rare hardware, code clean-ups etc. You can't find really critical long standing bugs in the old backlog. It doesn't mean old bugs don't get fixed, rather get less priority that severe bugs and regressions.
With emphasys that was put on cleaning up bugs by Andrew and other
developers, bugs are taken even more seriously than before. New bugs, regressions are being tracked aggressively, so they don't stay open for long time. You can search for Rafael's regression reports and sample time line of a reported regression: they are short lived bugs. Overall, each kernel release has great deal of improvement over older ones, by nature of Linux. Many distros now tend to stay as close with new releases of main line as possible. This seems to be the best way to get all the bug fixes, optimizations, and features. Regards,
--Natalie
Quoted 16 lines
Quoted 10 lines
Quoted 6 lines
Thanks!
Sincerely,
Boskocu
Adrian--
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/
Quoted 20 lines · Arjan van de Ven
Quoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Quoted 7 lines
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good sign
Andrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
We have data for 2.6.25 at least, on which we can and do serious statistics.
...
Where do we have data for 2.6.25 covering all kinds of bugs?
Regressions reported before 2.6.25 and Oops'es etc. are only a small part of the picture.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 42 lines · Adrian Bunk
Quoted 20 lines · Arjan van de Ven
Quoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Quoted 7 lines
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good signAndrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
Quoted 8 lines
Quoted 3 lines
We have data for 2.6.25 at least, on which we can and do serious statistics.
...Where do we have data for 2.6.25 covering all kinds of bugs?
Regressions reported before 2.6.25 and Oops'es etc. are only a small part of the picture.
There is no unified tracking mechanism as of now, this is a big problem. There are some projects that have ideas about universal bug tracking, for example some people from KDE team expressed their ideas, I'm planning to get back with them.
It would be great if all reports from known and unknown bugzillas were piped into one place and sorted out, by various criteria: ALSA bugs are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other. So the answer to question about kernel stability would be more adequate depending on who's asking.
--Natalie
Quoted 16 lines
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed--
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/
Quoted 52 lines · Natalie Protasevich
Quoted 42 lines · Adrian Bunk
Quoted 20 lines · Arjan van de Ven
Quoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Quoted 7 lines
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good signAndrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
Quoted 8 lines
Quoted 3 lines
We have data for 2.6.25 at least, on which we can and do serious statistics.
...Where do we have data for 2.6.25 covering all kinds of bugs?
Regressions reported before 2.6.25 and Oops'es etc. are only a small part of the picture.
Quoted 6 lines
There is no unified tracking mechanism as of now, this is a big problem. There are some projects that have ideas about universal bug tracking, for example some people from KDE team expressed their ideas, I'm planning to get back with them.
It would be great if all reports from known and unknown bugzillas were piped into one place and sorted out,
Not everyone uses Bugzilla (e.g. ALSA uses Mantis).
And the majority of bug reports might still go only to mailing lists and not into any bugtracker at all. As long as this happens the data is simply not available.
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.
The majority of machines running Linux most likely runs with ARM CPUs.
Show me any public source you want to use for getting serious data for this area.
Quoted 3 lines
So the answer
to question about kernel stability would be more adequate depending on who's asking.
You must not confuse "number of reported bugs" with "kernel stability" - these two can be quite decoupled.
Quoted 1 line
--Natalie
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 60 lines · Adrian Bunk
Quoted 52 lines · Natalie Protasevich
Quoted 42 lines · Adrian Bunk
Quoted 20 lines · Arjan van de Ven
Quoted 6 lines · On Thu, 22 May 2008 17:41:14 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Bosko Radivojevic
Hi!
Hi Bosko!
Quoted 7 lines
Quoted 4 lines
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
We definitely have many regressions (something that previously worked does no longer work) in each kernel.
... and many of those regressions are things people are unlikely to hit. And we fix many long standing bugs as well.
Quoted 7 lines
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good signAndrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Any kind of (research) reports or papers that address this issue is more than welcome.
Any such reports or papers would anyway be flawed since we have no data one could use for doing serious statistics.
Quoted 8 lines
Quoted 3 lines
We have data for 2.6.25 at least, on which we can and do serious statistics.
...Where do we have data for 2.6.25 covering all kinds of bugs?
Regressions reported before 2.6.25 and Oops'es etc. are only a small part of the picture.
Quoted 6 lines
There is no unified tracking mechanism as of now, this is a big problem. There are some projects that have ideas about universal bug tracking, for example some people from KDE team expressed their ideas, I'm planning to get back with them.
It would be great if all reports from known and unknown bugzillas were piped into one place and sorted out,
Quoted 5 lines
Not everyone uses Bugzilla (e.g. ALSA uses Mantis).
And the majority of bug reports might still go only to mailing lists and not into any bugtracker at all. As long as this happens the data is simply not available.
True. It was argued that mailing list is more effective that bugzilla as a collaboration mechanism while working on a bug. But if it was a way to record it into bugzilla "seemlessly" (as Andrew tried to enforce, by asking those on the list to add CC to bugme-deamon) this would be perfect.
Another one to implement...
Quoted 11 lines
Quoted 6 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.The majority of machines running Linux most likely runs with ARM CPUs.
Show me any public source you want to use for getting serious data for this area.
There is no one, except dispersed reports and ... appropriate implementation involving search engine comes to mind.
Quoted 7 lines
Quoted 4 lines
So the answer
to question about kernel stability would be more adequate depending on who's asking.You must not confuse "number of reported bugs" with "kernel stability" - these two can be quite decoupled.
Number of existing, proven and prioritized bugs maybe better to say. I think there is a correlation.
--Natalie
Quoted 14 lines
Quoted 2 lines
--Natalie
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Quoted 7 lines · Natalie Protasevich
On Thu, May 22, 2008 at 9:50 AM, Adrian Bunk <[email protected]> wrote:
...Quoted 5 lines
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.
Quoted 7 lines
Quoted 4 lines
The majority of machines running Linux most likely runs with ARM CPUs.
Show me any public source you want to use for getting serious data for this area.
There is no one, except dispersed reports and ... appropriate implementation involving search engine comes to mind.
Much of this information will never be published at any place where Google could find it.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
So the answer
to question about kernel stability would be more adequate depending on who's asking.You must not confuse "number of reported bugs" with "kernel stability" - these two can be quite decoupled.
Number of existing, proven and prioritized bugs maybe better to say. I think there is a correlation.
Some correlaton.
If people are aware of the weaknesses and the many obvious ways to manipulate such statistics.
Quoted 1 line
--Natalie
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 10 lines · Adrian Bunk
Quoted 9 lines · Natalie Protasevich
On Thu, May 22, 2008 at 9:50 AM, Adrian Bunk <[email protected]> wrote:
...Quoted 7 lines
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.The majority of machines running Linux most likely runs with ARM CPUs.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Show me any public source you want to use for getting serious data for this area.
There is no one, except dispersed reports and ... appropriate implementation involving search engine comes to mind.
Much of this information will never be published at any place where Google could find it.
But Adrian, there will be a chain reaction. That's why Andrew encourages interested parties from industry share code (which will mean bug reports). This is gradual process, way of collaboration and open source is being more and more accepted and even urged.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
So the answer
to question about kernel stability would be more adequate depending on who's asking.You must not confuse "number of reported bugs" with "kernel stability" - these two can be quite decoupled.
Quoted 7 lines
Quoted 2 lines
Number of existing, proven and prioritized bugs maybe better to say. I think there is a correlation.
Some correlaton.
If people are aware of the weaknesses and the many obvious ways to manipulate such statistics.
... which needs to start and take its own development cycle. Then it will become more sophisticated.
Quoted 14 lines
Quoted 2 lines
--Natalie
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Quoted 17 lines · Natalie Protasevich
Quoted 16 lines · Adrian Bunk
Quoted 14 lines · Natalie Protasevich
On Thu, May 22, 2008 at 9:50 AM, Adrian Bunk <[email protected]> wrote:
...Quoted 9 lines
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.The majority of machines running Linux most likely runs with ARM CPUs.
Show me any public source you want to use for getting serious data for this area.
There is no one, except dispersed reports and ... appropriate implementation involving search engine comes to mind.
Quoted 7 lines
Quoted 2 lines
Much of this information will never be published at any place where Google could find it.
But Adrian, there will be a chain reaction. That's why Andrew encourages interested parties from industry share code (which will mean bug reports). This is gradual process, way of collaboration and open source is being more and more accepted and even urged.
That's a completely different thing.
Example for what I'm talking about:
Customer says:
We know $driver in the kernel for their device is buggy, but they are the only ones manufacturing this kind of device we need.
Customer uses the device as part of some machines he sells.
Neither the manufactorer nor the customer do want to _ever_ become publically known that there are bugs in the device.
And that's not a made-up example, I know names for manufactorer and customer for such cases.
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
So the answer
to question about kernel stability would be more adequate depending on who's asking.You must not confuse "number of reported bugs" with "kernel stability" - these two can be quite decoupled.
Number of existing, proven and prioritized bugs maybe better to say. I think there is a correlation.
Quoted 7 lines
Quoted 4 lines
Some correlaton.
If people are aware of the weaknesses and the many obvious ways to manipulate such statistics.
... which needs to start and take its own development cycle. Then it will become more sophisticated.
We do not need more sophisticated statistics, we need to find ways to get the bugs fixed.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 6 lines · On Thu, 22 May 2008 19:50:08 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.The majority of machines running Linux most likely runs with ARM CPUs.
and on a 2.4 kernel, and with likely with some binary modules at that. it's cool to brag about market share, but these boxes unfortunately don't have any value for Linux development.
Quoted 3 lines
Show me any public source you want to use for getting serious data for this area.
You know, and I hate to say this, I'm getting a bit tired of your attitude of just throwing up your arms at the problem and at the same time trying to discredit anything and anybody who tries to improve the situation. Really, it's not helping nor does it improve ANYTHING.
I gave you real data before based on first hand experience from maintainers. We now have crash data, and we have data from every place in the kernel that dumps a backtrace. We track regressions and we can show that we attack the majority of those very agressively, and Linus has delayed releases for serious regressions. Just throwing your hands in the air and saying "it's hard don't even try and I don't want you to try" doesn't cut it.
Are we perfect? No. Can we do better? Absolutely. Should we try to do better? YES PLEASE. Lets get constructive and try to make things better.
In the past, a few simple things improved the situation, such as printk'ing the kernel version in the oops, as well as (longer back) kksymoops. Or think of things like lockdep, or the pagealloc-debug stuff. Going forward there are things we can do to improve things in the kernel, even if you don't have hardware. We need to make the kernel more selfdiagnosing. Detecting the problem, and if it's likely a driver/hw interaction bug, sticking in a WARN_ON(). That's the sort of thing even starting kernel developers can do to help improve the quality even wihtout hardware access, because it helps us improve the quality of bugreports, and it improves our ability to find patterns and group duplicates into a top 10.
Adrian, how about working on that sort of thing rather than keep saying "impossible, we're doomed"... pretty please?
Quoted 8 lines · Arjan van de Ven
Quoted 5 lines · On Thu, 22 May 2008 19:50:08 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 4 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.
Quoted 4 lines
Quoted 1 line
The majority of machines running Linux most likely runs with ARM CPUs.
and on a 2.4 kernel,
...
Do you have any serious numbers for that?
All the embedded stuff I've recently worked with had 2.6.2x kernels, and if you have good statistics how many percent of all ARM users and in which areas still use kernel 2.4 I'd be very interested in them.
Quoted 31 lines
Quoted 2 lines
Show me any public source you want to use for getting serious data for this area.
You know, and I hate to say this, I'm getting a bit tired of your attitude of just throwing up your arms at the problem and at the same time trying to discredit anything and anybody who tries to improve the situation. Really, it's not helping nor does it improve ANYTHING.
I gave you real data before based on first hand experience from maintainers. We now have crash data, and we have data from every place in the kernel that dumps a backtrace. We track regressions and we can show that we attack the majority of those very agressively, and Linus has delayed releases for serious regressions. Just throwing your hands in the air and saying "it's hard don't even try and I don't want you to try" doesn't cut it.
Are we perfect? No. Can we do better? Absolutely. Should we try to do better? YES PLEASE. Lets get constructive and try to make things better.
In the past, a few simple things improved the situation, such as printk'ing the kernel version in the oops, as well as (longer back) kksymoops. Or think of things like lockdep, or the pagealloc-debug stuff. Going forward there are things we can do to improve things in the kernel, even if you don't have hardware. We need to make the kernel more selfdiagnosing. Detecting the problem, and if it's likely a driver/hw interaction bug, sticking in a
WARN_ON(). That's the sort of thing even starting kernel developers can do to help improve the quality even wihtout hardware access, because it helps us improve the quality of bugreports, and it improves our ability to find patterns and group duplicates into a top 10.
Quoted 2 lines
Adrian, how about working on that sort of thing rather than keep saying "impossible, we're doomed"... pretty please?
No disagreement that we can and should do much better on diagnosing and fixing bugs (and I do appreciate your work in this area). And this is neither impossible nor are we not doomed here.
But getting _statistics_ that would allow to reasonably express stuff like "stability of the kernel" in one number is nearly impossible:
Including distribution bugs we are talking about a five digit number of open bug reports, and getting meaningful data from them is *ahem* hard.
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 7 lines · On Fri, 23 May 2008 12:09:40 +0300 Adrian Bunk <[email protected]> wrote:
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.
Fedora gets less than 1000 bugs per release (so 6 month window). That's... peanuts.
(Also remember that distribution bugs have a real percentage of "please help me" support request bugs, so the actual nr of bugs is quite lower. The number is also before duplicates are marked).
We are tracking over 3000 bugs per WEEK via other channels.
So yes I will say that distribution bugs, while nice if we get visibility in the good ones, aren't the end-all thing.
Quoted 11 lines · Arjan van de Ven
Quoted 7 lines · On Fri, 23 May 2008 12:09:40 +0300 Adrian Bunk <[email protected]> wrote:
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.
Quoted 2 lines
Fedora gets less than 1000 bugs per release (so 6 month window). That's... peanuts.
2000 kernel bugs per year?
Then Fedora alone gets roughly as many kernel bugs as the kernel Bugzilla.
Quoted 3 lines
...
We are tracking over 3000 bugs per WEEK via other channels.
...
What exactly are you measuring with this "3000 bugs" number?
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 12 lines · On Fri, 23 May 2008 19:50:55 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 11 lines · Arjan van de Ven
Quoted 7 lines · On Fri, 23 May 2008 12:09:40 +0300 Adrian Bunk <[email protected]> wrote:
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.
Quoted 4 lines
Quoted 2 lines
Fedora gets less than 1000 bugs per release (so 6 month window). That's... peanuts.
2000 kernel bugs per year?
it's going down; 750-ish for the last few releases
(see http://kernelslacker.livejournal.com/116718.html )
Quoted 3 lines
Then Fedora alone gets roughly as many kernel bugs as the kernel Bugzilla.
but kernel bugzilla is "only" a last resort, while fedora bugzilla is a first point of contact. I'd rate a kernel.org bugzilla bug to be 3x a fedora bz bug in terms of value (eg less dupes, it's not support requests but actual bugs etc etc).
Quoted 6 lines
Quoted 4 lines
...
We are tracking over 3000 bugs per WEEK via other channels.
...What exactly are you measuring with this "3000 bugs" number?
Oopses and places where the kernel goes WARN_ON(). (the oops:warning ratio is roughly 1:2 to 1:3)
Quoted 15 lines · Arjan van de Ven
Quoted 12 lines · On Fri, 23 May 2008 19:50:55 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 11 lines · Arjan van de Ven
Quoted 7 lines · On Fri, 23 May 2008 12:09:40 +0300 Adrian Bunk <[email protected]> wrote:
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Fedora gets less than 1000 bugs per release (so 6 month window). That's... peanuts.
2000 kernel bugs per year?
it's going down; 750-ish for the last few releases
It's a bit suspicious that the "Total number of bugs filed across all packages" also went down by quite some amount.
Are recent Fedora kernels less buggy or do less people file bugs since everyone now uses Ubuntu?
Quoted 8 lines
...
Quoted 4 lines
Quoted 2 lines
We are tracking over 3000 bugs per WEEK via other channels.
...What exactly are you measuring with this "3000 bugs" number?
Oopses and places where the kernel goes
WARN_ON(). (the oops:warning ratio is roughly 1:2 to 1:3)
Counting 2248 times the same WARN_ON triggered as 2248 distinct bugs is complete bullshit.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 19 lines · Adrian Bunk
Quoted 18 lines · Arjan van de Ven
Quoted 15 lines · On Fri, 23 May 2008 19:50:55 +0300 Adrian Bunk <[email protected]> wrote:
Quoted 13 lines · Arjan van de Ven
Quoted 7 lines · On Fri, 23 May 2008 12:09:40 +0300 Adrian Bunk <[email protected]> wrote:
And in case anyone says "not forwarded distribution bugs aren't our problem":
That's a nice example, since in this case a distribuion suddenly starting to agressively forwarding their bugs might contribute to making the kernel better, but might also totally ruin the numbers in any statistics.Fedora gets less than 1000 bugs per release (so 6 month window). That's... peanuts.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
2000 kernel bugs per year?
it's going down; 750-ish for the last few releases
It's a bit suspicious that the "Total number of bugs filed across all packages" also went down by quite some amount.
The last two releases hadn't reached end-of-life yet. I just updated that entry, with the latest numbers for F7/F8, and threw in F9 too.
total kernel F7 5534 724 F8 7589 902 F9 4624 292
Given F9 has only been out a few weeks, that's quite high. As more people move from F7 -> F8 as F7 gets closer to end of life, the bug count there is shifting too.
(for point of reference, F7 is on 2.6.24, F8 is about to get a .25 update,
F9 was released with .25)
Quoted 2 lines
Are recent Fedora kernels less buggy or do less people file bugs since everyone now uses Ubuntu?
My majority of my job is still spending reading and dealing with bugzilla. I think if there were a noticable drop-off, I'd have more time to be sitting around eating cheetos or doing something else. That hasn't happened.
Dave
Signature · 1 line
http://www.codemonkey.org.uk
Quoted 7 lines · Adrian Bunk
Quoted 5 lines · Natalie Protasevich
Quoted 3 lines · Adrian Bunk
Andrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
Quoted 17 lines
Quoted 5 lines
Quoted 5 lines
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Not everyone uses Bugzilla (e.g. ALSA uses Mantis).
And the majority of bug reports might still go only to mailing lists and not into any bugtracker at all. As long as this happens the data is simply not available.
Quoted 5 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.
Although ALSA might have a lot of bug reports. Any bugs that affect kernel stability are fixed quickly.
The rest of the ALSA bugs are more along the lines of "This feature on this particular sound card variant does not seem to work". This generally implies un-implemented features that uses now want. Some times the fix is simply adding that variant to the quirks list and finding out which quirk should be applied. So, once one removes the "un-implemented features" category from the ALSA bug list, one would expect the remaining number to be low.
At Fri, 23 May 2008 13:35:03 +0300,
Quoted 28 lines · James Courtier-Dutton
Quoted 12 lines · Adrian Bunk
Quoted 10 lines · Natalie Protasevich
Quoted 8 lines · Adrian Bunk
Andrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 14 lines
Not everyone uses Bugzilla (e.g. ALSA uses Mantis).
And the majority of bug reports might still go only to mailing lists and not into any bugtracker at all. As long as this happens the data is simply not available.
Quoted 5 lines
by various criteria: ALSA bugs
are numerous, which is not important for most enterprise server users who would completely disregard this category, whereas desktop users will probably concentrate on those more than any other.
Quoted 9 lines
Although ALSA might have a lot of bug reports. Any bugs that affect kernel stability are fixed quickly.
The rest of the ALSA bugs are more along the lines of "This feature on this particular sound card variant does not seem to work". This generally implies un-implemented features that uses now want. Some times the fix is simply adding that variant to the quirks list and finding out which quirk should be applied.
So, once one removes the "un-implemented features" category from the ALSA bug list, one would expect the remaining number to be low.
... and a normal screening would reduce the amount of bugs to 1/4, I guess. But, we have a serious problem regarding man power in this area, unfortunately.
Takashi
Quoted 9 lines · Adrian Bunk
Quoted 7 lines · Arjan van de Ven
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good sign
Quoted 6 lines
Andrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Central facilities like ACPI and SCSI having relatively few [and according to Arjan a decreasing number of] reported unfixed bugs is... irrelevant?
Signature · 3 lines
Stefan Richter -=====-==--- -=-= =-==- http://arcgraph.de/sr/
Quoted 4 lines · Bosko Radivojevic
Is there any kind of analysis of number of (reported or resolved) bugs through time in Linux kernel floating around? I'm trying to convince my colleagues that newer kernel version does not mean more bugs than the previous 'well tested' ones.
The following summary of a speech by Andrew Morton contains good arguments as why you should use a recent kernel:
http://lwn.net/Articles/278647/
Bart.
Quoted 13 lines · Stefan Richter
Quoted 12 lines · Adrian Bunk
Quoted 7 lines · Arjan van de Ven
Maybe some other data:
* The incoming rate of ACPI bugs has been pretty much flat the last 3 years, while the number of Linux (and ACPI) users has grown significantly. The number of unfixed bugs has more than halved, from over 200 to well below 100.
* The SCSI maintainer also reports that he sees flat to declining bug rates; again with the increase in Linux user base that is a good signAndrew sees and handles the majority of incoming bug reports. Ask him whether he agress with this.
Quoted 7 lines
Quoted 3 lines
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Central facilities like ACPI and SCSI having relatively few [and according to Arjan a decreasing number of] reported unfixed bugs is... irrelevant?
Yes, _in any "number of bugs" statistics_ that is irrelevant.
You seem to confuse "number of bugs" with "stability". As Arjan often emphasizes this is wrong.
We do not even have good data for "number of bug reports". And getting data for "stability" would be a quite hard task.
Quoted 1 line
Stefan Richter
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 8 lines · Adrian Bunk
Quoted 5 lines · Stefan Richter
Quoted 1 line · Adrian Bunk
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Central facilities like ACPI and SCSI having relatively few [and according to Arjan a decreasing number of] reported unfixed bugs is... irrelevant?
Yes,
_inany "number of bugs"statistics_that is irrelevant.
Well, yes, in any "simplistic total number of bugs without any frame of reference what is actually counted" statistics it is indeed irrelevant.
[...]
Quoted 1 line
We do not even have good data for "number of bug reports".
That's right. We don't have comprehensive data, and it is difficult to draw conclusions from the data that we have.
Signature · 3 lines
Stefan Richter -=====-==--- -=-= =-==- http://arcgraph.de/sr/
Quoted 6 lines · Stefan Richter
Quoted 5 lines · Adrian Bunk
Quoted 4 lines · Stefan Richter
Quoted 3 lines · Adrian Bunk
And ALSA alone has 2000 open bug reports, which makes the open ACPI or SCSI bug numbers relatively irrelevant in any "number of bugs" statistics.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Central facilities like ACPI and SCSI having relatively few [and according to Arjan a decreasing number of] reported unfixed bugs is... irrelevant?
Yes,
_inany "number of bugs"statistics_that is irrelevant.Well, yes, in any "simplistic total number of bugs without any frame of reference what is actually counted" statistics it is indeed irrelevant.
But this kind of statistics is the only one we could realistically ever get.
There is no simple and correct way to e.g. say whether some ACPI bug is more or less bad than some ALSA bug or which of them might affect more people.
Quoted 7 lines
[...]
Quoted 1 line
We do not even have good data for "number of bug reports".
That's right. We don't have comprehensive data, and it is difficult to draw conclusions from the data that we have.
Stefan Richter
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed