Prefetching only helps performance if it is done several 100
instructions before the actual use. The purpose of the prefetch
is to read ahead, it doesn't help if the next instruction
will block.
The code in the bnxt driver was doing these unnecessary prefetches.
Signed-off-by: Stephen Hemminger
On Wed, Nov 4, 2020 at 12:03 PM Stephen Hemminger
wrote:
>
> Prefetching only helps performance if it is done several 100
> instructions before the actual use. The purpose of the prefetch
> is to read ahead, it doesn't help if the next instruction
> will block.
>
> The code in the bnxt driver was
On Thu, Nov 5, 2020 at 7:18 AM Lance Richardson <
lance.richard...@broadcom.com> wrote:
> On Wed, Nov 4, 2020 at 12:03 PM Stephen Hemminger
> wrote:
> >
> > Prefetching only helps performance if it is done several 100
> > instructions before the actual use. The purpose of the prefetch
> > is to r
3 matches
Mail list logo