lkml.org 
[lkml]   [2004]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PACKET_MMAP limit removal
On Sat, 27 Mar 2004 19:42:00 +0100
uaca@alumni.uv.es wrote:

> This patch also it removes the current limit on the number of frames
> PACKET_MMAP can hold. Currently the buffer can hold only
> 0.15 seconds at a 1 Gb/s in a 32 bit architecture, half
> this amount in a 64 bit machine.
>
> With this patch, PACKET_MMAP requires __less memory__
> to hold the buffer.
>
> I have rearranged the most used members of struct packet_opt so they
> fit in a single cache line.
>
> Any comment would be greatly appreciated

You're basically trading memory overhead for computational overhead.
And in this case I think that's fine.

I think your patch is fine and I'm going to apply it.
Can you cook up a 2.4.x version of this for me?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.029 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site