From 26fa1171e37656a60cb53d30bc52a6b9e5fb8c53 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 4 Aug 2016 17:06:30 -0600 Subject: [PATCH] LUDOC-349 utils: remove loadgen documentation The loadgen tool was removed by http://review.whamcloud.com/12395 "LU-2675 utils: remove loadgen" and should not be in the manual. Signed-off-by: Andreas Dilger Change-Id: Ia05ec8180fbf4c3b74f511962835a46c419b4338 Reviewed-on: http://review.whamcloud.com/21731 Tested-by: Jenkins --- SystemConfigurationUtilities.xml | 109 --------------------------------------- 1 file changed, 109 deletions(-) diff --git a/SystemConfigurationUtilities.xml b/SystemConfigurationUtilities.xml index c4d65c2..40a179d 100644 --- a/SystemConfigurationUtilities.xml +++ b/SystemConfigurationUtilities.xml @@ -2615,115 +2615,6 @@ Application Profiling Utilities Testing / Debugging Utilities Lustre offers the following test and debugging utilities.
- <indexterm><primary>loadgen</primary></indexterm> -loadgen - The Load Generator (loadgen) is a test program designed to simulate large numbers of Lustre clients connecting and writing to an OST. The loadgen utility is located at lustre/utils/loadgen (in a build directory) or at /usr/sbin/loadgen (from an RPM). - Loadgen offers the ability to run this test: - - - Start an arbitrary number of (echo) clients. - - - Start and connect to an echo server, instead of a real OST. - - - Create/bulk_write/delete objects on any number of echo clients simultaneously. - - - Currently, the maximum number of clients is limited by MAX_OBD_DEVICES and the amount of memory available. -
-
- Usage - The loadgen utility can be run locally on the OST server machine or remotely from any LNET host. The device command can take an optional NID as a parameter; if unspecified, the first local NID found is used. - The obdecho module must be loaded by hand before running loadgen. - # cd lustre/utils/ -# insmod ../obdecho/obdecho.ko -# ./loadgen -loadgen> h -This is a test program used to simulate large numbers of clients. The echo \ -obds are used, so the obdecho module must be loaded. - -Typical usage would be: -loadgen> dev lustre-OST0000 set the target device -loadgen> start 20 start 20 echo clients -loadgen> wr 10 5 have 10 clients do simultaneous brw_write \ -tests 5 times each - -Available commands are: - device - dl - echosrv - start - verbose - wait - write - help - exit - quit - -For more help type: help command-name -loadgen> -loadgen> device lustre-OST0000 192.168.0.21@tcp -Added uuid OSS_UUID: 192.168.0.21@tcp -Target OST name is 'lustre-OST0000' -loadgen> -loadgen> st 4 -start 0 to 4 -./loadgen: running thread #1 -./loadgen: running thread #2 -./loadgen: running thread #3 -./loadgen: running thread #4 -loadgen> wr 4 5 -Estimate 76 clients before we run out of grant space (155872K / 2097152) -1: i0 -2: i0 -4: i0 -3: i0 -1: done (0) -2: done (0) -4: done (0) -3: done (0) -wrote 25MB in 1.419s (17.623 MB/s) -loadgen> - - The loadgen utility prints periodic status messages; message output can be controlled with the verbose command. - To insure that a file can be written to (a requirement of write cache), OSTs reserve ("grants"), chunks of space for each newly-created file. A grant may cause an OST to report that it is out of space, even though there is plenty of space on the disk, because the space is "reserved" by other files. The loadgen utility estimates the number of simultaneous open files as the disk size divided by the grant size and reports that number when the write tests are first started. - Echo Server - The loadgen utility can start an echo server. On another node, loadgen can specify the echo server as the device, thus creating a network-only test environment. - loadgen> echosrv -loadgen> dl - 0 UP obdecho echosrv echosrv 3 - 1 UP ost OSS OSS 3 - - On another node: - loadgen> device echosrv cfs21@tcp -Added uuid OSS_UUID: 192.168.0.21@tcp -Target OST name is 'echosrv' -loadgen> st 1 -start 0 to 1 -./loadgen: running thread #1 -loadgen> wr 1 -start a test_brw write test on X clients for Y iterations -usage: write <num_clients> <num_iter> [<delay>] -loadgen> wr 1 1 -loadgen> -1: i0 -1: done (0) -wrote 1MB in 0.029s (34.023 MB/s) - - Scripting - The threads all perform their actions in non-blocking mode; use the wait command to block for the idle state. For example: - #!/bin/bash -./loadgen << EOF -device lustre-OST0000 -st 1 -wr 1 10 -wait -quit -EOF - -
-
<indexterm><primary>lr_reader</primary></indexterm> lr_reader The lr_reader utility translates the content of the last_rcvd and reply_data files into human-readable form. -- 1.8.3.1