Peter,

I don't mean to hijack your thread, but we've been having a very similar
(and time-absorbing) issue with the PAPER f-engine FPGA firmware here at
BYU. Out of curiosity, does this single packet that you're receiving in
tcpdump change in size every time you reprogram the ROACH? We've seen this
happen, and we're pretty sure that this isolated packet is the 10-GbE
buffer flushing when the 10-GbE core is initialized (i.e. the enable signal
isn't sync'd with the start of new packet).

Regardless of whether we have the same issue, I'm very interested to see
this problem's resolution.

Good luck,

Richard Black

On Thu, Oct 23, 2014 at 7:50 PM, peter <peterniu...@163.com> wrote:

> Hi Joe, & All,
> I find a thing this morning , there is one packet send out from roach When
> I run PAPER model, which I got from HPC tcpdump:
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on px1-2, link-type EN10MB (Ethernet), capture size 65535 bytes
> 09:04:02.757813 IP 10.10.2.1.8511 > 10.10.2.9.8511: UDP, length 6456
>
> The lenght is not expected 8200+8 ,and far from full TX buffer size
> 8K+512.And the other packets are stopped from overflow.
> I have tried to change the tutorial 2 packet size to 8200 bytes and 8K
> +512 bytes. It is  a good transfer.I also make sure the boundary size is
> indeed 8K+512 ,because while I change size to 8K+513 byetes ,There is no
> data send.So the received packet this morning with length 6456  is totally
> under the limit.But what caused the other packets  in overflow?
> Any suggestions could be helpful !
> peter
>
>
>
>
>
>
> At 2014-10-24 00:37:14, "Kujawski, Joseph" <jkujaw...@siena.edu> wrote:
>
> Peter,
>
> By cadence of the broadcast, I mean how often are the 8200 byte packets
> sent.  Basically, I would like to determine how close your system is to the
> maximum data rate of the 10Gbe.
>
> Also, it would be instructive to know the following:
>
> 1) What transmission protocol are you using? (the One_GBe module uses UDP
> are you using that or TCP?)
>
> 2) What NICs are you using on the receive side?
>
> At this time, I am working on the theory that the issue is related to the
> network itself not being able to sustain the data volume you are generating
> and would like to get a better idea of how much data is generated and how
> often it is sent.
>
> Thanks,
>
> -Joe Kujawski
>
>
>
> On Thu, Oct 23, 2014 at 12:01 PM, peter <peterniu...@163.com> wrote:
>
>>  hi Joe,
>> 1,yes ,acctually we have 3 roach2 with 8 nics.
>> 2,well,each roach has 4 of 8 NICs connect directly to pc.the other 4
>> connect 10gb switch.I have connected the sfp wire( whitch should connect
>> switch)  to pc directly to see whwther the data come out.but no data out as
>> for the overflow.
>> 3 could you make an example about the cadence broadcast?I am not
>>  familiar with this.
>> it indeed require bigger data,but each packet has the limited 8200 bytes.
>> thanks for your reply!
>> peter
>> --
>> 发自 Android 网易邮箱
>>
>>
>>
>> On 2014-10-23 23:16 , Kujawski, Joseph <jkujaw...@siena.edu> Wrote:
>>
>> Peter,
>>
>> I am downloading it now.  Can you answer these questions:
>>
>> 1) Do you have a standard PAPER architecture with two ROACH boards each
>> containing 8 10GBe ports?
>>
>> 2) Please describe your internet architecture i.e. how are each of the
>> ports connected.
>>
>> 3) What is the cadence of each broadcast?
>>
>> My current suspicion is that you are generating more data than you can
>> push through your interface(s).  It may be that the higher data volume in
>> your implementation requires more of a network infrastructure than was
>> required byt the original system.
>>
>> -Joe Kujawski
>>
>> On Thu, Oct 23, 2014 at 11:01 AM, peter <peterniu...@163.com> wrote:
>>
>>> This is a littel big, roach2_tl8511port is the one can send data
>>> normally.The environment should be ok now ,Iast time the crc32x64_con
>>> may be missing.
>>> Good night!
>>>
>>>
>>>
>>>
>>>
>>>
>>> At 2014-10-23 22:52:54, "Kujawski, Joseph" <jkujaw...@siena.edu> wrote:
>>>
>>> Peter,
>>>
>>> 1) For reference, here is a list of the errors:
>>>
>>> --------------------------------- Version Log
>>> ----------------------------------
>>> Version                                 Path
>>> System Generator 14.6                   C:/Xilinx/14.6/ISE_DS/ISE/sysgen
>>> Matlab 8.0.0.783 (R2012b)               C:/MATLAB/R2012b
>>> ISE                                     C:/Xilinx/14.6/ISE_DS/ISE
>>>
>>> --------------------------------------------------------------------------------
>>> Summary of Errors:
>>> Error 0001: Could not find the configuration m-function "crc32x64_con...
>>>      Block: 'roach2_fengine_tl8511port/transpose/Transpose1/crc/crc32x64'
>>> Error 0002: Could not find the configuration m-function "crc32x64_con...
>>>      Block: 'roach2_fengine_tl8511port/transpose/Transpose2/crc/crc32x64'
>>> Error 0003: Could not find the configuration m-function "crc32x64_con...
>>>      Block: 'roach2_fengine_tl8511port/transpose/Transpose3/crc/crc32x64'
>>> Error 0004: Could not find the configuration m-function "crc32x64_con...
>>>      Block: 'roach2_fengine_tl8511port/transpose/Transpose4/crc/crc32x64'
>>>
>>> --------------------------------------------------------------------------------
>>>
>>> 2) Your email did not have an attachment.  I have more comments, but
>>> wanted to let you know about the attachment before you went to bed.
>>>
>>> -Joe Kujawski
>>>
>>>
>>>
>>>
>>> On Thu, Oct 23, 2014 at 10:33 AM, peter <peterniu...@163.com> wrote:
>>>
>>>>
>>>> Hi Joe,
>>>> Thanks for your warm help!
>>>> What error  shows when you compile my model?Is there some file it
>>>> missed? I will packet my whole file to you in the attachment. And how about
>>>> the PAPER one ?Did it report overflow message? It need to install and use
>>>> the ruby to control it .
>>>> Leave the PAPER model alone, Let's talk about the 10Gb block on roach
>>>> v2. Though your model is good to see the Data_valid and eof etc.  I
>>>> don't know how to add your model to the PAPER as I realize the PAPER have a
>>>> data valid and EOF according to a counter.So I don't know where to put the
>>>> model.For example,if I put the data_valid or eof control process you
>>>> designed on the 10Gbe port in PAPER model,then I think it equal to add a
>>>> 10Gbe block instead One_GBe block in yours. *_*!!
>>>> I change the number 50 to 1025 on tutorial 2 to make packet size to
>>>> 8200 bytes ,And it seems good transfer without error.it is a
>>>>  frequency 1.3*1025. that means 1 packet send every 1.3*1025 clock.I got
>>>> the boundary frequency 1.3*1025 by test a lot of times.  but when I change
>>>> the frequency lower than 1.3*1025,the first few packets can send out,but
>>>> the overflow comes.I think it is the transfer frequency that determined the
>>>> overflow.
>>>> Thanks for your suggestions and advice!
>>>> peter
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> At 2014-10-23 00:14:29, "Kujawski, Joseph" <jkujaw...@siena.edu> wrote:
>>>>
>>>>
>>>> Peter,
>>>>
>>>> I find that I can not compile and simulate your design, however,
>>>> looking at the code structure, I can't tell if tx_val and tx_EOF are high
>>>> at the same time:
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> Also, I modified the design to send out a packet of size 8200 once per
>>>> second (model attached) and added a register that latches the GBE tx_aful
>>>> and tx_overrun lines so they can be read through the KATCP interface.
>>>> Modify the model to remove the oscilloscope and Xilinx out gateways before
>>>> compiling it for your platform.  Note that this model does not check for
>>>> overflow, though the latch will let you know if you have had one.
>>>>
>>>> Let me know how this works for you.
>>>>
>>>> -Joe Kujawski
>>>> --
>>>> **************************************
>>>> * Joe Kujawski
>>>> * Siena College
>>>> * Dept. of Physics and Astronomy, RB 113
>>>> * 515 Loudon Road
>>>> * Loudonville, NY 12211-1462
>>>> *
>>>> * Email: jkujaw...@siena.edu
>>>> * Phone: 518-867-7509  <-- NEW NUMBER
>>>> * Fax: 518-783-2986
>>>> **************************************
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> **************************************
>>> * Joe Kujawski
>>> * Siena College
>>> * Dept. of Physics and Astronomy, RB 113
>>> * 515 Loudon Road
>>> * Loudonville, NY 12211-1462
>>> *
>>> * Email: jkujaw...@siena.edu
>>> * Phone: 518-867-7509  <-- NEW NUMBER
>>> * Fax: 518-783-2986
>>> **************************************
>>>
>>>  *从网易163邮箱发来的云附件*
>>>
>>> <http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=ni5wv2USwWyDmPgaU8qrtm3SI4fmHSp19TfXED2D0y5lrIarwwN-gC6oJIJHF3zlD4qjr-rbmyvVFrfYD-ECWg&title=Re%3ARe%3A%20Re%3A%20Re%3A%20Re%3A%20Problem%20with%20the%20overflow>
>>> paperfengine.zip
>>> <http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=ni5wv2USwWyDmPgaU8qrtm3SI4fmHSp19TfXED2D0y5lrIarwwN-gC6oJIJHF3zlD4qjr-rbmyvVFrfYD-ECWg&title=Re%3ARe%3A%20Re%3A%20Re%3A%20Re%3A%20Problem%20with%20the%20overflow>
>>> (126.71M, 2014年11月7日 22:58 到期)
>>> 下载
>>> <http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=ni5wv2USwWyDmPgaU8qrtm3SI4fmHSp19TfXED2D0y5lrIarwwN-gC6oJIJHF3zlD4qjr-rbmyvVFrfYD-ECWg&title=Re%3ARe%3A%20Re%3A%20Re%3A%20Re%3A%20Problem%20with%20the%20overflow>
>>>
>>>
>>>
>>
>>
>> --
>> **************************************
>> * Joe Kujawski
>> * Siena College
>> * Dept. of Physics and Astronomy, RB 113
>> * 515 Loudon Road
>> * Loudonville, NY 12211-1462
>> *
>> * Email: jkujaw...@siena.edu
>> * Phone: 518-867-7509  <-- NEW NUMBER
>> * Fax: 518-783-2986
>> **************************************
>>
>>
>
>
> --
> **************************************
> * Joe Kujawski
> * Siena College
> * Dept. of Physics and Astronomy, RB 113
> * 515 Loudon Road
> * Loudonville, NY 12211-1462
> *
> * Email: jkujaw...@siena.edu
> * Phone: 518-867-7509  <-- NEW NUMBER
> * Fax: 518-783-2986
> **************************************
>
>
>
>

Reply via email to