From: "David S. Miller" <davem@redhat.com>
To: uaca@alumni.uv.es
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org,
kuznet@ms2.inr.ac.ru
Subject: Re: [PATCH] PACKET_MMAP limit removal
Date: Sun, 28 Mar 2004 01:51:56 -0800 [thread overview]
Message-ID: <20040328015156.7c4a9bd7.davem@redhat.com> (raw)
In-Reply-To: <20040327184200.GA29991@pusa.informat.uv.es>
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.
prev parent reply other threads:[~2004-03-28 9:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 17:05 RFC/Doc/BUGs: CONFIG_PACKET_MMAP uaca
2004-03-27 18:42 ` [PATCH] PACKET_MMAP limit removal uaca
2004-03-28 9:51 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040328015156.7c4a9bd7.davem@redhat.com \
--to=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=uaca@alumni.uv.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox