Re: Basic understanding about sk_buff packet handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 14 April 2004 20.42, Marc Huffnagle wrote:

> I disagree, the order of the fields in a struct should have absolutely
> no effect on performance.  Accessing one location in memory should be
> just as fast as accessing another, since it's Random Access Memory.  If
> the fields were accessed sequentially then you would be right, but they
> aren't.

But it can help cache hit rate, thus it has effect on performance.

Bye
Gabor Fekete

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux