DSPRelated.com
Forums

RUN two modules in paralled

Started by gone...@yahoo.com January 26, 2009
hola all;
im working evm 6424 , i hve to built up full duplex communication between LAN and PC . i hve connected one RJ45 to the daughter card and other to my board. hence all traffic flow through my board .

well i implemented this code in BIOS so that code runs in parallel but my performance was very poor and the system dropped alot of packets.

can i do this implementation in RTDX , and will the code run in parallel.
Please let me know i hve never worked RTDX and wht documents should i read to undersatnd RTDX.

Guday all
waiting for a reply

_____________________________________
Moniska-

> hola all;
> im working evm 6424 , i hve to built up full duplex communication
> between LAN and PC . i hve connected one RJ45 to the
> daughter card and other to my board. hence all traffic flow
> through my board .

Can you explain this? "One RJ45 to my daughter card" ... ok that's one end of a network cable... and "and other to my
board"... that's the other end. But which "board"? Your motherboard? Your EVM board?

It's sorta difficult to guess at what's causing your system to be slow... maybe you have what amounts to a loop
(called a 'network storm')

-Jeff

> well i implemented this code in BIOS so that code runs in parallel but my performance was very poor and the system
> dropped alot of packets.
>
> can i do this implementation in RTDX , and will the code run in parallel.
> Please let me know i hve never worked RTDX and wht documents should i read to undersatnd RTDX.
>
> Guday all
> waiting for a reply

_____________________________________
hola ;
hmm i dont know abt network storm to much ... checked it ... it occurs over 1Gbps traffic ...

maximun speed im handling is 100 Mbps .. the LAN is connected to daughter card n other cable is conected to my board EVM 6424 ...
it like :

network traffic -> Daughter card -> EVM 6424 -> my pc

reverse case:
my pc -> EVM 6424 -> daughter acrd -> network

and can i implement it in RTDX? .. i dont know much abt RTDX

waiting for reply
guday

_____________________________________
Moniska-

> hmm i dont know abt network storm to much ... checked it ... it occurs over 1Gbps traffic ...
>
> maximun speed im handling is 100 Mbps .. the LAN is connected to daughter card n other cable is conected to my board EVM 6424 ...
> it like :
>
> network traffic -> Daughter card -> EVM 6424 -> my pc
>
> reverse case:
> my pc -> EVM 6424 -> daughter acrd -> network

Ok, I get it now. When you say your EVM + daughtercard combination is slow, what PPS
were you trying to send? What packet size? Who is the daughtercard mfg? What code
were you running on the C6424? Some example code provided by the daughtercard mfg?

> and can i implement it in RTDX? .. i dont know much abt RTDX

RTDX won't be anywhere near as fast as 100 Mbps Enet. Suggest that you check some
recent messages on the group archive for RTDX throughput discussion.

-Jeff

_____________________________________
hola ;

Well the board im using is TMS320EVMC6424 , there is no daughtercard available in market tht can b interfaced with it directly.
But i was able to interface DSK-INET (Wiznet 5100) daughter card, with my board .

As im using the lan to pick packet from, the size is random but of almost uniform size btw 60 to 400.

I not sure in which sense ur using PPS in , plz explain...

Had the packets bn in orderly manner i could hve solved alot of my problems but da packets r dropped in random fashion .

Plz do suggest something
thank u for showing ur concern

Guday
waiting for ur reply

_____________________________________
Moniska-

Can you please not cut text off the thread? I have to go back and look at previous
e-mail to remember your situation -- that takes time and takes the fun out of trying
to give you some help.

Doesn't the DSK-INET come with some test code? Did you verify the test code? Are
you running CCS debug (breakpoint, memory watch, etc) at the same time the test code
is running? Who "drives" the test code, the DSP or the PC? There must be a way to
say whether things are working before you go for a full speed PC test. For example,
if you can't do something like 100 400-bit packets per second on reliable basis (let
the code run for several hours) then you have some type of software porting or
integration issue.

PPS -- packet per second. Without that I don't know your bitrate.

-Jeff

g...@yahoo.com wrote:
>
> hola ;
>
> Well the board im using is TMS320EVMC6424 , there is no daughtercard available in market tht can b interfaced with it directly.
> But i was able to interface DSK-INET (Wiznet 5100) daughter card, with my board .
>
> As im using the lan to pick packet from, the size is random but of almost uniform size btw 60 to 400.
>
> I not sure in which sense ur using PPS in , plz explain...
>
> Had the packets bn in orderly manner i could hve solved alot of my problems but da packets r dropped in random fashion .
>
> Plz do suggest something
> thank u for showing ur concern
>
> Guday
> waiting for ur reply

_____________________________________
hola ;
Im sorry and will keep in mind - no text cutting .
Yes DSK-INET did come with example codes but as these examples are not compatible with my board ( TMS320C6424) henceforth i could test them and they were of no use to me. As i was running debug and had breakpoints in code initially to c if it was workingas desired , once tht was confirmed i removed the breakpoints. the code is loaded into DSP and it runs from there.
the average PPS i calculated is about 500,000

hope my answers were satisfactory.
waiting for a reply and help
guday
thank u

************************************************************************
Moniska-

Can you please not cut text off the thread? I have to go back and look at previous
e-mail to remember your situation -- that takes time and takes the fun out of trying
to give you some help.

Doesn't the DSK-INET come with some test code? Did you verify the test code? Are
you running CCS debug (breakpoint, memory watch, etc) at the same time the test code
is running? Who "drives" the test code, the DSP or the PC? There must be a way to
say whether things are working before you go for a full speed PC test. For example,
if you can't do something like 100 400-bit packets per second on reliable basis (let
the code run for several hours) then you have some type of software porting or
integration issue.

PPS -- packet per second. Without that I don't know your bitrate.

-Jeff

g...@yahoo.com wrote:
>
> hola ;
>
> Well the board im using is TMS320EVMC6424 , there is no daughtercard available in market
tht can b interfaced with it directly.
> But i was able to interface DSK-INET (Wiznet 5100) daughter card, with my board .
>
> As im using the lan to pick packet from, the size is random but of almost uniform size btw
60 to 400.
>
> I not sure in which sense ur using PPS in , plz explain...
>
> Had the packets bn in orderly manner i could hve solved alot of my problems but da packets
r dropped in random fashion .
>
> Plz do suggest something
> thank u for showing ur concern
>
> Guday
> waiting for ur reply

_____________________________________
Moniska-

> Im sorry and will keep in mind - no text cutting .
> Yes DSK-INET did come with example codes but as these examples
> are not compatible with my board ( TMS320C6424) henceforth i could
> test them and they were of no use to me. As i was running debug
> and had breakpoints in code initially to c if it was working as
> desired , once tht was confirmed i removed the breakpoints. the
> code is loaded into DSP and it runs from there.

That sounds Ok. When you are ready to measure throughput, use the "Run Free" option
on CCS Debug menu, to make sure that JTAG commands are not occurring.

> the average PPS i calculated is about 500,000

If your PPS is 500k, and you have 60 byte packets, then your bitrate is 240 Mbps.
This is obviously too fast for the DSK-INET daughtercard (limited to 100 Mbps).

I suggest that you run slower tests first, as I noted below. Start slow and verify
your DSP code (and host PC software also) step-by-step.

-Jeff

> ************************************************************************
>
> Moniska-
>
> Can you please not cut text off the thread? I have to go back and look at previous
> e-mail to remember your situation -- that takes time and takes the fun out of trying
> to give you some help.
>
> Doesn't the DSK-INET come with some test code? Did you verify the test code? Are
> you running CCS debug (breakpoint, memory watch, etc) at the same time the test code
> is running? Who "drives" the test code, the DSP or the PC? There must be a way to
> say whether things are working before you go for a full speed PC test. For example,
> if you can't do something like 100 400-bit packets per second on reliable basis (let
> the code run for several hours) then you have some type of software porting or
> integration issue.
>
> PPS -- packet per second. Without that I don't know your bitrate.
>
> -Jeff
>
> g...@yahoo.com wrote:
> >
> > hola ;
> >
> > Well the board im using is TMS320EVMC6424 , there is no daughtercard available in market
> tht can b interfaced with it directly.
> > But i was able to interface DSK-INET (Wiznet 5100) daughter card, with my board .
> >
> > As im using the lan to pick packet from, the size is random but of almost uniform size btw
> 60 to 400.
> >
> > I not sure in which sense ur using PPS in , plz explain...
> >
> > Had the packets bn in orderly manner i could hve solved alot of my problems but da packets
> r dropped in random fashion .
> >
> > Plz do suggest something
> > thank u for showing ur concern
> >
> > Guday
> > waiting for ur reply

_____________________________________