From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19813 invoked by alias); 27 Jun 2007 10:25:43 -0000 Received: (qmail 19805 invoked by uid 22791); 27 Jun 2007 10:25:42 -0000 X-Spam-Check-By: sourceware.org Received: from mailgate.aptx.com (HELO mailgate.aptx.com) (83.141.98.202) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Jun 2007 10:25:36 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 27 Jun 2007 20:07:00 -0000 Message-ID: <8C4E0C2409735E4FBC22D754A238F94D5CD9CB@APTSBS.apt.local> From: "James Hunter" To: X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Sockets getting full.. X-SW-Source: 2007-06/txt/msg00255.txt.bz2 Hi, We are using a PowerQuicc III (MPC8541@677Mhz - so plenty of grunt) which is tasked with sending and receiving data over a UDP connection. The test application is only receiving data from another external UDP transmitter. What we are seeing is almost immediately the socket is filling up with data as if your application is not reading the data back quickly enough. This test application spins on a Select() waiting to get packets, its executing around ~10k times per second so fast enough to catch any packets - we do sleep at the end of this loop. The sending unit sends around 700 packets per second, however we receive only around 120 (going on the results returned by Select function). However the packets received are in order (using a sequence number) so nothing is dropped, they just appear to fall out of Select really really slow (we are aiming for a lot more than 700 packets per second from the HW) We have also extended MBUFs / Clusters as we originally were running out at start-up (4Mb is set to the network stuff - we have 128Mb DDR2 on board). Any help would be greatly appreciated. Regards, James -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss