• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "Masoud S <masouds@google.com>"
2NAME = "aio stress"
3TEST_CATEGORY = "Stress"
4TEST_CLASS = "Kernel"
5TIME = "SHORT"
6TEST_TYPE = "client"
7DOC = """\
8aio-stress
9
10will open or create each file on the command line, and start a series
11of aio to it.
12
13aio is done in a rotating loop.  first file1 gets 8 requests, then
14file2, then file3 etc.  As each file finishes writing, it is switched
15to reads
16
17io buffers are aligned in case you want to do raw io
18
19This test takes less than a minute. It ends up writing and reading less
20than a few Megs. It is a sequential workload. This test stresses the aio
21interface not the disk, or kernel.
22"""
23
24job.run_test('aiostress')
25