Don Fry wrote:
The patch below moves the init_block out of the private struct and
only allocates init block with pci_alloc_consistent.
This has two effects:
1. Performance increase for non cache coherent machines, because the
CPU only data in the private struct are now cached
2. locks
On Tue, Mar 06, 2007 at 07:39:21PM -0800, Michael K. Edwards wrote:
On 3/6/07, Ralf Baechle [EMAIL PROTECTED] wrote:
This small change btw. delivers about ~ 3% extra performance on a very
slow test system.
Has this change been tested / benchmarked under VMWare? pcnet32 is
the (default?)
On 3/6/07, Ralf Baechle [EMAIL PROTECTED] wrote:
Price question: why would this patch make a difference under VMware? :-)
Moving the struct pcnet32_private from the GFP_DMA32 init_block to the
GFP_KERNEL netdev allocation may be a win even on systems where
GFP_DMA32 is normally cached, because
On 3/7/07, Ralf Baechle [EMAIL PROTECTED] wrote:
GFP_* flags have no influence on caching or prefetching.
The zone modifier flags (like GFP_DMA) can in principle affect the
cache/prefetch policy, since they affect what physical address range
the memory is allocated from. I don't know whether
The patch below moves the init_block out of the private struct and
only allocates init block with pci_alloc_consistent.
This has two effects:
1. Performance increase for non cache coherent machines, because the
CPU only data in the private struct are now cached
2. locks are working now for
On Tue, Mar 06, 2007 at 10:45:23AM -0800, Don Fry wrote:
The patch below moves the init_block out of the private struct and
only allocates init block with pci_alloc_consistent.
This has two effects:
1. Performance increase for non cache coherent machines, because the
CPU only data in
On 3/6/07, Ralf Baechle [EMAIL PROTECTED] wrote:
This small change btw. delivers about ~ 3% extra performance on a very
slow test system.
Has this change been tested / benchmarked under VMWare? pcnet32 is
the (default?) virtual device presented by VMWare Workstation, and
that's probably a
On Tue, Mar 06, 2007 at 07:39:21PM -0800, Michael K. Edwards wrote:
On 3/6/07, Ralf Baechle [EMAIL PROTECTED] wrote:
This small change btw. delivers about ~ 3% extra performance on a very
slow test system.
Has this change been tested / benchmarked under VMWare? pcnet32 is
the (default?)