Re: [PATCH v2] scsi: ufs: Allow RTT negotiation
From: Bean Huo
Date: Wed May 08 2024 - 12:32:52 EST
On Fri, 2024-05-03 at 14:34 +0300, Avri Altman wrote:
> UFS4.0, and specifically gear 5 changes this, and requires the device
> to
> be more attentive. This doesn't come free - the device has to
> allocate
> more resources to that end, but the sequential write performance
> improvement is significant. Early measurements shows 25% gain when
> moving from rtt 2 to 9. Therefore, set bMaxNumOfRTT to be
> min(bDeviceRTTCap, NORTT) as UFSHCI expects.
>
> Signed-off-by: Avri Altman <avri.altman@xxxxxxx>
Avri,
I was still curious about this 25% gain, so I will take a look. It
would be great if you could share more information about this.
Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>