From: John Garry <john.g.garry@oracle.com>
To: mengfanhui <mengfanhui@kylinos.cn>,
kashyap.desai@broadcom.com, sumit.saxena@broadcom.com,
shivasharan.srikanteshwara@broadcom.com,
chandrakanth.patil@broadcom.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: megaraid_sas: disabled shared host tagset feature by default
Date: Mon, 11 Mar 2024 09:30:36 +0000 [thread overview]
Message-ID: <03afee77-3d5e-44fc-9e03-eec70c9cee2a@oracle.com> (raw)
In-Reply-To: <20240311085412.2391632-1-mengfanhui@kylinos.cn>
On 11/03/2024 08:54, mengfanhui wrote:
> By default, the host_tagset_enable feature is disabled,Fio performance
> has improved significantly
>
> fio test command:
> sudo fio -filename=/fio_test -direct=1 -iodepth 32 -thread -rw=write -ioengine=libaio
> -bs=4K -size=5120M -runtime=600 -numjobs=$CPUN -group_reporting -name=**.result >> **.result
>
> The test data results bw are as follows:
> v6.8_kernel v6.8_kernel_disable_host_tagset
> 4k randwrite 375 642
> 4k randread 210 784
> 4k write 306 387
> 4k read 435 2457
> 128k write 355 380
> 128k read 976 3665
> 1M read 415 3122
>
There are some huge differences in those numbers. Can you find out what
is going on?
> Signed-off-by: mengfanhui <mengfanhui@kylinos.cn>
> ---
> drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
> index 3d4f13da1ae8..da19c4c07f2f 100644
> --- a/drivers/scsi/megaraid/megaraid_sas_base.c
> +++ b/drivers/scsi/megaraid/megaraid_sas_base.c
> @@ -123,9 +123,9 @@ MODULE_PARM_DESC(poll_queues, "Number of queues to be use for io_uring poll mode
> "High iops queues are not allocated &\n\t\t"
> );
>
> -int host_tagset_enable = 1;
> +int host_tagset_enable;
> module_param(host_tagset_enable, int, 0444);
> -MODULE_PARM_DESC(host_tagset_enable, "Shared host tagset enable/disable Default: enable(1)");
> +MODULE_PARM_DESC(host_tagset_enable, "Shared host tagset enable/disable Default: disable(0)");
>
> MODULE_LICENSE("GPL");
> MODULE_VERSION(MEGASAS_VERSION);
next prev parent reply other threads:[~2024-03-11 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-11 8:54 [PATCH] scsi: megaraid_sas: disabled shared host tagset feature by default mengfanhui
2024-03-11 9:30 ` John Garry [this message]
2024-03-14 5:42 ` mengfanhui
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=03afee77-3d5e-44fc-9e03-eec70c9cee2a@oracle.com \
--to=john.g.garry@oracle.com \
--cc=chandrakanth.patil@broadcom.com \
--cc=kashyap.desai@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mengfanhui@kylinos.cn \
--cc=shivasharan.srikanteshwara@broadcom.com \
--cc=sumit.saxena@broadcom.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox