Skip to contentSkip to conversation

Resets on sil3124 & sil3726 PMP

DISCUSSION Richard Scobie 4 participants 11 messages Aug 27, 2007 – Sep 6, 2007 libata

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

3726/4726 work very well under high load with most drives. I guess you had some problem with the cage.

Does anyone have any performance figures to share, with these PMP interfaces?

Regards,

Richard

#1 lore raw
Quoted 4 lines · Richard Scobie
Quoted 2 lines

3726/4726 work very well under high load with most drives. I guess you had some problem with the cage.

Does anyone have any performance figures to share, with these PMP interfaces?

Hello,
what exactly you are looking for? For me it behaves exactly as
intended, and I did not notice any problems. When I communicate with only one harddrive then performance is same as native. When I communicate with more than one drive, then of course bandwidth between host and PMP becomes bottleneck. /dev/sdf is using 1.5Gbps, everybody else claims 3.0Gbps. Not that I see any difference :-(

Though I do not run any RAID on them (I would say that with PMP's bottleneck it would be bad idea), so maybe I'm not stressing them sufficiently to trip over bugs.

/dev/sda: 320GB Hitachi on sata_nv
/dev/sdb: 1TB Hitachi on sata_sil24 + 3726 (Sans Digital MS4UM) /dev/sdc: 750GB Seagate on sata_sil24 + 3726
/dev/sdd: 1TB Hitachi on sata_sil24 + 3726
/dev/sde: 750GB Seagate on sata_sil24 + 3726
/dev/sdf: Sans Digital MS2UT with two 750GB in RAID1 on second sil24 port

gwy:~# for a in /dev/sd[abcdef]; do hdparm -t $a; done

/dev/sda:
Timing buffered disk reads: 214 MB in 3.01 seconds = 71.07 MB/sec

/dev/sdb:
Timing buffered disk reads: 236 MB in 3.00 seconds = 78.58 MB/sec

/dev/sdc:
Timing buffered disk reads: 220 MB in 3.02 seconds = 72.74 MB/sec

/dev/sdd:
Timing buffered disk reads: 240 MB in 3.02 seconds = 79.41 MB/sec

/dev/sde:
Timing buffered disk reads: 218 MB in 3.00 seconds = 72.64 MB/sec

/dev/sdf:
Timing buffered disk reads: 226 MB in 3.02 seconds = 74.95 MB/sec

Apparently 1TB Hitachis are slightly faster than 750GB Seagates...

gwy:~# hdparm -t /dev/sdb & hdparm -t /dev/sdd & sleep 20
(reformatted to show values in order, not interleaved)

/dev/sdd:
Timing buffered disk reads: 158 MB in 3.02 seconds = 52.40 MB/sec

/dev/sdb:
Timing buffered disk reads: 168 MB in 3.02 seconds = 55.68 MB/sec

gwy:~# hdparm -t /dev/sdc & hdparm -t /dev/sde & sleep 20

/dev/sde:
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.89 MB/sec

/dev/sdc:
Timing buffered disk reads: 150 MB in 3.01 seconds = 49.77 MB/sec

gwy:~# hdparm -t /dev/sdb & hdparm -t /dev/sdc & hdparm -t /dev/sdd & hdparm -t /dev/sde & sleep 20

/dev/sde:
Timing buffered disk reads: 98 MB in 3.02 seconds = 32.46 MB/sec

/dev/sdd:
Timing buffered disk reads: 100 MB in 3.06 seconds = 32.73 MB/sec

/dev/sdc:
Timing buffered disk reads: 92 MB in 3.07 seconds = 30.01 MB/sec

/dev/sdb:
Timing buffered disk reads: 118 MB in 3.05 seconds = 38.75 MB/sec

gwy:~# hdparm -t /dev/sdb & hdparm -t /dev/sdf & sleep 20

/dev/sdb:
Timing buffered disk reads: 194 MB in 3.02 seconds = 64.31 MB/sec

/dev/sdf:
Timing buffered disk reads: 224 MB in 3.02 seconds = 74.09 MB/sec

gwy:~# hdparm -t /dev/sda & hdparm -t /dev/sdb & hdparm -t /dev/sdc & hdparm -t /dev/sdd & hdparm -t /dev/sde & hdparm -t /dev/sdf & sleep 20

/dev/sda:
Timing buffered disk reads: 200 MB in 3.03 seconds = 66.00 MB/sec

/dev/sdf:
Timing buffered disk reads: 220 MB in 3.05 seconds = 72.11 MB/sec

/dev/sde:
Timing buffered disk reads: 58 MB in 3.03 seconds = 19.12 MB/sec

/dev/sdd:
Timing buffered disk reads: 64 MB in 3.04 seconds = 21.06 MB/sec

/dev/sdb:
Timing buffered disk reads: 70 MB in 3.03 seconds = 23.10 MB/sec

/dev/sdc:
Timing buffered disk reads: 56 MB in 3.01 seconds = 18.59 MB/sec

gwy:~#

For comparsion 1TB Hitachi behind 3726 PMP (again MS4UM) with sata_sil patch I sent last week (no NCQ, 1.5Gbps link between 3512 and PMP, and 3.0Gbps link between PMP and drive... why is it faster?):

petr-dev3:~# hdparm -t /dev/sdd

/dev/sdd:
Timing buffered disk reads: 248 MB in 3.01 seconds = 82.48 MB/sec

petr-dev3:~#

Petr

#2 lore raw
Quoted 3 lines · Petr Vandrovec

For comparsion 1TB Hitachi behind 3726 PMP (again MS4UM) with sata_sil patch I sent last week (no NCQ, 1.5Gbps link between 3512 and PMP, and 3.0Gbps link between PMP and drive... why is it faster?):

If you turn off NCQ by echoing 1 to /sys/block/sdd/device/queue_depth on sata_sil24, does the performance change?

Signature · 1 line
tejun
#3 lore raw
Quoted 7 lines · Tejun Heo
Quoted 3 lines · Petr Vandrovec

For comparsion 1TB Hitachi behind 3726 PMP (again MS4UM) with sata_sil patch I sent last week (no NCQ, 1.5Gbps link between 3512 and PMP, and 3.0Gbps link between PMP and drive... why is it faster?):

If you turn off NCQ by echoing 1 to /sys/block/sdd/device/queue_depth on sata_sil24, does the performance change?

I have recompiled kernel with all debugging disabled, and it brought me 1.5MBps, so it is still consistently 1MBps slower than on sil. Disabling NCQ seems to improve concurrent access a bit (for which I have no explanation), while slows down single drive scenario:

With NCQ:

1TB alone: 81.22, 79.86
1TB+1TB: 56.28+56.70, 53.51+56.11

Without NCQ:

1TB alone: 79.78, 80.82
1TB+1TB: 57.99+58.12, 56.50+56.46

3512 sil, no NCQ:

1TB alone: 82.28, 82.18
1TB+1TB: 47.20+47.54 # Here apparently command based switching or 1.5Gbps link between device and PMP becomes bottleneck

And it seems that I observe what other poster pointed out - that apparently all SiI chips are limited somewhere around 120-130MBps, and cannot do more even if you pretty ask...
Petr

#4 lore raw

Hello,

Quoted 12 lines · Petr Vandrovec

I have recompiled kernel with all debugging disabled, and it brought me 1.5MBps, so it is still consistently 1MBps slower than on sil. Disabling NCQ seems to improve concurrent access a bit (for which I have no explanation), while slows down single drive scenario:

With NCQ:

1TB alone: 81.22, 79.86
1TB+1TB: 56.28+56.70, 53.51+56.11

Without NCQ:

Quoted 8 lines

1TB alone: 79.78, 80.82
1TB+1TB: 57.99+58.12, 56.50+56.46

3512 sil, no NCQ:

1TB alone: 82.28, 82.18
1TB+1TB: 47.20+47.54 # Here apparently command based switching or
1.5Gbps link between device and PMP becomes bottleneck

Hmmmm.... Weird. Is the different still there if you take PMP out of the picture?

Quoted 3 lines

And it seems that I observe what other poster pointed out - that apparently all SiI chips are limited somewhere around 120-130MBps, and cannot do more even if you pretty ask...

Yeah, that seems to be the hardware limit and is consistent with what I hear from non-linux people too.

Signature · 1 line
tejun
#5 lore raw
Quoted 17 lines · Tejun Heo

Hello,

Quoted 14 lines · Petr Vandrovec

I have recompiled kernel with all debugging disabled, and it brought me 1.5MBps, so it is still consistently 1MBps slower than on sil. Disabling NCQ seems to improve concurrent access a bit (for which I have no explanation), while slows down single drive scenario:

With NCQ:

1TB alone: 81.22, 79.86
1TB+1TB: 56.28+56.70, 53.51+56.11

Without NCQ:

1TB alone: 79.78, 80.82
1TB+1TB: 57.99+58.12, 56.50+56.46

3124-2 (norco 4618):

NCQ:

1TB alone: 82.30, 82.43
1TB+1TB: 68.36+68.25

noNCQ:

1TB alone: 82.39, 82.29
1TB+1TB: 70.33+70.32, 69.47+70.01

Unfortunately that enclosure has only two slots used. I'll try to not forget bring two more disks tomorrow to get it fully populated.

Quoted 8 lines
Quoted 5 lines

3512 sil, no NCQ:

1TB alone: 82.28, 82.18
1TB+1TB: 47.20+47.54 # Here apparently command based switching or
1.5Gbps link between device and PMP becomes bottleneck

Hmmmm.... Weird. Is the different still there if you take PMP out of the picture?

Will do tomorrow. I need physical access to the box to do that.
Petr

#6 lore raw
Quoted 1 line · Petr Vandrovec

Tejun Heo wrote:

Hello,

Quoted 24 lines
Quoted 9 lines
Quoted 7 lines · Petr Vandrovec

I have recompiled kernel with all debugging disabled, and it brought me 1.5MBps, so it is still consistently 1MBps slower than on sil. Disabling NCQ seems to improve concurrent access a bit (for which I have no explanation), while slows down single drive scenario:

With NCQ:

Quoted 7 lines
Quoted 7 lines

1TB alone: 81.22, 79.86
1TB+1TB: 56.28+56.70, 53.51+56.11

Without NCQ:

1TB alone: 79.78, 80.82
1TB+1TB: 57.99+58.12, 56.50+56.46

3124-2 (norco 4618):

NCQ:

1TB alone: 82.30, 82.43
1TB+1TB: 68.36+68.25

Quoted 6 lines

noNCQ:

1TB alone: 82.39, 82.29
1TB+1TB: 70.33+70.32, 69.47+70.01

Unfortunately that enclosure has only two slots used. I'll try to not forget bring two more disks tomorrow to get it fully populated.

In case you are still follwing this thread, 3124-2 with 4 1TB drives delivers 58.5MBps for each drive with NCQ enabled, and 60MBps with NCQ disabled - total 235-240MBps read speed. I would like to see 320MBps, but apparently today is not my lucky day...

Quoted 10 lines
Quoted 8 lines
Quoted 5 lines

3512 sil, no NCQ:

1TB alone: 82.28, 82.18
1TB+1TB: 47.20+47.54 # Here apparently command based switching or
1.5Gbps link between device and PMP becomes bottleneck

Hmmmm.... Weird. Is the different still there if you take PMP out of the picture?

Will do tomorrow. I need physical access to the box to do that.

Yes, no difference. 3512 is consistently about 1MBps faster than 3132 when talking to single Hitachi 1TB drive.
Petr

#7 lore raw
Quoted 9 lines · Petr Vandrovec
Quoted 9 lines

3124-2 (norco 4618):
NCQ:
1TB alone: 82.30, 82.43
1TB+1TB: 68.36+68.25
noNCQ:
1TB alone: 82.39, 82.29
1TB+1TB: 70.33+70.32, 69.47+70.01
Unfortunately that enclosure has only two slots used. I'll try to not forget bring two more disks tomorrow to get it fully populated.

Quoted 4 lines

In case you are still follwing this thread, 3124-2 with 4 1TB drives delivers 58.5MBps for each drive with NCQ enabled, and 60MBps with NCQ disabled - total 235-240MBps read speed. I would like to see 320MBps, but apparently today is not my lucky day...

Just to confirm, how were you testing the multiple drive combination?

Signature · 4 lines
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : [email protected]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
#8 lore raw
Quoted 9 lines · Robin H. Johnson
Quoted 8 lines · Petr Vandrovec
Quoted 8 lines

3124-2 (norco 4618):
NCQ:
1TB alone: 82.30, 82.43
1TB+1TB: 68.36+68.25
noNCQ:
1TB alone: 82.39, 82.29
1TB+1TB: 70.33+70.32, 69.47+70.01
Unfortunately that enclosure has only two slots used. I'll try to not forget bring two more disks tomorrow to get it fully populated.

Quoted 5 lines
Quoted 4 lines

In case you are still follwing this thread, 3124-2 with 4 1TB drives delivers 58.5MBps for each drive with NCQ enabled, and 60MBps with NCQ disabled - total 235-240MBps read speed. I would like to see 320MBps, but apparently today is not my lucky day...

Just to confirm, how were you testing the multiple drive combination?

Concurrent hdparm -t, like

hdparm -t /dev/sdd & hdparm -t /dev/sde & hdparm -t /dev/sdf & hdparm -t /dev/sdg & sleep 20

(and from hdparm output & visually confirmed that all activity LEDs go on & off simultaneously)

So NCQ should not be able to show any (definitely not huge) benefits, but there should not be any reason to not get 4x 1 drive speed as long as neither PMP link nor PCI-X limits are hit.
Petr

#9 lore raw
Quoted 7 lines · Petr Vandrovec

Concurrent hdparm -t, like

hdparm -t /dev/sdd & hdparm -t /dev/sde & hdparm -t /dev/sdf & hdparm -t /dev/sdg & sleep 20

(and from hdparm output & visually confirmed that all activity LEDs go on & off simultaneously)

Not sure whether it matters but 'hdparm' tests are fairly short. You can probably get more reliable result using dd with direct flag specified.

Quoted 3 lines

So NCQ should not be able to show any (definitely not huge) benefits, but there should not be any reason to not get 4x 1 drive speed as long as neither PMP link nor PCI-X limits are hit.

As said before, 3124/32 hardware seems to have limitations in transfer rate it can reach.

Thanks.

Signature · 1 line
tejun
#10 lore raw
In reply to Petr Vandrovec
Quoted 7 lines · Petr Vandrovec
Quoted 4 lines
Quoted 2 lines

Hmmmm.... Weird. Is the different still there if you take PMP out of the picture?

Will do tomorrow. I need physical access to the box to do that.

Yes, no difference. 3512 is consistently about 1MBps faster than 3132 when talking to single Hitachi 1TB drive.

Thanks for testing. Don't have much idea why. Maybe it's something inherent to the 3132 hardware. :-(

Signature · 1 line
tejun