From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753703AbbDPQAO (ORCPT ); Thu, 16 Apr 2015 12:00:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51649 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753187AbbDPQAI (ORCPT ); Thu, 16 Apr 2015 12:00:08 -0400 Message-ID: <552FDC87.6040004@redhat.com> Date: Thu, 16 Apr 2015 12:00:07 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Mel Gorman , Linux-MM CC: Hugh Dickins , Minchan Kim , Dave Hansen , Andi Kleen , LKML Subject: Re: [PATCH 3/4] mm: Gather more PFNs before sending a TLB to flush unmapped pages References: <1429179766-26711-1-git-send-email-mgorman@suse.de> <1429179766-26711-4-git-send-email-mgorman@suse.de> In-Reply-To: <1429179766-26711-4-git-send-email-mgorman@suse.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/16/2015 06:22 AM, Mel Gorman wrote: > The patch "mm: Send a single IPI to TLB flush multiple pages when unmapping" > would batch 32 pages before sending an IPI. This patch increases the size of > the data structure to hold a pages worth of PFNs before sending an IPI. This > is a trade-off between memory usage and reducing IPIS sent. In the ideal > case where multiple processes are reading large mapped files, this patch > reduces interrupts/second from roughly 180K per second to 60K per second. > > Signed-off-by: Mel Gorman Reviewed-by: Rik van Riel