23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

19.2.1 sgpdd_survey<br />

Use the sgpdd_survey tool to test bare metal performance, while bypassing as<br />

much of the kernel as possible. This script requires the sgp_dd package, although it<br />

does not require <strong>Lustre</strong> software. This survey may be used to characterize the<br />

performance of a SCSI device by simulating an OST serving multiple stripe files. The<br />

data gathered by this survey can help set expectations for the performance of a<br />

<strong>Lustre</strong> OST exporting the device.<br />

The script uses sgp_dd to carry out raw sequential disk I/O. It runs with variable<br />

numbers of sgp_dd threads to show how performance varies with different request<br />

queue depths.<br />

The script spawns variable numbers of sgp_dd instances, each reading or writing a<br />

separate area of the disk to demonstrate performance variance within a number of<br />

concurrent stripe files.<br />

The device(s) used must meet one of the two tests described below:<br />

SCSI device:<br />

Must appear in the output of sg_map (make sure the kernel module "sg" is loaded)<br />

Raw device:<br />

Must appear in the output of raw -qa<br />

If you need to create raw devices in order to use the sgpdd_survey tool, note that<br />

raw device 0 cannot be used due to a bug in certain versions of the "raw" utility<br />

(including that shipped with RHEL4U4.)<br />

You may not mix raw and SCSI devices in the test specification.<br />

Caution – The sgpdd_survey script overwrites the device being tested, which<br />

results in the LOSS OF ALL DATA on that device. Exercise caution when selecting<br />

the device to be tested.<br />

Chapter 19 <strong>Lustre</strong> I/O Kit 19-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!