Dell Brocade 815 Brocade Adapters Troubleshooting Guide - Page 137

Performance Optimization, In this Tuning storage drivers, Linux tuning

Page 137 highlights

Performance Optimization Chapter 4 In this chapter •Tuning storage drivers 113 •Tuning network drivers (CNA or NIC 116 Tuning storage drivers This section provides resources for optimizing performance in adapters by tuning the unified storage drivers on Linux, Windows, Solaris, and VMware systems. To optimize performance for CNAs and Fabric Adapter ports configured in CNA or NIC mode, also use resources under "Tuning network drivers (CNA or NIC)" on page 116. Linux tuning Linux disk I/O scheduling reorders, delays, and merges requests to achieve better throughput and lower latency than would happen if all the requests were sent straight to the disk. Linux 2.6 has four different disk I/O schedulers: noop, deadline, anticipatory and completely fair queuing. Enabling the "noop" scheduler avoids any delays in queuing of I/O commands. This helps in achieving higher I/O rates by queuing multiple outstanding I/O requests to each disk. To enable the noop scheduler, run the following commands on your system. for i in /sys/block/sd[b-z]/queue/scheduler do echo noop > $i done NOTE You must disable the default scheduler because it is not tuned for achieving the maximum I/O performance. For performance tuning on Linux, refer to the following publications: • Workload Dependent Performance Evaluation of the Linux 2.6 IO Schedulers Heger, D., Pratt, S., Linux Symposium, Ottawa, Canada, July 2004 • Optimizing Linux Performance HP Professional Books, ISBN: 0-13-148682-9 • Performance Tuning for Linux Servers Sandra K. Johnson, Gerrit Huizenga, Badari Pulavarty, IBM Press, ISBN: 013144753X • Linux Kernel Development Brocade Adapters Troubleshooting Guide 113 53-1002145-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172

Brocade Adapters Troubleshooting Guide
113
53-1002145-01
Chapter
4
Performance Optimization
In this chapter
Tuning storage drivers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Tuning network drivers (CNA or NIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Tuning storage drivers
This section provides resources for optimizing performance in adapters by tuning the unified
storage drivers on Linux, Windows, Solaris, and VMware systems. To optimize performance for
CNAs and Fabric Adapter ports configured in CNA or NIC mode, also use resources under
“Tuning
network drivers (CNA or NIC)”
on page 116.
Linux tuning
Linux disk I/O scheduling reorders, delays, and merges requests to achieve better throughput and
lower latency than would happen if all the requests were sent straight to the disk. Linux 2.6 has
four different disk I/O schedulers: noop, deadline, anticipatory and completely fair queuing.
Enabling the “noop” scheduler avoids any delays in queuing of I/O commands. This helps in
achieving higher I/O rates by queuing multiple outstanding I/O requests to each disk.
To enable the noop scheduler, run the following commands on your system.
for i in /sys/block/sd[b-z]/queue/scheduler
do
echo noop > $i
done
NOTE
You must disable the default scheduler because it is not tuned for achieving the maximum I/O
performance.
For performance tuning on Linux, refer to the following publications:
Workload Dependent Performance Evaluation of the Linux 2.6 IO Schedulers
Heger, D., Pratt, S., Linux Symposium, Ottawa, Canada, July 2004
Optimizing Linux Performance
HP Professional Books, ISBN: 0-13-148682-9
Performance Tuning for Linux Servers
Sandra K. Johnson, Gerrit Huizenga, Badari Pulavarty, IBM Press, ISBN: 013144753X
Linux Kernel Development