public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Kernel stress testing coverage
@ 2001-03-08 20:57 Paul Larson
  2001-03-08 22:08 ` Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Larson @ 2001-03-08 20:57 UTC (permalink / raw)
  To: linux-kernel


Alan Cox <alan@lxorguk.ukuu.org.uk> on 03/08/2001 02:06:06 PM

To:   Paul Larson/Austin/IBM@ibmus
cc:
Subject:  Re: Kernel stress testing coverage



>One thing I've been using for coverage (at least some coverage) is the
posix
>test suite

--------------------------

Are you talking about the same posix test suite that LSB is using?  I've
looked into that a little, but here are the two problems I'm wanting to
address:

1. How much of the kernel is getting hit on a run of any given test?  Even
an approximate percentage is fine as long as I can prove it.

2. I could run many many copies simultaneously I suppose and get some
stress, but I'd prefer to stress individual pieces one at a time.  Those
pieces could then be mixed together in later runs for mixed load stress.
Additional mixed load tests will be performed with general applications
(web servers, databases, etc) for more of a "real world" environment, but I
want to have focused tests as well.

I'm betting that there are probably a LOT of quick and dirty test programs
that kernel hackers have written to expose a problem or thoroughly test a
piece of the kernel that they modified.  These type of things would be
FYI this project will be going on sourceforge very soon.  I want to have a
little more to start out with though and finish putting together a good
project description, testplans, etc. to post as soon as we put it on there.
I hate it when people start projects and you don't see any good information
about it for weeks.

Thanks,
Paul Larson


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Kernel stress testing coverage
@ 2001-03-08 19:52 Paul Larson
  2001-03-08 21:28 ` Jeff Dike
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Larson @ 2001-03-08 19:52 UTC (permalink / raw)
  To: linux-kernel

I'm looking for some advice from all of you that know and understand the
Linux kernel so well.  I'm not a kernel developer, but I want to do some
verification work on it, namely stress testing to begin with.  I'm working
on putting together a suite of tests to test the linux kernels under stress
loads for extended runs.  I'll be doing these tests on a mixture of
machines, but most of my focus will be on 2-way, 4-way and 8-way smp
machines.
We've been using some open source tools such as bonnie (for filesystem
stress), but I welcome suggestions for others that will provide good
coverage.  To fill in the gaps, we'll probably be developing our own
testcases.  We have no problems generating mixed loads, and even maxing out
8-way SMP servers for long periods of time, but to be useful, I want to
make sure that whatever tests we are running are getting good coverage of
the kernel code.
Is there any way to see what pieces of the kernel or even percentage we are
hitting with any given test?  I've heard of tools like gcov for doing this
with applications, but the kernel itself seems like it might require
something more.  Are there any ideas you can suggest for writing tests that
will hit as much code as possible in any given section of the kernel like
FS, MM, Scheduler, IPC?  What major sections (like those I previously
mentioned) should I be focused on trying to hit?
All the tests we are writing will be open source of course, and I welcome
any input you may provide.

Thanks,
Paul Larson
Please reply to: plars@us.ibm.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-03-15 12:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-08 20:57 Kernel stress testing coverage Paul Larson
2001-03-08 22:08 ` Alan Cox
2001-03-08 22:37 ` Roger Larsson
2001-03-15 12:17 ` Anton Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2001-03-08 19:52 Paul Larson
2001-03-08 21:28 ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox