All of lore.kernel.org
 help / color / mirror / Atom feed
From: ersatz splatt <ersatzsplatt@gmail.com>
To: Jack Wang <jack_wang@usish.com>
Cc: lindar_liu@usish.com, linux-scsi@vger.kernel.org
Subject: Re: pm8001 performance degradation?
Date: Tue, 12 Jul 2011 12:34:27 -0700	[thread overview]
Message-ID: <CAHQAjVECnvT5-zrp-D3xWqgz9Rp98WHYC-ubu7AWAkAN_Ertuw@mail.gmail.com> (raw)
In-Reply-To: <9E591616165B4B14A80DE392145C99FC@usish.com.cn>

Jack,

fio script is:
[global]
rw=read
direct=1
time_based
runtime=1m
ioengine=libaio
iodepth=32
bs=512
[dB]
filename=/dev/sdb
cpus_allowed=2
[dC]
filename=/dev/sdc
cpus_allowed=3
[dD]
filename=/dev/sdd
cpus_allowed=4
[dE]
filename=/dev/sde
cpus_allowed=5

(keep in mind this is a system with several cores)


Before running the script I (of course) shut down coalescing:
echo "2"> /sys/block/sdb/queue/nomerges
echo "2"> /sys/block/sdc/queue/nomerges
echo "2"> /sys/block/sdd/queue/nomerges
echo "2"> /sys/block/sde/queue/nomerges

echo noop > /sys/block/sdb/queue/scheduler
echo noop > /sys/block/sdc/queue/scheduler
echo noop > /sys/block/sdd/queue/scheduler
echo noop > /sys/block/sde/queue/scheduler

As you know, disk details are shown in the log on driver load:
pm8001 0000:05:00.0: pm8001: driver version 0.1.36
pm8001 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
scsi4 : pm8001
scsi 4:0:0:0: Direct-Access     SEAGATE  ST9146803SS      0004 PQ: 0 ANSI: 5
sd 4:0:0:0: [sdb] 286749488 512-byte logical blocks: (146 GB/136 GiB)
sd 4:0:0:0: Attached scsi generic sg1 type 0
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports
DPO and FUA
 sdb: unknown partition table
sd 4:0:0:0: [sdb] Attached SCSI disk
scsi 4:0:1:0: Direct-Access     SEAGATE  ST9146803SS      0006 PQ: 0 ANSI: 5
sd 4:0:1:0: Attached scsi generic sg2 type 0
sd 4:0:1:0: [sdc] 286749488 512-byte logical blocks: (146 GB/136 GiB)
sd 4:0:1:0: [sdc] Write Protect is off
sd 4:0:1:0: [sdc] Write cache: enabled, read cache: enabled, supports
DPO and FUA
 sdc: unknown partition table
sd 4:0:1:0: [sdc] Attached SCSI disk
scsi 4:0:2:0: Direct-Access     SEAGATE  ST9146803SS      0004 PQ: 0 ANSI: 5
sd 4:0:2:0: [sdd] 286749488 512-byte logical blocks: (146 GB/136 GiB)
sd 4:0:2:0: Attached scsi generic sg3 type 0
sd 4:0:2:0: [sdd] Write Protect is off
sd 4:0:2:0: [sdd] Write cache: enabled, read cache: enabled, supports
DPO and FUA
 sdd: unknown partition table
sd 4:0:2:0: [sdd] Attached SCSI disk
scsi 4:0:3:0: Direct-Access     SEAGATE  ST9146803SS      0004 PQ: 0 ANSI: 5
sd 4:0:3:0: [sde] 286749488 512-byte logical blocks: (146 GB/136 GiB)
sd 4:0:3:0: Attached scsi generic sg4 type 0
sd 4:0:3:0: [sde] Write Protect is off
sd 4:0:3:0: [sde] Write cache: enabled, read cache: enabled, supports
DPO and FUA
 sde: unknown partition table
sd 4:0:3:0: [sde] Attached SCSI disk


The firmware version is 1.11.

Let me know if you have any other questions.  Please let me know if
you can confirm the performance degradation with the driver as it is.


David


On Mon, Jul 11, 2011 at 9:18 PM, Jack Wang <jack_wang@usish.com> wrote:
> Could you share your fio test scripts? disk detail and HBA firmware version
> are also wanted if available.
>
> Jack
>>
>> I have one HBA connected directly to 4 SAS drives ... using a single 1
>> to four cable.
>>
>>
>> On Mon, Jul 11, 2011 at 6:27 PM, Jack Wang <jack_wang@usish.com> wrote:
>> >> Hello Jack Wang and Lindar Liu,
>> >>
>> >>
>> >> I am running the pm8001 driver (on applicable hardware including a
>> >> several core SMP server).
>> >>
>> >> When I run on an older kernel -- e.g. 2.6.34.7 -- I get about 73Kiops
>> >> via an fio test.
>> >>
>> >> When I run a current kernel -- e.g. 2.6.39.2 -- on the same system and
>> >> same storage I get about 15Kiops running the same fio test.
>> >>
>> >> Perhaps something has changes in the kernel that is not being accounted
>> > for?
>> >> Are you two still maintaining this driver?
>> >>
>> >>
>> >> Regards,
>> >> David
>> > [Jack Wang]  Could you give your detailed topology, I will later try to
>> > investigate the performance issue, but as I remember an Intel developer
>> > reports in mailist some changes in block layer lead to JBOD performance
>> > degradation.
>> >
>> >
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-07-12 19:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 19:06 pm8001 performance degradation? ersatz splatt
2011-07-12  1:27 ` Jack Wang
2011-07-12  2:44   ` ersatz splatt
2011-07-12  2:46     ` ersatz splatt
2011-07-12  4:18     ` Jack Wang
2011-07-12 19:34       ` ersatz splatt [this message]
2011-07-13  3:15         ` ersatz splatt
2011-07-13  4:08           ` Jack Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHQAjVECnvT5-zrp-D3xWqgz9Rp98WHYC-ubu7AWAkAN_Ertuw@mail.gmail.com \
    --to=ersatzsplatt@gmail.com \
    --cc=jack_wang@usish.com \
    --cc=lindar_liu@usish.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.