xref: /netbsd-src/external/bsd/iscsi/dist/doc/PERFORMANCE (revision 2f24582978112bccc072c8d33b43050a4f554290)
1*2f245829Sagc
2*2f245829Sagc----------------------
3*2f245829SagcUSER LEVEL PERFORMANCE
4*2f245829Sagc----------------------
5*2f245829Sagc
6*2f245829SagcIf your system is correctly configured with GbE and a GHz processor,
7*2f245829Sagcyou should expect user level iSCSI performance similar to the following.
8*2f245829SagcThis output was generated by running utest against a target running uramdisk.
9*2f245829Sagc
10*2f245829Sagc##BEGIN DEVICE-SPECIFIC TESTS[0:0]##
11*2f245829Sagcread_capacity PASSED
12*2f245829Sagcwrite_read_test PASSED
13*2f245829Sagcintegrity_test PASSED
14*2f245829SagcSCSI op 0x28: 1000 iters in 0.24 sec --> 244.38 usec
15*2f245829SagcSCSI op 0x2a: 1000 iters in 0.25 sec --> 249.78 usec
16*2f245829SagcSCSI op 0x25: 1000 iters in 0.25 sec --> 250.12 usec
17*2f245829Sagc8192 bytes/request: 8 MB written in 0.33 seconds --> 24.35 MB/sec
18*2f245829Sagc16384 bytes/request: 8 MB written in 0.30 seconds --> 26.74 MB/sec
19*2f245829Sagc32768 bytes/request: 8 MB written in 0.20 seconds --> 39.06 MB/sec
20*2f245829Sagc65536 bytes/request: 8 MB written in 0.15 seconds --> 52.95 MB/sec
21*2f245829Sagc131072 bytes/request: 8 MB written in 0.12 seconds --> 66.74 MB/sec
22*2f245829Sagc262144 bytes/request: 8 MB written in 0.10 seconds --> 77.76 MB/sec
23*2f245829Sagc8192 bytes/request: 8 MB read in 0.37 seconds --> 21.34 MB/sec
24*2f245829Sagc16384 bytes/request: 8 MB read in 0.19 seconds --> 41.47 MB/sec
25*2f245829Sagc32768 bytes/request: 8 MB read in 0.13 seconds --> 62.04 MB/sec
26*2f245829Sagc65536 bytes/request: 8 MB read in 0.11 seconds --> 70.99 MB/sec
27*2f245829Sagc131072 bytes/request: 8 MB read in 0.10 seconds --> 83.62 MB/sec
28*2f245829Sagc262144 bytes/request: 8 MB read in 0.09 seconds --> 92.38 MB/sec
29*2f245829Sagc##END DEVICE-SPECIFIC TESTS[0:0]##
30*2f245829Sagc
31*2f245829Sagc------------------------
32*2f245829SagcKERNEL LEVEL PERFORMANCE
33*2f245829Sagc------------------------
34*2f245829Sagc
35*2f245829SagcKernel level performance (ktest to kramdisk.o) should be similar to the output
36*2f245829Sagcshown below.  Note that this test does not go through the linux storage stack,
37*2f245829Sagcbut is rather a kernel level iSCSI test with no attached filesystem or SCSI
38*2f245829Sagcmidlayer.
39*2f245829Sagc
40*2f245829SagcThis output was generated by installing the module intel_iscsi.o and then
41*2f245829Sagcrunning "ktest <device>" where <device> is one of your iscsi devices (e.g,
42*2f245829Sagc/dev/sdb).  Although you specify a single device on the command line, all
43*2f245829Sagctarget devices are tested.
44*2f245829Sagc
45*2f245829Sagc##BEGIN DEVICE-SPECIFIC TESTS[0:0]##
46*2f245829Sagcread_capacity PASSED
47*2f245829Sagcwrite_read_test PASSED
48*2f245829Sagcintegrity_test PASSED
49*2f245829SagcSCSI op 0x28: 1000 iters in 25 jiffies --> 250 usec
50*2f245829SagcSCSI op 0x2a: 1000 iters in 25 jiffies --> 250 usec
51*2f245829SagcSCSI op 0x25: 1000 iters in 25 jiffies --> 250 usec
52*2f245829Sagc8192 bytes/request: 8388608 bytes written in 38 jiffies --> ~ 21 MB/second
53*2f245829Sagc16384 bytes/request: 8388608 bytes written in 38 jiffies --> ~ 21 MB/second
54*2f245829Sagc32768 bytes/request: 8388608 bytes written in 23 jiffies --> ~ 34 MB/second
55*2f245829Sagc65536 bytes/request: 8388608 bytes written in 16 jiffies --> ~ 50 MB/second
56*2f245829Sagc131072 bytes/request: 8388608 bytes written in 12 jiffies --> ~ 66 MB/second
57*2f245829Sagc262144 bytes/request: 8388608 bytes written in 10 jiffies --> ~ 79 MB/second
58*2f245829Sagc8192 bytes/request: 8388608 bytes read in 26 jiffies --> ~ 30 MB/second
59*2f245829Sagc16384 bytes/request: 8388608 bytes read in 20 jiffies --> ~ 39 MB/second
60*2f245829Sagc32768 bytes/request: 8388608 bytes read in 12 jiffies --> ~ 66 MB/second
61*2f245829Sagc65536 bytes/request: 8388608 bytes read in 12 jiffies --> ~ 66 MB/second
62*2f245829Sagc131072 bytes/request: 8388608 bytes read in 10 jiffies --> ~ 79 MB/second
63*2f245829Sagc262144 bytes/request: 8388608 bytes read in 9 jiffies --> ~ 88 MB/second
64*2f245829Sagc##END DEVICE-SPECIFIC TESTS[0:0]##
65