Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756574Ab1EYD0Z (ORCPT ); Tue, 24 May 2011 23:26:25 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:60820 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754340Ab1EYD0Y (ORCPT ); Tue, 24 May 2011 23:26:24 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=oDRIhfdND4fj8AUiTeXW43Q/XR9Bey7i7ovGUenTeKD37BPvMCsAhOL/Dsvi/Fxu3U XLPTTP9hLFrMG2u70M9Edq/ipcdma1WTQWTGZLi3aeZ/3gjVdlJo5eJURcFixA3Du1Xt 080429fngH++ozTVfRd3u30n9bFtKoaTJ/vX4= Subject: Re: TCP session management From: Eric Dumazet To: Nauman Tahir Cc: Kernel Newbies , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 25 May 2011 05:26:18 +0200 Message-ID: <1306293978.3305.14.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 26 Le mardi 24 mai 2011 à 15:29 -0700, Nauman Tahir a écrit : > Hi > > I am interested in learning about highly practiced/recommended > algorithms used for TCP session management in the stack. I am writing > code for an embedded processor which needs to process TCP/IP flows and > it does not have the stack. I am interested in implementing most > efficient algorithm to maintain/lookup about 5 million full duplex TCP > sessions. Hi Not sure what are your needs... Linux has no particular problems handling 5 million councurrent tcp sessions, granted you have enough memory. What do you mean by "it does not have the stack" ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/