lkml.org 
[lkml]   [2020]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v11 0/4] scsi: ufs: Add Host Performance Booster Support
From
Date
> > Hi All,
> >
> > I want to know how to improve this patch.
>
> Drop it and fix the actual UFS feature to not be so horrible?
>

Hello Christoph,

Thanks for the comment.

The HPB is essential feature for mobile devices.

NAND-based storage needs logical to physical mapping, which is cached in
the storage to minimize translation overhead. UFS is a NAND-based storage
device with limited resources, mainly used for mobile devices. Typically,
SSD has enough cache space for mapping information in SSD, but UFS has not
enough.
So, UFS stores L2P mapping in NAND and performs IO using demand loading
for translation. Due to overhead of demand loading, it degrades random read
performance.

The HPB is a feature which uses host memory to relieve this problem. By
using the HPB feature, UFS can provide improved random read performance
without mapping data thrashing problem. Therefore, the HPB is currently
already included in the Linux kernel code in android devices, however it
is maintained as out-of-tree.

While upstreaming HPB feature to mainline kernel, we received various
comments from several reviewers (thanks!) and the HPB feature can be
improved. I think it would be good to make mainline the feature that are
mainly used.

Thanks,
Daejun

\
 
 \ /
  Last update: 2020-09-17 02:49    [W:0.077 / U:11.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site