From: gopi@india.tejasnetworks.com
To: Allen Curtis <acurtis@onz.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: RE: mpc 8260 performance..
Date: Fri, 31 Jan 2003 15:13:41 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.21.0301311456080.22077-100000@localhost.localdomain> (raw)
In-Reply-To: <NCBBIINEHIPFGJPLBEIFIEKHEBAA.acurtis@onz.com>
I understand a bit of Eth and skb code of linux. One of my concerns
was interrupts.
In this case, the system can potentially be interrupted too
often(assuming an interrupt per frame received and transmitted,
it comes to nearly interrupt every few 10s of uSecs). So, though the
packet processing doesnt take much time(involving movement of skbs
and modifying few fields), there is a hidden cost of context
swaps(kernel isr, bh, user space)
I am not sure of the effect of this on performance..
thanx
gopi
On Fri, 31 Jan 2003, Allen Curtis wrote:
> > interfaces: hdlc interfaces (external hdlc controller connected
> > to 8260 which
> > can write to SDRAM directly. Hence 8260 wont be
> > involved in packet copying).
> >
> > routing:
> > +------------+
> > Ethernet | 8260 based |hdlc
> > External world <===========> | embedded |----- 40 systems
> > | system |-----
> > | |-----
> > +------------+
> >
> > As you can see, the systems on hdlc are connected to external world
> > through the 8260 based embedded system.
> >
> > At peak, 8260 will have to get/send of all the hdlc interfaces and
> > route them to external world over Ethernet.
>
> The only processor overhead you should have is inspecting the HDLC packets
> and repackaging them for routing purposes. Take some time and learn the
> Ethernet and SKB portions of Linux. You should be able to preallocate all
> your buffers. The HDLC ASIC will DMA into RAM, the 8260 will DMA out the
> Ethernet packets. Achievable CPU utilization should be very low.
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-01-31 15:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-31 8:40 mpc 8260 performance gopi
2003-01-31 13:39 ` Allen Curtis
2003-01-31 14:22 ` gopi
2003-01-31 14:33 ` Allen Curtis
2003-01-31 15:13 ` gopi [this message]
2003-01-31 15:37 ` Allen Curtis
2003-01-31 17:45 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2003-01-31 14:49 Steven Blakeslee
2003-01-31 14:47 ` Allen Curtis
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=Pine.LNX.4.21.0301311456080.22077-100000@localhost.localdomain \
--to=gopi@india.tejasnetworks.com \
--cc=acurtis@onz.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).