New Tool to Track Kernel Testing Time 98
mu22le writes "Andrea Arcangeli has created a new tool, 'klive', to automatically track the amount of testing that each kernel gets before release. According to Kernel Traffic "There was some discussion [on making it a kernel config option] that public perception might put this in the "spyware" category", but still the ability to track a kernel usage and reliability would be valuable to both developers and users."
Re:Applicable to microsoft windows? (Score:1)
Re:Applicable to microsoft windows? (Score:3, Insightful)
I realize that you're trying to be funny, but ...
Microsoft probably puts their stuff through more testing than anybody. And it's needed -- even with all that testing, things slip through. (I'll skip talking about why there's so many bugs ... others can do that.)
The Linux kernel is much smaller than Windows. Far less testing is needed, though of course some testing is still a good idea.
And I know this is unrelated, but the article submission talks abo
Re:Applicable to microsoft windows? (Score:1)
Re:Applicable to microsoft windows? (Score:2)
Commercial software testing rarely involves looking directly at the code. Instead, it tends to involve going through scripts where you do something known and looking for a known result, and if you don't get the result, you log that as a defect, which the developers then investigate.
The scripts involved generally come from previously found and corrected defects (making sure they don't come back) and possibly fr
Re:Applicable to microsoft windows? (Score:2)
Re:Applicable to microsoft windows? (Score:2)
Most software testing is not done for security. It's done checking for functionality, making sure that things work as they should.
And the post that I was replying to simply said ` oh wait.. they dont test anything..' which is patently incorrect. (Of course, the post has also been modded -1, which is probably exactly where it belongs.)
I'm not saying this is the way it
Re:Applicable to microsoft windows? (Score:1)
Your obvoiusly not a software developer then are you? In development of my web-based applications I scrutinize and TRY to physically break everything I can break in my webaps. Including giving bonuses to those who test for me, who can find security flaws and reproduce them. Security testing is major in my productions, and always should be. I am positive that it is for Apple's OS
Re:Applicable to microsoft windows? (Score:2)
You haven't disproven my point. You've only given one anecdotal piece of evidence that somebody checks for security flaws. You haven't even shown me that you personally spend more time checking for security flaws than anything else (though I don't dou
Re:Applicable to microsoft windows? (Score:1, Informative)
That isn't really much of a statement ("probably"). Given the 'quality' of quite a few Microsoft products, they obviously haven't been tested thoroughly enough.
The Linux kernel is much smaller than Windows. Far less testing is needed, though of course some testing is still a good idea.
Linux is a mo
Nice troll, but... (Score:3, Insightful)
Anyway, the security failures in WinXP are not due to lack of testing, but because of poor design decisions. Besides, security failures can't be detected by common beta-testing, but by heavy security audits (Not that I don't hate MS policies, I do, but there was no point in your comment).
In summary, your post wasn't informative, interesting, or insightful. Not even funny.
Re:Nice troll, but... (Score:2)
ugh (Score:1, Informative)
http://klive.cpushare.com.nyud.net:8090/ [nyud.net]
Re:ugh (Score:1)
What are they testing? (Score:4, Interesting)
If I turn on my computer and don't touch it for a year, it will have excellent uptime, but it doesn't really test very much. Same too, if I just start up Apache and let it do its thing.
Testing is a very important part of any development cycle and testing metrics are very useful in determining the quality of the delivered product. However, I've never heard of "testing time" used as a metric. Maybe "coverage" or "bugs over time", but the amount of time itself is never really a concern.
From what I've seen of the Linux kernel (just downloading the source from kernel.org and browsing through it), there doesn't seem to be much in the way of actual debug code thoughtfully and diligently placed throughout the code. There are a few litterings of debug code here and there, but for the most part, it seems like the developers just expect it to work without error.
Nothing wrong with that attitude, if reality backs it up. And luckily, with Linux, reality is right there to prove the developers correct.
Re:What are they testing? (Score:5, Insightful)
So? The theoretical number of users that will be doing that sort of operation should be outnumbered by those that use it for "normal, day to day operations".
In the end it would even itself out.
If they make the kernel option totally opt-in, which is the right way to go, most people won't use it and only power-users will enable the function which will end up with the results you mentioned (or will it?)
An interesting debate but at least they are willing to 100% respect the rights of their users.
Re:What are they testing? (Score:1, Insightful)
That doesn't make it useful. So what if 400 hours is spent testing 10% of the kernel interfaces? What about the other 90%. There is no accountability of the features that are tested and not tested.
Time tested is about as useful as the number of votes for on-line polls.
Re:What are they testing? (Score:3, Interesting)
Re:What are they testing? (Score:3, Insightful)
1. Everyone who uses linux is a complete nerd. (Common knowledge, doesn't even HAVE to be true)
2. Nerds know lots about computers and how to keep them working.
3. Nerds have run linux for X hours, and all these hours have been pretty hardcore QA time.
4. All this time has been documented.
5. Microsoft won't tell you how much te
Re:What are they testing? (Score:3, Interesting)
Having a big amount of submitting computers can help track the cause (that is, kernel config option in conjunction with hardware & software used).
Re:What are they testing? (Score:2)
But it has two downsides:
1) At least a code line based coverage system slows the system down considerably
2) The amount of data to send per computer would probably be quite big.
Still I think it's an interesting idea. Maybe if it could be manually turned on for code that has got less coverage from other people, or for some non-speed-critical drivers etc...
Re:What are they testing? (Score:1)
http://ltp.sourceforge.net/images/2.6.8-poster-med ium.jpg [sourceforge.net]
As someone above mentioned, instrumenting all the code with debug checks would bring the system to a crawl. However, with compiler settings set to Release instead of Debug, it should be possible to give end users an optimized version without any debug code to slow it down.
As long as it's an option (Score:1)
I don't particularly care if someone is getting anonymous data about my usage of the linux kernel for most of my boxen. It'll help improve the performance with good accurate real world information. However I don't want some sensitive boxen that I am responsible for to output data to any other source for good or ill.
So if I can chose, I'll be happy.
Spyware vs. Trackware (Score:1)
Re:Spyware vs. Trackware (Score:1)
But the beauty of open source is that you can find out about things like that by looking at the code. Seeing thier compile time options, build the kernel yourself and you would get the same size as they did. If it's different, something is wrong.
And as soon as a company is discovered doing something like that (and in this community they would be discovered sooner than later) the
also on KernelTrap (Score:1, Offtopic)
http://kerneltrap.org/node/5606 [kerneltrap.org]
Hmmm... (Score:3, Funny)
Re:Hmmm... (Score:2)
Re:Hmmm... (Score:2)
Userland is the way (Score:2, Insightful)
This is definitely a very useful system however, and I for one would very much like to see something similar for distributions (ie. not just the kernel, but the whole damn caboodle).
Re:Userland is the way (Score:2)
Debian has "popularity contest" which is not a testing tool but it reports to Debian which programs and packages you use (presumably using file atime, thought I haven't looked at it... and I often mount my disks with noatime). This data is intended to be used to determine which packages belong on "disk 1" and which should be bumped to other disks.
Re:Testing is always a problem (Score:2)
Then you spend the rest of the day figuring out what the tests actually test, and what it means if a particular one fails.
You will probaly nee a emulator like bochs to emulate and manipulate the hardware part, but it should be doable.
Re:Testing is always a problem (Score:2)
Re:Testing is always a problem (Score:1)
I think it's a good idea... (Score:5, Interesting)
And I don't think it could be thought of as spyware.
Spyware is supposed to be unknowingly reporting information about you, whether it was mistakenly installed by you or it crept in from somewhere else.
An application, or kernel option you flick on like a switch, which you install, and that reports information you know about, to people you understand are going to use that information, can't be called spyware unless it also happened to report how much pr0n you have as well as the kernel's amount of usage.
I think it would be a neat option to have in the kernel in general. Off by default, all us geeks who want to say "look! here! I'm running Linux!" could turn it on and it could report our uptimes and what kernels we're running.
We could "stand up and be counted" to show our support for Linux and give the various distributions a rough idea of what we think about them.
Re:I think it's a good idea... (Score:2)
Re:I think it's a good idea... (Score:5, Insightful)
Spyware is supposed to be unknowingly reporting information about you, whether it was mistakenly installed by you or it crept in from somewhere else.
The typical Linux user won't think it's spyware, no, but those working to move Linux towards a larger market want to be certain that newer users don't ever confuse the two.
Unfortunately, this *could* be confused with Spyware -- especially after a cute little Microsoft funded "research" item gets posted to ZDnet or news.com.com.
Linux Kernel Includes Spyware Reporting Your Usage Habits!
And don't think for one second that any backpedaling by the kernel gurus could outsmart the Microsoft FUD team.
Re:I think it's a good idea... (Score:2)
And think about if things were backwards:
New Tool to Track Vista Testing Time
While a usage reporting tool might be a nice idea, the kernel folks better think long and hard before it's added and enabled by default.
Re:I think it's a good idea... (Score:2)
I'd wager that the majority of Linux desktop users get binary kernels from their distros. They're not savvy enough to tell the difference, and they've been burned once (MS Windows).
If it's included as default in a distro, many desktop users won't know how to turn it on/off via
And IMHO, it sets up the "slippery slope" argument.
Re:I think it's a good idea... (Score:2)
Re:I think it's a good idea... (Score:2)
If the kernel people want to test, they should reinstitute their old development policy, where there was a "testing" kernel & a "production" kernel.
vixie cron doesn't like the way it installs... (Score:3, Informative)
-*/10 * * * * ps x | grep...
which vixie cron (and presumably others) rejects as invalid. i just changed it to run every 10 minutes like:
*/10 * * * * ps x | grep...
hth
Hmmm.... (Score:1, Offtopic)
Re:Hmmm.... (Score:1)
His son: NOOOOOOOOOOOOOOOO!
dupe? (Score:1)
Re:dupe? (Score:1)
Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:3, Insightful)
Personally, I would like to see it as an option in the kernel - but I'd like it to be off by default. I'd the statistics to be available to everyone (*NOT* IP addresses, hostnames, etc) but rather version, compiler, memory and load.
While I'm fine with just running some guys software for now, it's gonna turn into a huge mess . What happens if there's a bug? How's he gonna get it distributed to everyone? What if they want to track something else?
Re:Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:1)
Re:Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:1)
PUSH_INTERVAL = 60*10 # start with one push every 10 minutes
PUSH_INTERVAL_MAX = 60*60*24 # max out the backoff at 1 push per day
PUSH_INTERVAL_BACKOFF = 1.25
SERVER = 'klive.cpushare.com'
PORT = 4921
Interesting, I see the bash script now, but I don't remember seeing it last week.
Thanks for pointing that out.
Re:Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:2)
I disagree. This is nothing other than a user mode utility that greps
Just curious,
Enjoy.
Re:Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:1)
Maybe I should rethink my assertion - we spent a long time getting userland stuff out of the kernel - the last thing we wanna do is cram it back in.
What could we do though? Are there any standards? Do I trust this guys python script? Do I trust his coding? Shouldn't this maybe be hosted on kernel.org? Maybe this is the start of a new race
Re:Fine Idea#21 SMP Tue Aug 30 19:54:34 WST 2005 (Score:2)
Awww fuck it, back to more beer.
Now drinking beer here myself, cheers
Andrea Arcangeli is a well known / better kernel programmer than I am, so I kinda trust him. I downloaded his KLive files and viewed the source. I was annoyed to find a bunch of 'grep ' calls to
Re:Linux Spyware (Score:2)
Luckily this "spyware" doesn't install and run itself under the radar.
Re:Once again Linux enters QA 101 (Score:1)
Re:Once again Linux enters QA 101 (Score:2)
You're looking at it backwards: It's amazing that a software project as solid, reliable, and high-performance as Linux got that way without a "traditional" quality assurance process.
The note to take away is not that Linux is a piece of junk because it lacked a formal QA cycle, but that true software quality doesn't proceed from a formal QA cycle (though it can help).
Schwab
Been there for years... (Score:2)
Re:Been there for years... (Score:1)
klive seems to be a nice thing. but, it feels like old news for some reason (perhaps is because i read it some time ago in kerneltrap but an article in
and the last factor, perhaps just flame-war-like, is that it's written in python! yikes! but, if it serves the purpose and it's done well.. w
Re:Been there for years... (Score:3, Insightful)
Oh geez. (Score:1)
Re:Oh geez. (Score:1)
Somewhat like the Linux Counter.... (Score:2)
Tidbit: Linux 2.6 is now running on more than half the computers tracked.
Spyware? (Score:1)
Of course it's not spyware for a linux power-user. We tweak our kernels all the time: "Oh, damn it, my new bluetooth device need the module bt_frobniz, guess I'll just make menuconfig, etc. to install it."
However, linux is growing up. We have a number of distros out there that are supposedly targeting new or casual users, those that might never fiddle with their .config (even if they do upgrade their kernel, it's probably through an automated tool).
Twisted (Score:4, Insightful)
You know, I don't know what universe these folk are living in, but this "python-twisted" package or whatever it is called is absolutely NOT included in every Linux distribution.
Slackware - oldest living Linux distribution - does NOT have this twisted thing in it.
You would think that the developers would use a standard programming language - like C - for something like this...(gr&d)
Re:Twisted (Score:2)
I hate to tell the author, but we have been doing this with a twenty line shell script in all our linux clients for years. Cron calls shell script, shell script calls grep/cut/wc to gather info from
Re:Twisted (Score:1)
That, shoddy documentation, unfixed bugs (as long as they only impact unimportant people - see the X servers locks up your system on switch to a text VC and the Adaptec SCSI driver blocks an APM/ACPI sleep attempt and goes into a permanent 100% CPU spin loop for example), abandoned projects, and re-inventing the wheel 1000 times.
Look, Slashdot still hasn't fixed the "It's been x minutes since you last posted" bug. For months!
Re:Twisted (Score:2)
BTW, the internet made it easier to see peoples mistakes (Failed OSS Projects). It also makes it easier to see the successes (GiMP, Linux, etc).
No dis-respect intended,
Enjoy.
Re:Twisted (Score:1)
Linux would likely have 15% of the desktop market or at the very least, 50% of what Apple has now if these issues were addressed.
Linux has the geeks as customers.
Now with every increase of market share they need to pickup customers who are more and more demanding, and less and less forgiving.
And even geeks get tired of fiddling with stuff just to get it to work. Also, someone interested in TCP/IP, or game writ
Uptime metric seems fairly useless (Score:1)
Coupled with meaningfu
heh (Score:2)
How can something this open be spyware? (Score:2)
Spyware? How? (Score:2)