Files
linux/include/net
Eric Dumazet e37ef961e5 neigh: reorder struct neighbour fields
Le mardi 12 octobre 2010 à 00:02 +0200, Eric Dumazet a écrit :
> Here is the followup patch.
>
> Thanks !
>

Oops, this was an old version, the up2date ones also took care of "used"
field.

I guess its time for a sleep, sorry again.

[PATCH net-next V2] neigh: reorder struct neighbour fields

(refcnt) and (ha_lock, ha, used, dev, output, ops, primary_key) should
be placed on a separate cache lines.

refcnt can be often written, while other fields are mostly read.

This gave me good result on stress test :

before:

real    0m45.570s
user    0m15.525s
sys     9m56.669s

After:

real    0m41.841s
user    0m15.261s
sys     8m45.949s

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-11 16:09:14 -07:00
..
2010-08-02 14:28:34 -05:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2009-11-04 05:06:25 -08:00
2010-10-07 14:41:28 -04:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2009-03-21 19:06:54 -07:00
2010-10-03 22:17:54 -07:00
2008-07-05 21:26:57 -07:00
2009-11-04 05:06:25 -08:00
2010-09-23 14:33:39 -07:00
2010-04-13 01:41:33 -07:00
2010-06-03 03:21:52 -07:00
2010-10-05 20:39:38 -07:00
2010-09-08 10:39:57 -07:00
2010-09-23 14:33:39 -07:00
2008-06-11 21:00:38 -07:00
2010-09-27 21:30:42 -07:00
2010-09-23 14:33:39 -07:00
2010-06-03 03:21:52 -07:00
2008-02-29 11:46:17 -08:00
2009-12-26 20:46:28 -08:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-03-12 15:52:40 -08:00
2009-01-06 11:38:15 -07:00
2010-06-23 12:58:40 -07:00
2009-11-20 15:35:04 -08:00
2009-03-21 19:06:50 -07:00
2009-11-04 05:06:25 -08:00
2009-07-26 19:11:14 -07:00
2010-09-23 14:33:39 -07:00
2010-06-30 13:31:19 -07:00
2010-09-26 18:53:07 -07:00
2008-07-05 21:25:39 -07:00
2010-09-08 21:45:01 -07:00
2009-10-07 16:39:43 -04:00