The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/man/man1/raidz_test.1

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 .\"
    2 .\" CDDL HEADER START
    3 .\"
    4 .\" The contents of this file are subject to the terms of the
    5 .\" Common Development and Distribution License (the "License").
    6 .\" You may not use this file except in compliance with the License.
    7 .\"
    8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    9 .\" or https://opensource.org/licenses/CDDL-1.0.
   10 .\" See the License for the specific language governing permissions
   11 .\" and limitations under the License.
   12 .\"
   13 .\" When distributing Covered Code, include this CDDL HEADER in each
   14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
   15 .\" If applicable, add the following below this CDDL HEADER, with the
   16 .\" fields enclosed by brackets "[]" replaced with your own identifying
   17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
   18 .\"
   19 .\" CDDL HEADER END
   20 .\"
   21 .\" Copyright (c) 2016 Gvozden Nešković. All rights reserved.
   22 .\"
   23 .Dd May 26, 2021
   24 .Dt RAIDZ_TEST 1
   25 .Os
   26 .
   27 .Sh NAME
   28 .Nm raidz_test
   29 .Nd raidz implementation verification and benchmarking tool
   30 .Sh SYNOPSIS
   31 .Nm
   32 .Op Fl StBevTD
   33 .Op Fl a Ar ashift
   34 .Op Fl o Ar zio_off_shift
   35 .Op Fl d Ar raidz_data_disks
   36 .Op Fl s Ar zio_size_shift
   37 .Op Fl r Ar reflow_offset
   38 .
   39 .Sh DESCRIPTION
   40 The purpose of this tool is to run all supported raidz implementation and verify
   41 the results of all methods.
   42 It also contains a parameter sweep option where all
   43 parameters affecting a RAID-Z block are verified (like ashift size, data offset,
   44 data size, etc.).
   45 The tool also supports a benchmarking mode using the
   46 .Fl B
   47 option.
   48 .
   49 .Sh OPTION
   50 .Bl -tag -width "-B(enchmark)"
   51 .It Fl h
   52 Print a help summary.
   53 .It Fl a Ar ashift Pq default: Sy 9
   54 Ashift value.
   55 .It Fl o Ar zio_off_shift Pq default: Sy 0
   56 ZIO offset for each raidz block.
   57 The offset's value is
   58 .Em 2^zio_off_shift .
   59 .It Fl d Ar raidz_data_disks Pq default: Sy 8
   60 Number of raidz data disks to use.
   61 Additional disks will be used for parity.
   62 .It Fl s Ar zio_size_shift Pq default: Sy 19
   63 Size of data for raidz block.
   64 The real size is
   65 .Em 2^zio_size_shift .
   66 .It Fl r Ar reflow_offset Pq default: Sy uint max
   67 Set raidz expansion offset.
   68 The expanded raidz map allocation function will
   69 produce different map configurations depending on this value.
   70 .It Fl S Ns Pq weep
   71 Sweep parameter space while verifying the raidz implementations.
   72 This option
   73 will exhaust all most of valid values for the
   74 .Fl aods
   75 options.
   76 Runtime using this option will be long.
   77 .It Fl t Ns Pq imeout
   78 Wall time for sweep test in seconds.
   79 The actual runtime could be longer.
   80 .It Fl B Ns Pq enchmark
   81 All implementations are benchmarked using increasing per disk data size.
   82 Results are given as throughput per disk, measured in MiB/s.
   83 .It Fl e Ns Pq xpansion
   84 Use expanded raidz map allocation function.
   85 .It Fl v Ns Pq erbose
   86 Increase verbosity.
   87 .It Fl T Ns Pq est the test
   88 Debugging option: fail all tests.
   89 This is to check if tests would properly verify bit-exactness.
   90 .It Fl D Ns Pq ebug
   91 Debugging option: attach
   92 .Xr gdb 1
   93 when
   94 .Sy SIGSEGV
   95 or
   96 .Sy SIGABRT
   97 are received.
   98 .El
   99 .
  100 .Sh "SEE ALSO"
  101 .Xr ztest 1

Cache object: 8136d2ec0019958db88a07e1686f1a37


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.