From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754868Ab0KEU1P (ORCPT ); Fri, 5 Nov 2010 16:27:15 -0400 Received: from mail.candelatech.com ([208.74.158.172]:37047 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752709Ab0KEU1C (ORCPT ); Fri, 5 Nov 2010 16:27:02 -0400 Message-ID: <4CD46892.6050408@candelatech.com> Date: Fri, 05 Nov 2010 13:26:58 -0700 From: Ben Greear Organization: Candela Technologies User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: Eric Dumazet CC: NetDev , linux-kernel , Tejun Heo Subject: Re: OOM when adding ipv6 route: How to make available more per-cpu memory? References: <4CD43C87.5040403@candelatech.com> <1288980361.2882.1070.camel@edumazet-laptop> <4CD449A5.5070305@candelatech.com> <1288988403.2665.268.camel@edumazet-laptop> In-Reply-To: <1288988403.2665.268.camel@edumazet-laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/05/2010 01:20 PM, Eric Dumazet wrote: > Your vmalloc space is very fragmented. pcpu_get_vm_areas() want > hugepages (4MB on your machine, 2MB on mine because I have > CONFIG_HIGHMEM64G=y) > > You could : > > 1) Use a 64 bit kernel ( :) ) We mostly use 64-bit, but just not for the remastered live cd image. > or > > 2) boot parameter vmalloc=256M to get more room > (default is 128 Mbytes) We'll try that. > > and eventually > > select a 2G/2G User/Kernel split to get more LOWMEM, because big vmalloc > windows shrinks the LOWMEM zone. (CONFIG_VMSPLIT_2G=y) That sounds promising as well. I was also wondering if it would make sense to allow one to disable the snmp stats for ipv6? I don't think I have any use for those stats anyway.. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com