RE: Fast HDLC driver

2 messages, 2 authors, 2002-12-17 · open the first message on its own page

RE: Fast HDLC driver

From: Joakim Tjernlund <hidden>
Date: 2002-11-19 16:48:12

Hi Owen

I have written a patch to 8xx_io/enet.c that avoids copying. It still calls
netif_rx from IRQ context, but it's a start. The patch was posted a few weeks
ago to this list.

Could you post a copy of the qslinux hdlc driver? I am interested to se how
one would avoid calling netif_rx from IRQ context.

      Jocke

Hi all,

I`ve started working on a new project were a high
performace hdlc channel is needed (at least 4Mbps on
MPC8xx-50Mhz).
I found several drivers for hdlc, but some are not
very fast (copies memory,... ), most of them calls
netif_rx from inside interrupt_handler (I don`t think
this is the best place for doing that, watchdog may
expire if the interface gets very busy..).
The only driver I found that seems to be really fast
and doesnt do all this stuff in interrupt context is
for kernel-2.2 (QSLINUX).
Does anyone ported this to 2.4 or knows another
implementation of hdlc driver that could do this the
way I`m thinking?

Thanks in advance, Owen.



** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

memory management bug??

From: Owen Green <hidden>
Date: 2002-12-17 12:44:16

Hi all,

I was making some tests in my linux box and I just
realized that when the system goes to a "low memory
state" kswapd gets almost all the cpu, I've got this
from top (see attached file). But the worst I guess is
that I can't see to where my memory has gone, top
output and /proc/meminfo seems to be "hidding" some
...
I'm using kernel 2.4.4 from Denx, is there memory leak
in this kernel version? How can I reduce kswapd cpu
usage?

Thanks in advance,

Owen.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help