LU-3962 utils: improve names of iokit tools Some of the names of scripts in the lustre-iokit package are very generic and may easily cause confusion for users, or conflict with other installations. Rename them to more unique names and update the files that reference them. Fix whitespace in renamed files. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Change-Id: I733428467e5604bf9db916491e041253323ebbe5 Reviewed-on: http://review.whamcloud.com/10183 Tested-by: Jenkins Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-3478 iokit: NUMA support in sgpdd-survey This patch provides NUMA support in sgpdd-survey script so that devices can be accessed similarly to threads on Lustre servers. Typically, IO buffers must be located close to cpus that are local to the device. It is based on the "numactl" command and an external command provided by the caller that returns a cpu list from a device. Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net> Change-Id: I42d41a69a2ff24b3384cada9d742f163d3777db2 Reviewed-on: http://review.whamcloud.com/6683 Tested-by: Hudson Reviewed-by: Jian Yu <jian.yu@intel.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-3478 iokit: fix sgpdd-survey scripts (output and plotting) The sgpdd-survey script does not provide minimal and maximal bandwidth of sgp_dd instances. This is important to be able to identify if low LUNs are present. This patch updates the output to display this information, similarly to obdfilter-survey. The plot-sgpdd script is updated to handle this output format change. It is also reorganized to simplify operation handling. Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net> Change-Id: Ie6ad57951dff8c8b2871457652a94df6dccbc491 Reviewed-on: http://review.whamcloud.com/6680 Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Bobbie Lind <bobbie.j.lind@intel.com> Reviewed-by: Cliff White <cliff.white@intel.com> Tested-by: Cliff White <cliff.white@intel.com> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-3154: Fix plot-sgpdd to match new sgpdd-survey output format The fields in sgpdd-survey output have changed. This updates plot-sgpdd to work correctly. One field 'rsz' has changed from numeric to string, new variable added to deal with that. Fix for trailing tabs on two lines. Cleaned up tabs per Andreas. Removed one more trailing tab. Change-Id: I754d5fec6f6aebbc0882386d2734aa6805eb8de5 Signed-off-by: Cliff White <cliffwhi@intel.com> Signed-off-by: Cliff White <cliffw@whamcloud.com> Reviewed-on: http://review.whamcloud.com/6023 Tested-by: Hudson Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
LU-2043 iokit: sgpdd-survey support for multiple servers This patch is an improvement to sgpdd-survey script that allows measurement of raw storage bandwidth of multiple servers sharing storage arrays. Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net> Change-Id: I2506818303ae26cc1a378f3a0da0e081582f988d Reviewed-on: http://review.whamcloud.com/4122 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Jian Yu <jian.yu@intel.com> Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-1617 build: skip generated files in .gitignore Ignore automatically generated files via .gitignore so that a large number of spurious files are not listed at "git commit" time. Also consolidate many duplicate ignored files in the top-level .gitignore file, since we don't need to list the exceptions in every directory like the original .cvsignore files that they were generated from. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Change-Id: I5f9c60dc498f98abcd8c91042fc72408a915500c Reviewed-on: http://review.whamcloud.com/3364 Reviewed-by: Yu Jian <yujian@whamcloud.com> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-817 lustre-iokit: sgpdd-survey is encountering r/w errors on arrays using 2TB drives There are two fix/improvements in sgpdd-survey. (1) adding --lba option to sg_readcap for large LUNs. (2) support configurable boundadry block size between concurrent regions per device. Signed-off-by: Shuichi Ihara <sihara@ddn.com> Change-Id: Ib3cdb051cf55e096919ad63a42640aaacfe511c4 Reviewed-on: http://review.whamcloud.com/1658 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Cliff White <cliffw@whamcloud.com> Reviewed-by: Minh Diep <mdiep@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-515 canonicalize the devices names Perform a readlink on the device name if path is /dev/disk/by-id... See Oracle bug 24487. Change-Id: I964b224d764677d60064901f4238ae77b9cfb5ea Signed-off-by: Wally Wang <wang@cray.com> Signed-off-by: Niu Yawei <niu@whamcloud.com> Reviewed-on: http://review.whamcloud.com/1120 Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Li Wei <liwei@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
Introduce .gitignore files. The top level .gitignore file is new and is an attempt at pulling in some of the common items that you might get for free (by default)with CVS. The other subdir/.gitignore files are translated versions of their corresponding .cvsignore file. Because CVS does not descend into a subdir when applying a ingore rule we have to prepend a "/" to the pathname to get git to behave the same way.
b=11171 r=jitendra,cliffw Some documentation (s/.pl//g) fixes. Add a $rslt_loc variable to set the location of the $rslt file. Defaults to /tmp for backward compatibility. Cleanup some syntax/style: - put $ next to variable names in awk scriptlets - one space on either side of | Make sure the amount of data the sgp_dd is going to write actually fits in the device and suggest reducing $size and exiting with an error if it does not.