Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965107AbVIUWnx (ORCPT ); Wed, 21 Sep 2005 18:43:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965106AbVIUWnx (ORCPT ); Wed, 21 Sep 2005 18:43:53 -0400 Received: from omx1-ext.sgi.com ([192.48.179.11]:14549 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S965008AbVIUWnw (ORCPT ); Wed, 21 Sep 2005 18:43:52 -0400 Date: Wed, 21 Sep 2005 15:43:29 -0700 (PDT) From: Christoph Lameter To: Eric Dumazet cc: linux-kernel@vger.kernel.org, netfilter-devel@lists.netfilter.org, netdev@vger.kernel.org, Andi Kleen Subject: Re: [PATCH 0/3] netfilter : 3 patches to boost ip_tables performance In-Reply-To: <4331CFA7.50104@cosmosbay.com> Message-ID: References: <432EF0C5.5090908@cosmosbay.com> <200509191948.55333.ak@suse.de> <432FDAC5.3040801@cosmosbay.com> <200509201830.20689.ak@suse.de> <433082DE.3060308@cosmosbay.com> <43308324.70403@cosmosbay.com> <4331CFA7.50104@cosmosbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 18 On Wed, 21 Sep 2005, Eric Dumazet wrote: > Instead of using one vmalloc() area (located in the node of the iptables > process), we now allocate an area for each possible CPU, using NUMA policy > (MPOL_PREFERRED) so that memory should be allocated in the CPU's node > if possible. > > If the size of ipt_table is small enough (less than one page), we use > kmalloc_node() instead of vmalloc(), to use less memory and less TLB entries) > in small setups. Maybe we better introduce vmalloc_node() instead of improvising this for several subsystems? The e1000 driver has similar issues. - 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/