netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: hadi@xxxxxxxxxxxxxxxx
Subject: Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 09 Jun 2003 05:32:18 -0700 (PDT)
Cc: xerox@xxxxxxxxxx, sim@xxxxxxxxxxxxx, fw@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20030609080430.I34540@xxxxxxxxxxxxxxxx>
References: <20030609072227.R34462@xxxxxxxxxxxxxxxx> <20030609.045547.91327851.davem@xxxxxxxxxx> <20030609080430.I34540@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Jamal Hadi <hadi@xxxxxxxxxxxxxxxx>
   Date: Mon, 9 Jun 2003 08:18:50 -0400 (EDT)
   
   I found in my tests with a ethernet driver that prefetching the
   _next_ dma descriptor gave better numbers than prefetching the
   current one but i didnt spend too much time.

Two issues:

1) We have some cycles to borrow for head entry, we can make
   prefetch right before rcu_read_lock()

2) Ideally, hash chains will not exceed 1 (2 at the max)
   entries.

Just some thinking...

<Prev in Thread] Current Thread [Next in Thread>