VirtualBox

source: vbox/trunk/src/VBox/Storage/testcase/tstVDIo.vd@ 38413

Last change on this file since 38413 was 38413, checked in by vboxsync, 13 years ago

VD/Parallels: Cleanup, fixes and implement support for parallels image creation to make I/O testing possible

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1# $Id: tstVDIo.vd 38413 2011-08-11 11:18:44Z vboxsync $
2#
3# Storage: Simple I/O testing for most backends.
4#
5
6#
7# Copyright (C) 2011 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18# Init I/O RNG for generating random data for writes
19iorngcreate size=10M mode=manual seed=1234567890
20
21# VMDK disk
22print msg=Testing_VMDK
23createdisk name=test verify=yes
24create disk=test mode=base name=tstShared.vmdk type=dynamic backend=VMDK size=200M
25io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
26io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
27create disk=test mode=diff name=tstShared2.vmdk type=dynamic backend=VMDK size=200M
28io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
29create disk=test mode=diff name=tstShared3.vmdk type=dynamic backend=VMDK size=200M
30io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
31close disk=test mode=single delete=yes
32close disk=test mode=single delete=yes
33close disk=test mode=single delete=yes
34destroydisk name=test
35
36# VDI disk
37print msg=Testing_VDI
38createdisk name=test verify=yes
39create disk=test mode=base name=tstShared.vdi type=dynamic backend=VDI size=200M
40io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
41io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
42create disk=test mode=diff name=tstShared2.vdi type=dynamic backend=VDI size=200M
43io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
44create disk=test mode=diff name=tstShared3.vdi type=dynamic backend=VDI size=200M
45io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
46close disk=test mode=single delete=yes
47close disk=test mode=single delete=yes
48close disk=test mode=single delete=yes
49destroydisk name=test
50
51# VHD disk
52print msg=Testing_VHD
53createdisk name=test verify=yes
54create disk=test mode=base name=tstShared.vhd type=dynamic backend=VHD size=200M
55io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
56io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
57create disk=test mode=diff name=tstShared2.vhd type=dynamic backend=VHD size=200M
58io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
59create disk=test mode=diff name=tstShared3.vhd type=dynamic backend=VHD size=200M
60io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
61close disk=test mode=single delete=yes
62close disk=test mode=single delete=yes
63close disk=test mode=single delete=yes
64destroydisk name=test
65
66# Parallels disk
67print msg=Testing_Parallels
68createdisk name=test verify=yes
69create disk=test mode=base name=tstShared.hdd type=dynamic backend=Parallels size=200M
70io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
71io disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
72create disk=test mode=diff name=tstShared2.hdd type=dynamic backend=Parallels size=200M
73io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
74create disk=test mode=diff name=tstShared3.hdd type=dynamic backend=Parallels size=200M
75io disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
76close disk=test mode=single delete=yes
77close disk=test mode=single delete=yes
78close disk=test mode=single delete=yes
79destroydisk name=test
80
81iorngdestroy
82
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette