public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/4]mmc: enable eMMC4.41 new feature background operations and HPI
@ 2010-11-23  8:43 Chuanxiao Dong
  2010-11-24  8:12 ` Kyungmin Park
  0 siblings, 1 reply; 3+ messages in thread
From: Chuanxiao Dong @ 2010-11-23  8:43 UTC (permalink / raw)
  To: linux-mmc, cjb; +Cc: linux-kernel, alan, arjan, hang.yuan

Hi,
	These patches were enabled eMMC4.41 standard new feature: background
	operations and HPI.

	Since these two features are opertional, driver only enable for those
	eMMC card which supports them.

	HPI can interrupt both background operations and low priority foreground
	operations. In these patches, only implemented using HPI to interrupt
	background operations.

	patch1: enable background operations feature for supported eMMC card.
	patch2: let eMMC card do background operations when user reqeust queue
	is idle. In this patch, also considered when driver added runtime power
	management.
	patch3: enable HPI feature for supported eMMC card.
	patch4: use HPI to interrupt background operations if there is user
	request(foreground operations).

Thanks
Chuanxiao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 0/4]mmc: enable eMMC4.41 new feature background operations and HPI
  2010-11-23  8:43 [PATCH v1 0/4]mmc: enable eMMC4.41 new feature background operations and HPI Chuanxiao Dong
@ 2010-11-24  8:12 ` Kyungmin Park
  2010-11-24  8:44   ` Dong, Chuanxiao
  0 siblings, 1 reply; 3+ messages in thread
From: Kyungmin Park @ 2010-11-24  8:12 UTC (permalink / raw)
  To: Chuanxiao Dong
  Cc: linux-mmc, cjb, linux-kernel, alan, arjan, hang.yuan,
	정재훈

Hi,

Basic question. Do you have any performance gain or improvement?
In my test environment. no performance gain. Yes I know it's not for
performance improvement.

How to measure or check it has some improvement?
Any ideas?

Thank you,
Kyungmin Park

On Tue, Nov 23, 2010 at 5:43 PM, Chuanxiao Dong
<chuanxiao.dong@intel.com> wrote:
> Hi,
>        These patches were enabled eMMC4.41 standard new feature: background
>        operations and HPI.
>
>        Since these two features are opertional, driver only enable for those
>        eMMC card which supports them.
>
>        HPI can interrupt both background operations and low priority foreground
>        operations. In these patches, only implemented using HPI to interrupt
>        background operations.
>
>        patch1: enable background operations feature for supported eMMC card.
>        patch2: let eMMC card do background operations when user reqeust queue
>        is idle. In this patch, also considered when driver added runtime power
>        management.
>        patch3: enable HPI feature for supported eMMC card.
>        patch4: use HPI to interrupt background operations if there is user
>        request(foreground operations).
>
> Thanks
> Chuanxiao
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v1 0/4]mmc: enable eMMC4.41 new feature background operations and HPI
  2010-11-24  8:12 ` Kyungmin Park
@ 2010-11-24  8:44   ` Dong, Chuanxiao
  0 siblings, 0 replies; 3+ messages in thread
From: Dong, Chuanxiao @ 2010-11-24  8:44 UTC (permalink / raw)
  To: Kyungmin Park
  Cc: linux-mmc@vger.kernel.org, cjb@laptop.org,
	linux-kernel@vger.kernel.org, alan@linux.intel.com,
	arjan@linux.intel.com, Yuan, Hang, 정재훈

> 
> Basic question. Do you have any performance gain or improvement?
> In my test environment. no performance gain. Yes I know it's not for
> performance improvement.
My understanding:
If BKOPS feature is not enabled, the background operations will be started when card handles some read or write command. This will impact read/write performance. If BKOPS is enabled, driver can check whether need to do a BKOPS each time after card handled a read/write command. If need, driver can start BKOPS as soon as possible when user request is empty. This will can improve read/write performance.
So I think, anyhow background operations can improve the performance, but only can be seen when your test card need to do a background operations. If your card needn't, there will be no performance gain I think. Driver will works as normal.
BTW, the BKOPS is an operational features for eMMC4.41 card, to ensure whether the card support this feature, check ext_csd[502].
> 
> How to measure or check it has some improvement?
> Any ideas?
> 
Right now I didn't know how to do a precise measurement. Maybe keep on transferring large data for a long time with a card which enabled/or not the BKOPS feature can help to get some measurement data.

Thanks
Chuanxiao

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-24  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-23  8:43 [PATCH v1 0/4]mmc: enable eMMC4.41 new feature background operations and HPI Chuanxiao Dong
2010-11-24  8:12 ` Kyungmin Park
2010-11-24  8:44   ` Dong, Chuanxiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox