Thread (29 messages) 29 messages, 5 authors, 2021-02-08

Re: [PATCH v2 0/9] Add Host control mode to HPB

From: Bean Huo <hidden>
Date: 2021-02-05 11:59:55
Also in: lkml

On Fri, 2021-02-05 at 12:36 +0100, Bean Huo wrote:
quoted
to whatever recommendation received from the device - In host
control
mode, the host uses its own algorithms to decide which regions
should
be activated or inactivated.

We kept the host managed heuristic simple and concise.

Aside from adding a by-spec functionality, host control mode
entails
some further potential benefits: makes the hpb logic transparent
and
readable, while allow tuning / scaling its various parameters, and
utilize system-wide info to optimize HPB potential.
Hi Avri
In addition to the above advantage of HPB device mode, would you
please
share the performance comparison data with host mode? that will draw
more attention, since you mentioned "you tested on Galaxy S20, and
Xiaomi Mi10 pro", I think you have this kind of data.

Your HPB host driver sits in the ufs driver. Since my HPB host mode
driver is also implemented in the UFS driver layer, I did test my HPB
driver between device mode and host mode. Saw there is an
improvement,
but not significant. If you can share your HPB drviver data, that
will
be awesome.

Kind regards,
Bean
So sorry, there are several typos, easily confused you. correct them as
below:

Hi Avri

In addition to the above advantage of HPB "host control mode", would
you please share the performance comparison data with "device control
mode"? that will draw more attention, since you mentioned "you tested
on Galaxy S20, and Xiaomi Mi10 pro", I think you have this kind of
data.

Your HPB "host control mode" driver sits in the ufs driver. Since my
HPB "host control mode" driver is also implemented in the UFS driver
layer, I did test my HPB driver between device mode and host mode. Saw
UFS HPB "host control mode" driver has performance gain comparing to
HPB "device control mode" driver, but not significant. If you can share
your HPB host control mode drviver data, that will be awesome.

Kind regards,
Bean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help