* How to determine performance bottleneck?
@ 2008-10-13 18:28 Pierre Ossman
2008-10-13 20:12 ` Alan Cox
2008-10-13 23:25 ` Tejun Heo
0 siblings, 2 replies; 13+ messages in thread
From: Pierre Ossman @ 2008-10-13 18:28 UTC (permalink / raw)
To: Jeff Garzik, Tejun Heo; +Cc: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]
I'm playing around with performance tuning my disk access, but there is
something limiting my bandwidth to the disks. I was hoping you could
help me determine what.
My setup is a sil3132 controller, connected to a PMP with five disks
behind it. I'm using iostat to measure disk traffic and I'm using reads
via dd for testing.
When I'm accessing a single disk, the bandwidth is 70 - 80 MiB/s. When
I access a second disk, the bandwidth is about 50 MiB/s/disk, and all
five results in 25 MiB/s/disk. In other words, something is limiting
things to about 100 MiB/s. Now the question is what that limiting
factor is.
The PCIe bus can sustain 250 MiB/s, so even with overhead that should
be plenty. The SATA links are in theory 300 MiB/s, so that can't be it
either. The remaining factors are the controller and the multiplier
chip, and/or the way we access them.
Tejun, what kind of throughput have you seen when you have been testing
the sil3132 and multipliers?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-13 18:28 How to determine performance bottleneck? Pierre Ossman
@ 2008-10-13 20:12 ` Alan Cox
2008-10-14 5:22 ` Pierre Ossman
2008-10-13 23:25 ` Tejun Heo
1 sibling, 1 reply; 13+ messages in thread
From: Alan Cox @ 2008-10-13 20:12 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Jeff Garzik, Tejun Heo, linux-ide
> five results in 25 MiB/s/disk. In other words, something is limiting
> things to about 100 MiB/s. Now the question is what that limiting
> factor is.
Whats the PCIe bridge chip and what is the memory bandwidth of the
system ?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-13 18:28 How to determine performance bottleneck? Pierre Ossman
2008-10-13 20:12 ` Alan Cox
@ 2008-10-13 23:25 ` Tejun Heo
2008-10-14 5:07 ` Pierre Ossman
2008-10-14 16:29 ` Grant Grundler
1 sibling, 2 replies; 13+ messages in thread
From: Tejun Heo @ 2008-10-13 23:25 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Jeff Garzik, linux-ide
Pierre Ossman wrote:
> I'm playing around with performance tuning my disk access, but there is
> something limiting my bandwidth to the disks. I was hoping you could
> help me determine what.
>
> My setup is a sil3132 controller, connected to a PMP with five disks
> behind it. I'm using iostat to measure disk traffic and I'm using reads
> via dd for testing.
>
> When I'm accessing a single disk, the bandwidth is 70 - 80 MiB/s. When
> I access a second disk, the bandwidth is about 50 MiB/s/disk, and all
> five results in 25 MiB/s/disk. In other words, something is limiting
> things to about 100 MiB/s. Now the question is what that limiting
> factor is.
>
> The PCIe bus can sustain 250 MiB/s, so even with overhead that should
> be plenty. The SATA links are in theory 300 MiB/s, so that can't be it
> either. The remaining factors are the controller and the multiplier
> chip, and/or the way we access them.
>
> Tejun, what kind of throughput have you seen when you have been testing
> the sil3132 and multipliers?
That's the limit of sil3124/3132. Dunno why but you can't go over that.
There's 3132-2 chip on the market. Maybe it's worth a try?
--
tejun
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-13 23:25 ` Tejun Heo
@ 2008-10-14 5:07 ` Pierre Ossman
2008-10-14 5:37 ` Tejun Heo
2008-10-14 16:29 ` Grant Grundler
1 sibling, 1 reply; 13+ messages in thread
From: Pierre Ossman @ 2008-10-14 5:07 UTC (permalink / raw)
To: Tejun Heo; +Cc: Jeff Garzik, linux-ide
[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]
On Tue, 14 Oct 2008 08:25:22 +0900
Tejun Heo <tj@kernel.org> wrote:
> Pierre Ossman wrote:
> > When I'm accessing a single disk, the bandwidth is 70 - 80 MiB/s. When
> > I access a second disk, the bandwidth is about 50 MiB/s/disk, and all
> > five results in 25 MiB/s/disk. In other words, something is limiting
> > things to about 100 MiB/s. Now the question is what that limiting
> > factor is.
> >
>
> That's the limit of sil3124/3132. Dunno why but you can't go over that.
Bummer. Is this per port, or is it the PCIe side of the chip that is
limited to this speed?
What do the silicon image guys have to say about it?
> There's 3132-2 chip on the market. Maybe it's worth a try?
>
Now that model number was not something that was easily found on
google, nor on silicon image's website. Know of any boards with that
chip?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-13 20:12 ` Alan Cox
@ 2008-10-14 5:22 ` Pierre Ossman
0 siblings, 0 replies; 13+ messages in thread
From: Pierre Ossman @ 2008-10-14 5:22 UTC (permalink / raw)
To: Alan Cox; +Cc: Jeff Garzik, Tejun Heo, linux-ide
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
On Mon, 13 Oct 2008 21:12:02 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > five results in 25 MiB/s/disk. In other words, something is limiting
> > things to about 100 MiB/s. Now the question is what that limiting
> > factor is.
>
> Whats the PCIe bridge chip and what is the memory bandwidth of the
> system ?
>
No idea. The board uses a AMD 690G/SB600 chipset (unsure which part
houses the PCIe bridge), and the memory is two PC6400 modules. The
processor is a Athlon 4050e (did AMD ever put the dual lane capabilty
in the non-opteron models?).
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 5:07 ` Pierre Ossman
@ 2008-10-14 5:37 ` Tejun Heo
2008-10-14 6:03 ` Pierre Ossman
0 siblings, 1 reply; 13+ messages in thread
From: Tejun Heo @ 2008-10-14 5:37 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Jeff Garzik, linux-ide
Pierre Ossman wrote:
> On Tue, 14 Oct 2008 08:25:22 +0900
> Tejun Heo <tj@kernel.org> wrote:
>
>> Pierre Ossman wrote:
>>> When I'm accessing a single disk, the bandwidth is 70 - 80 MiB/s. When
>>> I access a second disk, the bandwidth is about 50 MiB/s/disk, and all
>>> five results in 25 MiB/s/disk. In other words, something is limiting
>>> things to about 100 MiB/s. Now the question is what that limiting
>>> factor is.
>>>
>> That's the limit of sil3124/3132. Dunno why but you can't go over that.
>
> Bummer. Is this per port, or is it the PCIe side of the chip that is
> limited to this speed?
I think it's on the host bus side.
> What do the silicon image guys have to say about it?
ISTR they confirmed the problem but I don't remember talking too much
about it.
>> There's 3132-2 chip on the market. Maybe it's worth a try?
>
> Now that model number was not something that was easily found on
> google, nor on silicon image's website. Know of any boards with that
> chip?
Somebody wrote me an email about it. Looking up... eh.. can't find. Sorry.
--
tejun
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 5:37 ` Tejun Heo
@ 2008-10-14 6:03 ` Pierre Ossman
2008-10-14 6:12 ` Tejun Heo
0 siblings, 1 reply; 13+ messages in thread
From: Pierre Ossman @ 2008-10-14 6:03 UTC (permalink / raw)
To: Tejun Heo; +Cc: Jeff Garzik, linux-ide
[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]
On Tue, 14 Oct 2008 14:37:41 +0900
Tejun Heo <tj@kernel.org> wrote:
> Pierre Ossman wrote:
> >
> > Bummer. Is this per port, or is it the PCIe side of the chip that is
> > limited to this speed?
>
> I think it's on the host bus side.
>
> > What do the silicon image guys have to say about it?
>
> ISTR they confirmed the problem but I don't remember talking too much
> about it.
>
The optimist in me was hoping that this could be a problem that can be
sidestepped with a clever enough implementation. :)
> >> There's 3132-2 chip on the market. Maybe it's worth a try?
> >
> > Now that model number was not something that was easily found on
> > google, nor on silicon image's website. Know of any boards with that
> > chip?
>
> Somebody wrote me an email about it. Looking up... eh.. can't find. Sorry.
>
Do you remember if that's a new chip designation, or 3132 (rev 02)?
Just so I know what to keep an eye out for.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 6:03 ` Pierre Ossman
@ 2008-10-14 6:12 ` Tejun Heo
2008-10-14 6:59 ` Pierre Ossman
0 siblings, 1 reply; 13+ messages in thread
From: Tejun Heo @ 2008-10-14 6:12 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Jeff Garzik, linux-ide
Pierre Ossman wrote:
> On Tue, 14 Oct 2008 14:37:41 +0900
> Tejun Heo <tj@kernel.org> wrote:
>
>> Pierre Ossman wrote:
>>> Bummer. Is this per port, or is it the PCIe side of the chip that is
>>> limited to this speed?
>> I think it's on the host bus side.
>>
>>> What do the silicon image guys have to say about it?
>> ISTR they confirmed the problem but I don't remember talking too much
>> about it.
>>
>
> The optimist in me was hoping that this could be a problem that can be
> sidestepped with a clever enough implementation. :)
>
>>>> There's 3132-2 chip on the market. Maybe it's worth a try?
>>> Now that model number was not something that was easily found on
>>> google, nor on silicon image's website. Know of any boards with that
>>> chip?
>> Somebody wrote me an email about it. Looking up... eh.. can't find. Sorry.
>>
>
> Do you remember if that's a new chip designation, or 3132 (rev 02)?
> Just so I know what to keep an eye out for.
Yeah, it had a new designation. Something like 3132-2 (don't confuse it
with 3132 2 ports or 3132 2 ports SATA 2, yeah a lot of 2s there).
--
tejun
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 6:12 ` Tejun Heo
@ 2008-10-14 6:59 ` Pierre Ossman
2008-10-14 7:00 ` Tejun Heo
0 siblings, 1 reply; 13+ messages in thread
From: Pierre Ossman @ 2008-10-14 6:59 UTC (permalink / raw)
To: Tejun Heo; +Cc: Jeff Garzik, linux-ide
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
On Tue, 14 Oct 2008 15:12:20 +0900
Tejun Heo <tj@kernel.org> wrote:
> Pierre Ossman wrote:
> >
> > Do you remember if that's a new chip designation, or 3132 (rev 02)?
> > Just so I know what to keep an eye out for.
>
> Yeah, it had a new designation. Something like 3132-2 (don't confuse it
> with 3132 2 ports or 3132 2 ports SATA 2, yeah a lot of 2s there).
>
Ok. Thanks for all the info. :)
Any objections to putting this on the wiki, so the next person having
less than expected performance doesn't have to ask on the mailing list?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 6:59 ` Pierre Ossman
@ 2008-10-14 7:00 ` Tejun Heo
0 siblings, 0 replies; 13+ messages in thread
From: Tejun Heo @ 2008-10-14 7:00 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Jeff Garzik, linux-ide
Pierre Ossman wrote:
> On Tue, 14 Oct 2008 15:12:20 +0900
> Tejun Heo <tj@kernel.org> wrote:
>
>> Pierre Ossman wrote:
>>> Do you remember if that's a new chip designation, or 3132 (rev 02)?
>>> Just so I know what to keep an eye out for.
>> Yeah, it had a new designation. Something like 3132-2 (don't confuse it
>> with 3132 2 ports or 3132 2 ports SATA 2, yeah a lot of 2s there).
>>
>
> Ok. Thanks for all the info. :)
>
> Any objections to putting this on the wiki, so the next person having
> less than expected performance doesn't have to ask on the mailing list?
Hmmm... Let me check this with SIMG first so that I have more concrete
idea about which ones have what kind of limit and whether there are any
which don't have such limitations.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-13 23:25 ` Tejun Heo
2008-10-14 5:07 ` Pierre Ossman
@ 2008-10-14 16:29 ` Grant Grundler
2008-10-14 17:19 ` Tejun Heo
1 sibling, 1 reply; 13+ messages in thread
From: Grant Grundler @ 2008-10-14 16:29 UTC (permalink / raw)
To: Tejun Heo; +Cc: Pierre Ossman, Jeff Garzik, linux-ide
On Mon, Oct 13, 2008 at 4:25 PM, Tejun Heo <tj@kernel.org> wrote:
...
>> Tejun, what kind of throughput have you seen when you have been testing
>> the sil3132 and multipliers?
>
> That's the limit of sil3124/3132. Dunno why but you can't go over that.
To be clear, I understood "that" == ~100 MB/s
> There's 3132-2 chip on the market. Maybe it's worth a try?
Are you possibly thinking of 3124-2 ? (4-port PCI-X device, not PCI-e)
I didn't see mention of 3132-2 on
http://www.siliconimage.com/products/product.aspx?id=32
thanks,
grant
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 16:29 ` Grant Grundler
@ 2008-10-14 17:19 ` Tejun Heo
2008-10-14 17:43 ` Grant Grundler
0 siblings, 1 reply; 13+ messages in thread
From: Tejun Heo @ 2008-10-14 17:19 UTC (permalink / raw)
To: Grant Grundler; +Cc: Pierre Ossman, Jeff Garzik, linux-ide
Grant Grundler wrote:
> On Mon, Oct 13, 2008 at 4:25 PM, Tejun Heo <tj@kernel.org> wrote:
> ...
>>> Tejun, what kind of throughput have you seen when you have been testing
>>> the sil3132 and multipliers?
>> That's the limit of sil3124/3132. Dunno why but you can't go over that.
>
> To be clear, I understood "that" == ~100 MB/s
It's somewhere around that. I don't remember the exact number at the
moment.
>> There's 3132-2 chip on the market. Maybe it's worth a try?
>
> Are you possibly thinking of 3124-2 ? (4-port PCI-X device, not PCI-e)
>
> I didn't see mention of 3132-2 on
> http://www.siliconimage.com/products/product.aspx?id=32
I asked SIMG about the issue and whether they have newer revisions which
solve the issue. When I know more, I'll post it on the ata wiki page.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to determine performance bottleneck?
2008-10-14 17:19 ` Tejun Heo
@ 2008-10-14 17:43 ` Grant Grundler
0 siblings, 0 replies; 13+ messages in thread
From: Grant Grundler @ 2008-10-14 17:43 UTC (permalink / raw)
To: Tejun Heo; +Cc: Pierre Ossman, Jeff Garzik, linux-ide
On Tue, Oct 14, 2008 at 10:19 AM, Tejun Heo <tj@kernel.org> wrote:
> Grant Grundler wrote:
>> On Mon, Oct 13, 2008 at 4:25 PM, Tejun Heo <tj@kernel.org> wrote:
>> ...
>>>> Tejun, what kind of throughput have you seen when you have been testing
>>>> the sil3132 and multipliers?
>>> That's the limit of sil3124/3132. Dunno why but you can't go over that.
>>
>> To be clear, I understood "that" == ~100 MB/s
>
> It's somewhere around that. I don't remember the exact number at the
> moment.
I know a number but I'm also burdened with an NDA.
If someone could post the output of this command:
fio-1.21 --runtime=60 --time_based --bwavgtime=5000 \
--thread --numjobs=4 \
-rw=read --direct=1 --iodepth=8 --ioengine=sync \
--ioscheduler=noop \
--bs=256k --size=256k \
--name=port1 --filename=/dev/sdb \
--name=port2 --filename=/dev/sdc
Fix up the --filename to be the correct /dev names.
Re-run the above with "--rw=write" and make sure the disks can be clobbered!
This will "exercise" the disk controller cache so it doesn't matter
which disk is connected.
For fun, use 4k instead of 256k to measure CPU utilization and
transaction rates.
In this case, the disk models vary alot.
...
> I asked SIMG about the issue and whether they have newer revisions which
> solve the issue. When I know more, I'll post it on the ata wiki page.
thanks!
grant
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-10-14 17:44 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 18:28 How to determine performance bottleneck? Pierre Ossman
2008-10-13 20:12 ` Alan Cox
2008-10-14 5:22 ` Pierre Ossman
2008-10-13 23:25 ` Tejun Heo
2008-10-14 5:07 ` Pierre Ossman
2008-10-14 5:37 ` Tejun Heo
2008-10-14 6:03 ` Pierre Ossman
2008-10-14 6:12 ` Tejun Heo
2008-10-14 6:59 ` Pierre Ossman
2008-10-14 7:00 ` Tejun Heo
2008-10-14 16:29 ` Grant Grundler
2008-10-14 17:19 ` Tejun Heo
2008-10-14 17:43 ` Grant Grundler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).