[Fuego] [PATCH 14/29] bonnie: use sync not a sleep

Bird, Timothy Tim.Bird at sony.com
Tue Jul 25 00:16:59 UTC 2017


OK.

> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Sent: Friday, July 21, 2017 1:02 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 14/29] bonnie: use sync not a sleep
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
>  engine/tests/Benchmark.bonnie/fuego_test.sh | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/engine/tests/Benchmark.bonnie/fuego_test.sh
> b/engine/tests/Benchmark.bonnie/fuego_test.sh
> index d94dce4..688d9da 100755
> --- a/engine/tests/Benchmark.bonnie/fuego_test.sh
> +++ b/engine/tests/Benchmark.bonnie/fuego_test.sh
> @@ -19,13 +19,12 @@ function test_run {
>      hd_test_mount_prepare $BENCHMARK_BONNIE_MOUNT_BLOCKDEV
> $BENCHMARK_BONNIE_MOUNT_POINT
> 
>      if [ "$BENCHMARK_BONNIE_ROOT" == "true" ]; then
> -        report "cd $BOARD_TESTDIR/fuego.$TESTDIR; pwd; ls; ./bonnie\+\+ -d
> $BENCHMARK_BONNIE_MOUNT_POINT/fuego.$TESTDIR -u 0:0 -s
> $BENCHMARK_BONNIE_SIZE -r $BENCHMARK_BONNIE_RAM"
> +        report "cd $BOARD_TESTDIR/fuego.$TESTDIR; pwd; ls; ./bonnie\+\+ -d
> $BENCHMARK_BONNIE_MOUNT_POINT/fuego.$TESTDIR -u 0:0 -s
> $BENCHMARK_BONNIE_SIZE -r $BENCHMARK_BONNIE_RAM -m
> $NODE_NAME"
>      else
>          report "cd $BOARD_TESTDIR/fuego.$TESTDIR; pwd; ls; ./bonnie\+\+ -d
> $BENCHMARK_BONNIE_MOUNT_POINT/fuego.$TESTDIR -s
> $BENCHMARK_BONNIE_SIZE -r $BENCHMARK_BONNIE_RAM"
>      fi
> 
> -    # FIXTHIS: what is this sleep for? a replacement for sync?
> -    sleep 60
> +    sync
> 
>      hd_test_clean_umount $BENCHMARK_BONNIE_MOUNT_BLOCKDEV
> $BENCHMARK_BONNIE_MOUNT_POINT
>  }
> --
> 2.7.4
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list