1 |
Am 11.06.2014 11:19, schrieb thegeezer: |
2 |
|
3 |
> Hi Stefan, |
4 |
> block size / stripe size mismatches only really penalise random io, if |
5 |
> you are trying to use dd and have slow speeds this would suggest |
6 |
> something else is awry. |
7 |
> I don't know the c600 rad chip personally, but in trying to google it it |
8 |
> appears to be a motherboard based raid device? is it a real raid or |
9 |
> fakeraid? |
10 |
> |
11 |
> I'm a little confused over your setup to help. i'm sorry if there is |
12 |
> duplication but it would be useful to have all info in one hit rather |
13 |
> than trying to piece it together from all your messages. |
14 |
|
15 |
OK, will do ... |
16 |
|
17 |
|
18 |
> 1. please can you list your hardware raid config. I'm looking for the |
19 |
> physical disk sizes, the virtual disks and their raid types. do you have |
20 |
> cache enabled on the raid card, is there a background scrub or anything |
21 |
> like that running? do you have active seek/ prefetch configured ? |
22 |
> parity size being 50% of total size is just odd to me - but i guess |
23 |
> these are mirrors ? but it says raid-level3 --- just odd, most setups |
24 |
> use raid0(not raid) raid1(mirror) raid5(parity stripe) raid6 (double |
25 |
> parity stripe) or combinations, like 50.. raid3 is allocating a single |
26 |
> disk to parity but is very rarely used. |
27 |
|
28 |
Basically 3 RAID-6 hw-raids over 6 SAS hdds. |
29 |
|
30 |
I don't know where this RAID-3 term comes from -> |
31 |
|
32 |
# megacli -LDInfo -Lall -aALL |
33 |
|
34 |
|
35 |
Adapter 0 -- Virtual Drive Information: |
36 |
Virtual Drive: 0 (Target Id: 0) |
37 |
Name :root |
38 |
RAID Level : Primary-6, Secondary-3, RAID Level Qualifier-3 |
39 |
Size : 500.0 GB |
40 |
Sector Size : 512 |
41 |
Is VD emulated : No |
42 |
Parity Size : 250.0 GB |
43 |
State : Optimal |
44 |
Strip Size : 256 KB |
45 |
Number Of Drives : 6 |
46 |
Span Depth : 1 |
47 |
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if |
48 |
Bad BBU |
49 |
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if |
50 |
Bad BBU |
51 |
Default Access Policy: Read/Write |
52 |
Current Access Policy: Read/Write |
53 |
Disk Cache Policy : Disabled |
54 |
Encryption Type : None |
55 |
Bad Blocks Exist: No |
56 |
Is VD Cached: No |
57 |
|
58 |
|
59 |
Virtual Drive: 1 (Target Id: 1) |
60 |
Name :swap |
61 |
RAID Level : Primary-6, Secondary-3, RAID Level Qualifier-3 |
62 |
Size : 8.0 GB |
63 |
Sector Size : 512 |
64 |
Is VD emulated : No |
65 |
Parity Size : 4.0 GB |
66 |
State : Optimal |
67 |
Strip Size : 64 KB |
68 |
Number Of Drives : 6 |
69 |
Span Depth : 1 |
70 |
Default Cache Policy: WriteBack, ReadAheadNone, Cached, No Write Cache |
71 |
if Bad BBU |
72 |
Current Cache Policy: WriteBack, ReadAheadNone, Cached, No Write Cache |
73 |
if Bad BBU |
74 |
Default Access Policy: Read/Write |
75 |
Current Access Policy: Read/Write |
76 |
Disk Cache Policy : Disabled |
77 |
Encryption Type : None |
78 |
Bad Blocks Exist: No |
79 |
Is VD Cached: No |
80 |
|
81 |
|
82 |
Virtual Drive: 2 (Target Id: 2) |
83 |
Name :lvm |
84 |
RAID Level : Primary-6, Secondary-3, RAID Level Qualifier-3 |
85 |
Size : 1.321 TB |
86 |
Sector Size : 512 |
87 |
Is VD emulated : No |
88 |
Parity Size : 676.5 GB |
89 |
State : Optimal |
90 |
Strip Size : 64 KB |
91 |
Number Of Drives : 6 |
92 |
Span Depth : 1 |
93 |
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if |
94 |
Bad BBU |
95 |
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if |
96 |
Bad BBU |
97 |
Default Access Policy: Read/Write |
98 |
Current Access Policy: Read/Write |
99 |
Disk Cache Policy : Disabled |
100 |
Encryption Type : None |
101 |
Bad Blocks Exist: No |
102 |
Is VD Cached: No |
103 |
|
104 |
|
105 |
|
106 |
|
107 |
> 2. how many other devices are actively doing IO? do you have any other |
108 |
> raid cards/io cards of note that might be clashign on the board. |
109 |
|
110 |
The Intel C600 Controller seems to only run the LTO-4-drive in the |
111 |
server while the |
112 |
|
113 |
LSI Logic / Symbios Logic MegaRAID SAS 2108 |
114 |
|
115 |
runs the 6 hard disks. |
116 |
|
117 |
# lspci |
118 |
00:00.0 Host bridge: Intel Corporation Xeon E5/Core i7 DMI2 (rev 07) |
119 |
00:01.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express |
120 |
Root Port 1a (rev 07) |
121 |
00:01.1 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express |
122 |
Root Port 1b (rev 07) |
123 |
00:03.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express |
124 |
Root Port 3a in PCI Express Mode (rev 07) |
125 |
00:05.0 System peripheral: Intel Corporation Xeon E5/Core i7 Address |
126 |
Map, VTd_Misc, System Management (rev 07) |
127 |
00:05.2 System peripheral: Intel Corporation Xeon E5/Core i7 Control |
128 |
Status and Global Errors (rev 07) |
129 |
00:05.4 PIC: Intel Corporation Xeon E5/Core i7 I/O APIC (rev 07) |
130 |
00:11.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI |
131 |
Express Virtual Root Port (rev 05) |
132 |
00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2 |
133 |
Enhanced Host Controller #2 (rev 05) |
134 |
00:1c.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI |
135 |
Express Root Port 1 (rev b5) |
136 |
00:1c.4 PCI bridge: Intel Corporation C600/X79 series chipset PCI |
137 |
Express Root Port 5 (rev b5) |
138 |
00:1c.5 PCI bridge: Intel Corporation C600/X79 series chipset PCI |
139 |
Express Root Port 6 (rev b5) |
140 |
00:1c.7 PCI bridge: Intel Corporation C600/X79 series chipset PCI |
141 |
Express Root Port 8 (rev b5) |
142 |
00:1d.0 USB controller: Intel Corporation C600/X79 series chipset USB2 |
143 |
Enhanced Host Controller #1 (rev 05) |
144 |
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) |
145 |
00:1f.0 ISA bridge: Intel Corporation C600/X79 series chipset LPC |
146 |
Controller (rev 05) |
147 |
00:1f.2 SATA controller: Intel Corporation C600/X79 series chipset |
148 |
6-Port SATA AHCI Controller (rev 05) |
149 |
00:1f.3 SMBus: Intel Corporation C600/X79 series chipset SMBus Host |
150 |
Controller (rev 05) |
151 |
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 |
152 |
[Liberator] (rev 05) |
153 |
04:00.0 Serial Attached SCSI controller: Intel Corporation C604/X79 |
154 |
series chipset 4-Port SATA/SAS Storage Control Unit (rev 05) |
155 |
04:00.3 SMBus: Intel Corporation C600/X79 series chipset SMBus |
156 |
Controller 0 (rev 05) |
157 |
06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network |
158 |
Connection |
159 |
07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network |
160 |
Connection |
161 |
08:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA |
162 |
G200e [Pilot] ServerEngines (SEP1) (rev 05) |
163 |
ff:08.0 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link 0 |
164 |
(rev 07) |
165 |
ff:08.3 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link |
166 |
Reut 0 (rev 07) |
167 |
ff:08.4 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link |
168 |
Reut 0 (rev 07) |
169 |
ff:09.0 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link 1 |
170 |
(rev 07) |
171 |
ff:09.3 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link |
172 |
Reut 1 (rev 07) |
173 |
ff:09.4 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link |
174 |
Reut 1 (rev 07) |
175 |
ff:0a.0 System peripheral: Intel Corporation Xeon E5/Core i7 Power |
176 |
Control Unit 0 (rev 07) |
177 |
ff:0a.1 System peripheral: Intel Corporation Xeon E5/Core i7 Power |
178 |
Control Unit 1 (rev 07) |
179 |
ff:0a.2 System peripheral: Intel Corporation Xeon E5/Core i7 Power |
180 |
Control Unit 2 (rev 07) |
181 |
ff:0a.3 System peripheral: Intel Corporation Xeon E5/Core i7 Power |
182 |
Control Unit 3 (rev 07) |
183 |
ff:0b.0 System peripheral: Intel Corporation Xeon E5/Core i7 Interrupt |
184 |
Control Registers (rev 07) |
185 |
ff:0b.3 System peripheral: Intel Corporation Xeon E5/Core i7 Semaphore |
186 |
and Scratchpad Configuration Registers (rev 07) |
187 |
ff:0c.0 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast |
188 |
Register 0 (rev 07) |
189 |
ff:0c.1 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast |
190 |
Register 0 (rev 07) |
191 |
ff:0c.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
192 |
Memory Controller System Address Decoder 0 (rev 07) |
193 |
ff:0c.7 System peripheral: Intel Corporation Xeon E5/Core i7 System |
194 |
Address Decoder (rev 07) |
195 |
ff:0d.0 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast |
196 |
Register 0 (rev 07) |
197 |
ff:0d.1 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast |
198 |
Register 0 (rev 07) |
199 |
ff:0d.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
200 |
Memory Controller System Address Decoder 1 (rev 07) |
201 |
ff:0e.0 System peripheral: Intel Corporation Xeon E5/Core i7 Processor |
202 |
Home Agent (rev 07) |
203 |
ff:0e.1 Performance counters: Intel Corporation Xeon E5/Core i7 |
204 |
Processor Home Agent Performance Monitoring (rev 07) |
205 |
ff:0f.0 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
206 |
Memory Controller Registers (rev 07) |
207 |
ff:0f.1 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
208 |
Memory Controller RAS Registers (rev 07) |
209 |
ff:0f.2 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
210 |
Memory Controller Target Address Decoder 0 (rev 07) |
211 |
ff:0f.3 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
212 |
Memory Controller Target Address Decoder 1 (rev 07) |
213 |
ff:0f.4 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
214 |
Memory Controller Target Address Decoder 2 (rev 07) |
215 |
ff:0f.5 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
216 |
Memory Controller Target Address Decoder 3 (rev 07) |
217 |
ff:0f.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
218 |
Memory Controller Target Address Decoder 4 (rev 07) |
219 |
ff:10.0 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
220 |
Memory Controller Channel 0-3 Thermal Control 0 (rev 07) |
221 |
ff:10.1 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
222 |
Memory Controller Channel 0-3 Thermal Control 1 (rev 07) |
223 |
ff:10.2 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
224 |
Memory Controller ERROR Registers 0 (rev 07) |
225 |
ff:10.3 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
226 |
Memory Controller ERROR Registers 1 (rev 07) |
227 |
ff:10.5 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
228 |
Memory Controller Channel 0-3 Thermal Control 3 (rev 07) |
229 |
ff:10.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
230 |
Memory Controller ERROR Registers 2 (rev 07) |
231 |
ff:10.7 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated |
232 |
Memory Controller ERROR Registers 3 (rev 07) |
233 |
ff:11.0 System peripheral: Intel Corporation Xeon E5/Core i7 DDRIO (rev 07) |
234 |
ff:13.0 System peripheral: Intel Corporation Xeon E5/Core i7 R2PCIe (rev 07) |
235 |
ff:13.1 Performance counters: Intel Corporation Xeon E5/Core i7 Ring to |
236 |
PCI Express Performance Monitor (rev 07) |
237 |
ff:13.4 Performance counters: Intel Corporation Xeon E5/Core i7 |
238 |
QuickPath Interconnect Agent Ring Registers (rev 07) |
239 |
ff:13.5 Performance counters: Intel Corporation Xeon E5/Core i7 Ring to |
240 |
QuickPath Interconnect Link 0 Performance Monitor (rev 07) |
241 |
ff:13.6 System peripheral: Intel Corporation Xeon E5/Core i7 Ring to |
242 |
QuickPath Interconnect Link 1 Performance Monitor (rev 07) |
243 |
|
244 |
|
245 |
> 3. do you have active I/O when doing your performance tests? if you have |
246 |
> several virtual machines running depending on what they are doing they |
247 |
> will crucify your access. |
248 |
|
249 |
My testing was done with all the VMs stopped! |
250 |
|
251 |
|
252 |
> 4. are you using any type of CGroups ? |
253 |
|
254 |
Yes. systemd needs them. |
255 |
I attach the kernel-config. |
256 |
|
257 |
> 5. i'm also confused over your LVM config. please can you send the |
258 |
> output of "vgs" "pvs" and "lvs -a -o +devices" |
259 |
|
260 |
/dev/sdc is the third hardware raid array listed above and used as PV |
261 |
for the VG vg01 -> |
262 |
|
263 |
# pvs |
264 |
PV VG Fmt Attr PSize PFree |
265 |
/dev/sdc vg01 lvm2 a-- 1,32t 708,86g |
266 |
|
267 |
# vgs |
268 |
VG #PV #LV #SN Attr VSize VFree |
269 |
vg01 1 2 0 wz--n- 1,32t 708,86g |
270 |
|
271 |
# lvs -a -o +devices |
272 |
LV VG Attr LSize Pool Origin Data% Move Log |
273 |
Cpy%Sync Convert Devices |
274 |
amhold vg01 -wi-ao---- 400,00g |
275 |
/dev/sdc(0) |
276 |
winserver_disk0 vg01 -wi-ao---- 244,14g |
277 |
/dev/sdc(102400) |
278 |
|
279 |
|
280 |
> 6. please also send the output of "mount" |
281 |
|
282 |
# mount |
283 |
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) |
284 |
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) |
285 |
devtmpfs on /dev type devtmpfs |
286 |
(rw,nosuid,size=8203540k,nr_inodes=2050885,mode=755) |
287 |
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) |
288 |
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) |
289 |
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) |
290 |
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) |
291 |
cgroup on /sys/fs/cgroup/systemd type cgroup |
292 |
(rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) |
293 |
cgroup on /sys/fs/cgroup/cpuset type cgroup |
294 |
(rw,nosuid,nodev,noexec,relatime,cpuset) |
295 |
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup |
296 |
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) |
297 |
cgroup on /sys/fs/cgroup/devices type cgroup |
298 |
(rw,nosuid,nodev,noexec,relatime,devices) |
299 |
/dev/sda on / type btrfs (rw,noatime,space_cache) |
300 |
mqueue on /dev/mqueue type mqueue (rw,relatime) |
301 |
tmpfs on /tmp type tmpfs (rw) |
302 |
tmpfs on /var/tmp/portage type tmpfs (rw,relatime) |
303 |
/dev/mapper/vg01-amhold on /mnt/amhold type xfs |
304 |
(rw,noatime,attr2,inode64,noquota) |
305 |
tmpfs on /run/user/0 type tmpfs |
306 |
(rw,nosuid,nodev,relatime,size=1641324k,mode=700) |
307 |
/dev/sda on /mnt/btrfs_windows type btrfs (rw,noatime,space_cache) |
308 |
|
309 |
|
310 |
the last line is meant as a target directory for dumping the content of |
311 |
the LV winserver_disk0 ... it is a btrfs subvolume mounted with |
312 |
compression turned OFF. |
313 |
|
314 |
|
315 |
|
316 |
> 7. do you have atop or iotop that you can use to monitor performance - |
317 |
> specifically we are looking for disk ios per device and disk latency per |
318 |
> device. both before and during you are trying to run your backup. |
319 |
|
320 |
I will install atop and check ... |
321 |
|
322 |
> this should give us a better idea of where the problems lay. |
323 |
|
324 |
Thanks so far! |
325 |
|
326 |
Stefan |