tstVDIo.vd revision bb484afafb695b91be903f715d49d8c01426da27
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * Storage: Simple I/O testing for most backends.
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * Copyright (C) 2011-2013 Oracle Corporation
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * available from http://www.virtualbox.org. This file is free software;
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * you can redistribute it and/or modify it under the terms of the GNU
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * General Public License (GPL) as published by the Free Software
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync create("test", "base", "tst.disk", "dynamic", strBackend, 200M, false /* fIgnoreFlush */);
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", true, 32, "seq", 64K, 0, 200M, 200M, 100, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", false, 1, "seq", 64K, 0, 200M, 200M, 100, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", true, 32, "seq", 64K, 0, 200M, 200M, 0, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", false, 1, "seq", 64K, 0, 200M, 200M, 0, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync create("test", "diff", "tst2.disk", "dynamic", strBackend, 200M, false /* fIgnoreFlush */);
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", true, 32, "rnd", 64K, 0, 200M, 200M, 50, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", false, 1, "rnd", 64K, 0, 200M, 200M, 50, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync create("test", "diff", "tst3.disk", "dynamic", strBackend, 200M, false /* fIgnoreFlush */);
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", true, 32, "rnd", 64K, 0, 200M, 200M, 50, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync io("test", false, 1, "rnd", 64K, 0, 200M, 200M, 50, "none");
bb484afafb695b91be903f715d49d8c01426da27vboxsyncvoid tstIoUnaligned(string strMessage, string strBackend)
bb484afafb695b91be903f715d49d8c01426da27vboxsync create("test", "base", "tst.disk", "dynamic", strBackend, 2G, false);
bb484afafb695b91be903f715d49d8c01426da27vboxsync io("test", false, 1, "seq", 512, 3584, 4096, 512, 100, "none");
bb484afafb695b91be903f715d49d8c01426da27vboxsync io("test", false, 1, "seq", 512, 3584, 4096, 512, 0, "none");
1839eb6c2f3526b276ac2dcf3deae74f6ef8af44vboxsync /* Init I/O RNG for generating random data for writes */