2013-08-06 12:29:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG
|
|
|
|
#
|
|
|
|
# Email: frank.liepold@1und1.de
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
|
2013-09-17 10:41:17 +00:00
|
|
|
perftest_action='sync'
|
|
|
|
|
|
|
|
## number of patches the data device will be patched with
|
|
|
|
perftest_number_of_patches_list=(10 10 4 2)
|
|
|
|
|
|
|
|
## list of lengths of the patch (in KB) the data device will be patched with
|
|
|
|
## must correspond to perftest_number_of_patches_list
|
|
|
|
perftest_patch_length_list=(1 50000 500000 1000000)
|
|
|
|
|
|
|
|
|
|
|
|
## proc file to switch sync modus
|
|
|
|
perftest_sync_mode_proc_file='/proc/sys/mars/do_fast_fullsync'
|
|
|
|
|
|
|
|
## data file to user for rsync
|
|
|
|
perftest_data_file=$main_mars_directory/file_to_sync
|
|
|
|
|
2013-11-07 09:33:43 +00:00
|
|
|
resource_fs_on_data_device_necessary=0
|
2013-09-17 10:41:17 +00:00
|
|
|
|
2013-11-07 09:33:43 +00:00
|
|
|
run_list="resource_prepare resource_run_first perftest_run lib_general_checks_after_every_test"
|