Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Software Linux

Stress-Testing The Linux Kernel 9

An anonymous reader writes "Automating software testing allows you to run the same tests over a period of time, ensuring that you are really comparing apples to apples and oranges to oranges. In this article, Linux Test Project team members share their methodology and rationale, as well as the scripts and tools they use to stress-test the Linux kernel."
This discussion has been archived. No new comments can be posted.

Stress-Testing The Linux Kernel

Comments Filter:
  • other area testing (Score:4, Interesting)

    by colinleroy ( 592025 ) on Thursday July 01, 2004 @10:38AM (#9581987) Homepage
    The tests covered in the article don't cover other user-related stuff in the kernel. One day, when i'll have enough motivation, i'll write a small script testing :
    • video (3D)
    • sound (alsa, oss-emulation)
    • third-party modules state (like linux-wlan-ng)
    • usb printer
    • usb key
    • usb modem
    • ...
    Too many times I missed a problem after a kernel upgrade, and lost time wondering "when did it stop working". I seem to always forget to test the broken thing each time I upgrade ;-)
    • by arodland ( 127775 )
      Raw 3D performance really has nothing to do with the kernel; if something in the kernel is acting as a bottleneck to 3D performance, it would show up in other places, too. That said, a suitable 3D test on a fast card might serve as a test of really fast IO. But so would 10GigE ;)
      • Well, I put that in my list because, as much as it doesn't seem kernel-related, there has been a bug in one of the last DRM merge in the kernel, causing AGP access by X to fail (and thus falling back to PCI mode). This slowed glxgears by a factor of four on my laptop...
        The bug was due to some 2.4 related code not being stripped when merged in the 2.6 kernel, but the #ifdef guardian itself had been stripped. See this changeset [bkbits.net].
  • by Anonymous Coward on Thursday July 01, 2004 @10:49AM (#9582116)
    it's REALLY [eu.org] done
  • Stress testing. (Score:4, Informative)

    by BrookHarty ( 9119 ) on Thursday July 01, 2004 @01:50PM (#9584390) Journal
    We use all types of telco hardware running private OS's in a production enviroment. We patch on a regular basis, because there is no way to load test this hardware. Enabling new functionality or modifing the enviroment pops up new problems, new software upgrades on connected resources can spring up new problems on a daily basis.

    Its amazing, its like whack a mole, it never gets stable. You spend your time fixing one problem to move onto a new one that pops up with some new feature or alteration becomes production.

    Linux wants to be the OS of choice for production enviroments, 5 nine hardware for critical applications need some kind of testing.

    Don't think of a webserver, think of a dozen servers talking multiple protocols to each other over multiple mediums all changing the data in realtime. Its easy for memory leaks, timing issues, or corruption to appear.

    I guess its good to be a vendor, since the customer will have to pay support contracts to the end of time.

    This is why I laugh at IBM's "Servers are self healing" commericals, while its nice in theory, they make too much money off contracts.
  • Stress testing (Score:4, Informative)

    by Anonymous Coward on Thursday July 01, 2004 @02:44PM (#9585032)
    Stress testing is a complicated subject. For basic system stress you can use stress [freshmeat.net], but often you want more specific tools like siege [freshmeat.net] or mysqlstress [freshmeat.net]. None of them can precisely replicate the exact stress patterns that trigger bugs in real-world Linux deployments. What is needed is a tool that can capture system calls and "play them back" exactly as they occurred.

The 11 is for people with the pride of a 10 and the pocketbook of an 8. -- R.B. Greenberg [referring to PDPs?]

Working...