From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932068AbWKGGIe (ORCPT ); Tue, 7 Nov 2006 01:08:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754073AbWKGGId (ORCPT ); Tue, 7 Nov 2006 01:08:33 -0500 Received: from nz-out-0102.google.com ([64.233.162.203]:9540 "EHLO nz-out-0102.google.com") by vger.kernel.org with ESMTP id S1754069AbWKGGIc convert rfc822-to-8bit (ORCPT ); Tue, 7 Nov 2006 01:08:32 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RED0A9q7xB0EffqCSlFDqMRl6eNR6Id9XouGGjEVH6C994nehyFfRByKEeKimrDkzpnSaybFzkgxm7Oyfjzsyxi0gEYUAWISCcZNjuGQ08Km5AlyblMbtZshBcwv4SxVcZ0Yz+GOTK+dNfS12HPDl5xlTOkiDDdjcXYaAcBvfUA= Message-ID: Date: Tue, 7 Nov 2006 14:08:31 +0800 From: "Zhao Xiaoming" To: "Eric Dumazet" Subject: Re: ZONE_NORMAL memory exhausted by 4000 TCP sockets Cc: linux-kernel@vger.kernel.org, "Linux Netdev List" In-Reply-To: <45501F60.4070606@cosmosbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: <200611061022.57840.dada1@cosmosbay.com> <200611061433.50912.dada1@cosmosbay.com> <45501F60.4070606@cosmosbay.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 11/7/06, Eric Dumazet wrote: > Zhao Xiaoming a écrit : > > On 11/6/06, Eric Dumazet wrote: > >> In fact, your kernel has CONFIG_4KSTACKS, kernel thread stacks use 4K > >> instead > >> of 8K. > >> > >> If you want to increase LOWMEM, (and keep 32bits kernel), you can chose a > >> 2G/2G user/kernel split, instead of the 3G/1G default split. > >> (see config : CONFIG_VMSPLIT_2G) > >> > >> Eric > > > Thank you for your advice. I know increase LOMEM could be help, but > > now my concern is why I lose my 500M bytes memory after excluding all > > known memory cost. > > Unfortunatly you dont provide very much details. > AFAIK you didnt even gave whcih version of linux you run, which programs you > run... > You keep answering where you 'lost' your mem, it's quite buging. > Maybe some Oracles on this list will see the light for you, before exchanging > 100 mails with you ? > > I think I aready gave the kernel version and introduced my application in the first post. What are the further details you want? The reason I keep asking for the 'lost mem' is that I want to focus on the problem, not the workarrounds that may lead to further problems if I keep increasing the concurrent scale. Anyway, since the problem is already solved (see my last post), I'd like to thank you for the help. Xiaoming.