Share via


File System Partition Test Module

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The file system partition test module, S2_db.dll, exercises file system partitions on devices such as Compact Flash cards, IDE hard disks, USB storage devices, and so on. When the test module starts, it generates a list of database volumes to test. This list includes a default object store database volume, a mounted database volume named StressTestVolume on the file system for the object store, and a mounted database volume named StressTestVolume on each mounted file allocation table (FAT) file system partition.

In each database volume, the first instance of the test module deletes and re-creates test databases named StressTestDB. For each test iteration, the test module randomly selects a database volume from the list and performs one of the following operations:

  • Enumerates mounted database volumes
  • Enumerates databases in the chosen volume
  • Flushes the chosen database volume
  • Flushes all database volumes
  • Reads the entire contents of a random database in the chosen volume
  • Reads database information for a random database in the chosen volume
  • Creates random records in the test database in the chosen volume
  • Deletes random records in the test database in the chosen volume

The test module can run as many as three simultaneous threads.

This test module does not require a server and does not accept any command line options.

Prior to starting this test module, mount FAT file system partitions for which database volumes are to be tested. Partitions mounted after the test module initializes are not tested. If there are no mounted FAT partitions, only the default object store database volume and a mounted object store database volume are tested.

See Also

Other Resources

Test Modules for the Windows Embedded CE Stress Tool