Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Friday, March 27, 2009 - 2:55 pm

From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Date: Fri, 27 Mar 2009 12:52:41 +0100


Right I told him to make this very change.

Pretty soon the driver's won't be able to select this value
and it will default to 64 everwhere anyways.

"performance comparison"?  He can't do that unless he tests
performance with two active NAPI devices on the same exact
cpu as the weight value is for fairness between devices.

So you don't tweak "weight" to make one device perform better,
you tweak it to eliminate unfairness between multiple devices.
And the only way to achieve that is to use similar values
across all devices, perhaps link-speed rated which we can't
do just yet, and that's why I told him to use 64 just like
every other driver basically does.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] ucc_geth: Rework the TX logic., Joakim Tjernlund, (Thu Mar 26, 5:54 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., Anton Vorontsov, (Thu Mar 26, 6:39 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., Joakim Tjernlund, (Thu Mar 26, 9:43 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., Anton Vorontsov, (Thu Mar 26, 11:05 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., Joakim Tjernlund, (Thu Mar 26, 11:20 am)
[RFC] niu: RX queues should rotate if budget exhausted, Eric Dumazet, (Thu Mar 26, 11:26 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., David Miller, (Fri Mar 27, 12:42 am)
Re: [PATCH 2/2] ucc_geth: Rework the TX logic., Joakim Tjernlund, (Fri Mar 27, 2:37 am)
Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NA ..., David Miller, (Fri Mar 27, 2:55 pm)
Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NA ..., Joakim Tjernlund, (Mon Mar 30, 12:48 am)