LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Packets loose when i enable the cache (https://www.linuxquestions.org/questions/linux-networking-3/packets-loose-when-i-enable-the-cache-4175425728/)

SIG_SEGV 09-05-2012 03:48 AM

Packets loose when i enable the cache
 
Hello all,
Recently I have been put to a debugging issue as followed.

1. there are 2 PC systems which are connected each other via 2 boards (coldfire cpu 32-bit) in between
i.e
Quote:

PC1 -> board1 -> board2 -> PC2
2. 1000 packets are sent for each trial from PC1 to PC2 via "board1 -> board2"

3. The setup is working fine without any faults. But recently it was noticed that the SDRAM cache was not enabled in both the boards (1 and 2) and hence the packet transmission was slow. So, it was required to enable the caches of two boards.

4. Therefore i enabled the caches of two boards by editing the head.s file of the CPU specific code (arch/m68k/coldfire/common/head.S)
Code:

#define ACR1_DEFAULT    #0x400FA008  /* SDRAM cached/write through */
5.Now the packet transmission is considerably fast but there is a loss in packets. 10 packets are lost / 100 packet transmission.


What might be the reason....It has been a month, M scratching my head....Anyone have idea?? :(

acid_kewpie 09-05-2012 04:06 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 08:44 PM.