All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-05  9:50 ` Stefan Roese
  0 siblings, 0 replies; 20+ messages in thread
From: Stefan Roese @ 2008-01-05  9:50 UTC (permalink / raw)
  To: netdev; +Cc: linuxppc-dev, benh

Performance tests done by AMCC have shown that 256 buffer increase the
performance of the Linux EMAC driver. So let's update the default
values to match this setup.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 drivers/net/ibm_newemac/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ibm_newemac/Kconfig b/drivers/net/ibm_newemac/Kconfig
index 0d3e738..5a06727 100644
--- a/drivers/net/ibm_newemac/Kconfig
+++ b/drivers/net/ibm_newemac/Kconfig
@@ -9,12 +9,12 @@ config IBM_NEW_EMAC
 config IBM_NEW_EMAC_RXB
 	int "Number of receive buffers"
 	depends on IBM_NEW_EMAC
-	default "128"
+	default "256"
 
 config IBM_NEW_EMAC_TXB
 	int "Number of transmit buffers"
 	depends on IBM_NEW_EMAC
-	default "64"
+	default "256"
 
 config IBM_NEW_EMAC_POLL_WEIGHT
 	int "MAL NAPI polling weight"
-- 
1.5.4.rc2


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-05  9:50 ` Stefan Roese
  0 siblings, 0 replies; 20+ messages in thread
From: Stefan Roese @ 2008-01-05  9:50 UTC (permalink / raw)
  To: netdev; +Cc: linuxppc-dev

Performance tests done by AMCC have shown that 256 buffer increase the
performance of the Linux EMAC driver. So let's update the default
values to match this setup.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 drivers/net/ibm_newemac/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ibm_newemac/Kconfig b/drivers/net/ibm_newemac/Kconfig
index 0d3e738..5a06727 100644
--- a/drivers/net/ibm_newemac/Kconfig
+++ b/drivers/net/ibm_newemac/Kconfig
@@ -9,12 +9,12 @@ config IBM_NEW_EMAC
 config IBM_NEW_EMAC_RXB
 	int "Number of receive buffers"
 	depends on IBM_NEW_EMAC
-	default "128"
+	default "256"
 
 config IBM_NEW_EMAC_TXB
 	int "Number of transmit buffers"
 	depends on IBM_NEW_EMAC
-	default "64"
+	default "256"
 
 config IBM_NEW_EMAC_POLL_WEIGHT
 	int "MAL NAPI polling weight"
-- 
1.5.4.rc2

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05  9:50 ` Stefan Roese
  (?)
@ 2008-01-05 10:19 ` Benjamin Herrenschmidt
  2008-01-05 12:38   ` Stefan Roese
  -1 siblings, 1 reply; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-05 10:19 UTC (permalink / raw)
  To: Stefan Roese; +Cc: netdev, linuxppc-dev


On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> Performance tests done by AMCC have shown that 256 buffer increase the
> performance of the Linux EMAC driver. So let's update the default
> values to match this setup.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---

Do we have the numbers ? Did they also measure latency ?

Ben.

>  drivers/net/ibm_newemac/Kconfig |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ibm_newemac/Kconfig b/drivers/net/ibm_newemac/Kconfig
> index 0d3e738..5a06727 100644
> --- a/drivers/net/ibm_newemac/Kconfig
> +++ b/drivers/net/ibm_newemac/Kconfig
> @@ -9,12 +9,12 @@ config IBM_NEW_EMAC
>  config IBM_NEW_EMAC_RXB
>  	int "Number of receive buffers"
>  	depends on IBM_NEW_EMAC
> -	default "128"
> +	default "256"
>  
>  config IBM_NEW_EMAC_TXB
>  	int "Number of transmit buffers"
>  	depends on IBM_NEW_EMAC
> -	default "64"
> +	default "256"
>  
>  config IBM_NEW_EMAC_POLL_WEIGHT
>  	int "MAL NAPI polling weight"


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 10:19 ` Benjamin Herrenschmidt
@ 2008-01-05 12:38   ` Stefan Roese
  2008-01-05 20:53     ` Benjamin Herrenschmidt
  2008-01-11 17:48     ` Eugene Surovegin
  0 siblings, 2 replies; 20+ messages in thread
From: Stefan Roese @ 2008-01-05 12:38 UTC (permalink / raw)
  To: benh; +Cc: netdev, linuxppc-dev

On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > Performance tests done by AMCC have shown that 256 buffer increase the
> > performance of the Linux EMAC driver. So let's update the default
> > values to match this setup.
> >
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > ---
>
> Do we have the numbers ? Did they also measure latency ?

I hoped this question would not come. ;) No, unfortunately I don't have any 
numbers. Just the recommendation from AMCC to always use 256 buffers.

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 12:38   ` Stefan Roese
@ 2008-01-05 20:53     ` Benjamin Herrenschmidt
  2008-01-05 21:48         ` Josh Boyer
  2008-01-11 17:48     ` Eugene Surovegin
  1 sibling, 1 reply; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-05 20:53 UTC (permalink / raw)
  To: Stefan Roese; +Cc: netdev, linuxppc-dev


On Sat, 2008-01-05 at 13:38 +0100, Stefan Roese wrote:
> On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > performance of the Linux EMAC driver. So let's update the default
> > > values to match this setup.
> > >
> > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > ---
> >
> > Do we have the numbers ? Did they also measure latency ?
> 
> I hoped this question would not come. ;) No, unfortunately I don't have any 
> numbers. Just the recommendation from AMCC to always use 256 buffers.

Ok. Well, it's just a .config option so I suppose the patch is fine. Can
you also update the defconfigs (at least for the recent AMCC boards) ?

Ben.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 20:53     ` Benjamin Herrenschmidt
@ 2008-01-05 21:48         ` Josh Boyer
  0 siblings, 0 replies; 20+ messages in thread
From: Josh Boyer @ 2008-01-05 21:48 UTC (permalink / raw)
  To: benh; +Cc: Stefan Roese, netdev, linuxppc-dev

On Sun, 06 Jan 2008 07:53:06 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> 
> On Sat, 2008-01-05 at 13:38 +0100, Stefan Roese wrote:
> > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > > performance of the Linux EMAC driver. So let's update the default
> > > > values to match this setup.
> > > >
> > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > ---
> > >
> > > Do we have the numbers ? Did they also measure latency ?
> > 
> > I hoped this question would not come. ;) No, unfortunately I don't have any 
> > numbers. Just the recommendation from AMCC to always use 256 buffers.
> 
> Ok. Well, it's just a .config option so I suppose the patch is fine. Can
> you also update the defconfigs (at least for the recent AMCC boards) ?

No need for a defconfig update patch.  Paul or I usually do a general
defconfig update for most boards before the next kernel version.  This
will get picked up then.

josh

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-05 21:48         ` Josh Boyer
  0 siblings, 0 replies; 20+ messages in thread
From: Josh Boyer @ 2008-01-05 21:48 UTC (permalink / raw)
  To: benh; +Cc: netdev, Stefan Roese, linuxppc-dev

On Sun, 06 Jan 2008 07:53:06 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> 
> On Sat, 2008-01-05 at 13:38 +0100, Stefan Roese wrote:
> > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > > performance of the Linux EMAC driver. So let's update the default
> > > > values to match this setup.
> > > >
> > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > ---
> > >
> > > Do we have the numbers ? Did they also measure latency ?
> > 
> > I hoped this question would not come. ;) No, unfortunately I don't have any 
> > numbers. Just the recommendation from AMCC to always use 256 buffers.
> 
> Ok. Well, it's just a .config option so I suppose the patch is fine. Can
> you also update the defconfigs (at least for the recent AMCC boards) ?

No need for a defconfig update patch.  Paul or I usually do a general
defconfig update for most boards before the next kernel version.  This
will get picked up then.

josh

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 21:48         ` Josh Boyer
@ 2008-01-05 21:54           ` Benjamin Herrenschmidt
  -1 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-05 21:54 UTC (permalink / raw)
  To: Josh Boyer; +Cc: Stefan Roese, netdev, linuxppc-dev


On Sat, 2008-01-05 at 15:48 -0600, Josh Boyer wrote:
> No need for a defconfig update patch.  Paul or I usually do a general
> defconfig update for most boards before the next kernel version.  This
> will get picked up then.

Will it ? I think the defconfigs will stick to the old value.

Ben.


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-05 21:54           ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-05 21:54 UTC (permalink / raw)
  To: Josh Boyer; +Cc: netdev, Stefan Roese, linuxppc-dev


On Sat, 2008-01-05 at 15:48 -0600, Josh Boyer wrote:
> No need for a defconfig update patch.  Paul or I usually do a general
> defconfig update for most boards before the next kernel version.  This
> will get picked up then.

Will it ? I think the defconfigs will stick to the old value.

Ben.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 21:54           ` Benjamin Herrenschmidt
@ 2008-01-06  1:43             ` Josh Boyer
  -1 siblings, 0 replies; 20+ messages in thread
From: Josh Boyer @ 2008-01-06  1:43 UTC (permalink / raw)
  To: benh; +Cc: Stefan Roese, netdev, linuxppc-dev

On Sun, 06 Jan 2008 08:54:28 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> 
> On Sat, 2008-01-05 at 15:48 -0600, Josh Boyer wrote:
> > No need for a defconfig update patch.  Paul or I usually do a general
> > defconfig update for most boards before the next kernel version.  This
> > will get picked up then.
> 
> Will it ? I think the defconfigs will stick to the old value.

Put another way, if Kconfig doesn't update it automagically, I'll be
sure to do it myself. :)

josh

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-06  1:43             ` Josh Boyer
  0 siblings, 0 replies; 20+ messages in thread
From: Josh Boyer @ 2008-01-06  1:43 UTC (permalink / raw)
  To: benh; +Cc: netdev, Stefan Roese, linuxppc-dev

On Sun, 06 Jan 2008 08:54:28 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> 
> On Sat, 2008-01-05 at 15:48 -0600, Josh Boyer wrote:
> > No need for a defconfig update patch.  Paul or I usually do a general
> > defconfig update for most boards before the next kernel version.  This
> > will get picked up then.
> 
> Will it ? I think the defconfigs will stick to the old value.

Put another way, if Kconfig doesn't update it automagically, I'll be
sure to do it myself. :)

josh

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-05 12:38   ` Stefan Roese
  2008-01-05 20:53     ` Benjamin Herrenschmidt
@ 2008-01-11 17:48     ` Eugene Surovegin
  2008-01-11 22:10         ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 20+ messages in thread
From: Eugene Surovegin @ 2008-01-11 17:48 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev, netdev

On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote:
> On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > performance of the Linux EMAC driver. So let's update the default
> > > values to match this setup.
> > >
> > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > ---
> >
> > Do we have the numbers ? Did they also measure latency ?
> 
> I hoped this question would not come. ;) No, unfortunately I don't have any 
> numbers. Just the recommendation from AMCC to always use 256 buffers.

This cannot be true for all chips. Default numbers I selected weren't 
random. In particular, 256 for Tx doesn't make a lot of sense for 405. 
You just gonna waste memory.

I'd be quite reluctant to follow such advices from AMCC without actual 
details. 

-- 
Eugene

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-11 17:48     ` Eugene Surovegin
@ 2008-01-11 22:10         ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-11 22:10 UTC (permalink / raw)
  To: Eugene Surovegin; +Cc: Stefan Roese, netdev, linuxppc-dev


On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote:
> On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote:
> > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > > performance of the Linux EMAC driver. So let's update the default
> > > > values to match this setup.
> > > >
> > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > ---
> > >
> > > Do we have the numbers ? Did they also measure latency ?
> > 
> > I hoped this question would not come. ;) No, unfortunately I don't have any 
> > numbers. Just the recommendation from AMCC to always use 256 buffers.
> 
> This cannot be true for all chips. Default numbers I selected weren't 
> random. In particular, 256 for Tx doesn't make a lot of sense for 405. 
> You just gonna waste memory.
> 
> I'd be quite reluctant to follow such advices from AMCC without actual 
> details. 

I think we can make defaults based on other config options nowadays. Not
very nice but we could do things like

	default 128 if PPC_40x
	default 256

Or even more detailed.

Cheers,
Ben.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-11 22:10         ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-11 22:10 UTC (permalink / raw)
  To: Eugene Surovegin; +Cc: netdev, Stefan Roese, linuxppc-dev


On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote:
> On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote:
> > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > Performance tests done by AMCC have shown that 256 buffer increase the
> > > > performance of the Linux EMAC driver. So let's update the default
> > > > values to match this setup.
> > > >
> > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > ---
> > >
> > > Do we have the numbers ? Did they also measure latency ?
> > 
> > I hoped this question would not come. ;) No, unfortunately I don't have any 
> > numbers. Just the recommendation from AMCC to always use 256 buffers.
> 
> This cannot be true for all chips. Default numbers I selected weren't 
> random. In particular, 256 for Tx doesn't make a lot of sense for 405. 
> You just gonna waste memory.
> 
> I'd be quite reluctant to follow such advices from AMCC without actual 
> details. 

I think we can make defaults based on other config options nowadays. Not
very nice but we could do things like

	default 128 if PPC_40x
	default 256

Or even more detailed.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-11 22:10         ` Benjamin Herrenschmidt
@ 2008-01-12  7:26           ` Stefan Roese
  -1 siblings, 0 replies; 20+ messages in thread
From: Stefan Roese @ 2008-01-12  7:26 UTC (permalink / raw)
  To: benh; +Cc: Eugene Surovegin, netdev, linuxppc-dev

On Friday 11 January 2008, Benjamin Herrenschmidt wrote:
> On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote:
> > On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote:
> > > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > > Performance tests done by AMCC have shown that 256 buffer increase
> > > > > the performance of the Linux EMAC driver. So let's update the
> > > > > default values to match this setup.
> > > > >
> > > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > > ---
> > > >
> > > > Do we have the numbers ? Did they also measure latency ?
> > >
> > > I hoped this question would not come. ;) No, unfortunately I don't have
> > > any numbers. Just the recommendation from AMCC to always use 256
> > > buffers.
> >
> > This cannot be true for all chips. Default numbers I selected weren't
> > random. In particular, 256 for Tx doesn't make a lot of sense for 405.
> > You just gonna waste memory.

This may be the case with the "old" 405 PPC's. But with the new ones coming 
out right now, like the up to 666MHz 405EX with GBit support, 256 could be an 
improvement. I still owe you figures though. Will try to do some testing in a 
short while.

> > I'd be quite reluctant to follow such advices from AMCC without actual
> > details.
>
> I think we can make defaults based on other config options nowadays. Not
> very nice but we could do things like
>
> 	default 128 if PPC_40x
> 	default 256
>
> Or even more detailed.

We shouldn't make it too complicated. We can always select different settings 
in the defconfig file. My thinking here is to better wast a little memory 
with a potential performance improvement. Just me 0.02$

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-12  7:26           ` Stefan Roese
  0 siblings, 0 replies; 20+ messages in thread
From: Stefan Roese @ 2008-01-12  7:26 UTC (permalink / raw)
  To: benh; +Cc: netdev, linuxppc-dev

On Friday 11 January 2008, Benjamin Herrenschmidt wrote:
> On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote:
> > On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote:
> > > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote:
> > > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote:
> > > > > Performance tests done by AMCC have shown that 256 buffer increase
> > > > > the performance of the Linux EMAC driver. So let's update the
> > > > > default values to match this setup.
> > > > >
> > > > > Signed-off-by: Stefan Roese <sr@denx.de>
> > > > > ---
> > > >
> > > > Do we have the numbers ? Did they also measure latency ?
> > >
> > > I hoped this question would not come. ;) No, unfortunately I don't have
> > > any numbers. Just the recommendation from AMCC to always use 256
> > > buffers.
> >
> > This cannot be true for all chips. Default numbers I selected weren't
> > random. In particular, 256 for Tx doesn't make a lot of sense for 405.
> > You just gonna waste memory.

This may be the case with the "old" 405 PPC's. But with the new ones coming 
out right now, like the up to 666MHz 405EX with GBit support, 256 could be an 
improvement. I still owe you figures though. Will try to do some testing in a 
short while.

> > I'd be quite reluctant to follow such advices from AMCC without actual
> > details.
>
> I think we can make defaults based on other config options nowadays. Not
> very nice but we could do things like
>
> 	default 128 if PPC_40x
> 	default 256
>
> Or even more detailed.

We shouldn't make it too complicated. We can always select different settings 
in the defconfig file. My thinking here is to better wast a little memory 
with a potential performance improvement. Just me 0.02$

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-12  7:26           ` Stefan Roese
@ 2008-01-12  7:57             ` Benjamin Herrenschmidt
  -1 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-12  7:57 UTC (permalink / raw)
  To: Stefan Roese; +Cc: Eugene Surovegin, netdev, linuxppc-dev


On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote:
> 
> We shouldn't make it too complicated. We can always select different
> settings 
> in the defconfig file. My thinking here is to better wast a little
> memory 
> with a potential performance improvement. Just me 0.02$

If it gets really critical, then we can move those settings to the
device-tree.

Ben.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-12  7:57             ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 20+ messages in thread
From: Benjamin Herrenschmidt @ 2008-01-12  7:57 UTC (permalink / raw)
  To: Stefan Roese; +Cc: netdev, linuxppc-dev


On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote:
> 
> We shouldn't make it too complicated. We can always select different
> settings 
> in the defconfig file. My thinking here is to better wast a little
> memory 
> with a potential performance improvement. Just me 0.02$

If it gets really critical, then we can move those settings to the
device-tree.

Ben.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
  2008-01-12  7:57             ` Benjamin Herrenschmidt
@ 2008-01-12  9:08               ` Eugene Surovegin
  -1 siblings, 0 replies; 20+ messages in thread
From: Eugene Surovegin @ 2008-01-12  9:08 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Stefan Roese, netdev, linuxppc-dev

On Sat, Jan 12, 2008 at 06:57:24PM +1100, Benjamin Herrenschmidt wrote:
> 
> On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote:
> > 
> > We shouldn't make it too complicated. We can always select different
> > settings 
> > in the defconfig file. My thinking here is to better wast a little
> > memory 
> > with a potential performance improvement. Just me 0.02$
> 
> If it gets really critical, then we can move those settings to the
> device-tree.

Come on guys, it's not that critical. I guess I just don't trust a 
certain company :)

-- 
Eugene


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers
@ 2008-01-12  9:08               ` Eugene Surovegin
  0 siblings, 0 replies; 20+ messages in thread
From: Eugene Surovegin @ 2008-01-12  9:08 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: netdev, Stefan Roese, linuxppc-dev

On Sat, Jan 12, 2008 at 06:57:24PM +1100, Benjamin Herrenschmidt wrote:
> 
> On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote:
> > 
> > We shouldn't make it too complicated. We can always select different
> > settings 
> > in the defconfig file. My thinking here is to better wast a little
> > memory 
> > with a potential performance improvement. Just me 0.02$
> 
> If it gets really critical, then we can move those settings to the
> device-tree.

Come on guys, it's not that critical. I guess I just don't trust a 
certain company :)

-- 
Eugene

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-01-12  9:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-05  9:50 [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers Stefan Roese
2008-01-05  9:50 ` Stefan Roese
2008-01-05 10:19 ` Benjamin Herrenschmidt
2008-01-05 12:38   ` Stefan Roese
2008-01-05 20:53     ` Benjamin Herrenschmidt
2008-01-05 21:48       ` Josh Boyer
2008-01-05 21:48         ` Josh Boyer
2008-01-05 21:54         ` Benjamin Herrenschmidt
2008-01-05 21:54           ` Benjamin Herrenschmidt
2008-01-06  1:43           ` Josh Boyer
2008-01-06  1:43             ` Josh Boyer
2008-01-11 17:48     ` Eugene Surovegin
2008-01-11 22:10       ` Benjamin Herrenschmidt
2008-01-11 22:10         ` Benjamin Herrenschmidt
2008-01-12  7:26         ` Stefan Roese
2008-01-12  7:26           ` Stefan Roese
2008-01-12  7:57           ` Benjamin Herrenschmidt
2008-01-12  7:57             ` Benjamin Herrenschmidt
2008-01-12  9:08             ` Eugene Surovegin
2008-01-12  9:08               ` Eugene Surovegin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.