From owner-freebsd-bugs@FreeBSD.ORG Tue May 13 02:40:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B04C7D38 for ; Tue, 13 May 2014 02:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 847F42FD5 for ; Tue, 13 May 2014 02:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4D2e18o051799 for ; Tue, 13 May 2014 02:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4D2e1Wt051798; Tue, 13 May 2014 02:40:01 GMT (envelope-from gnats) Date: Tue, 13 May 2014 02:40:01 GMT Message-Id: <201405130240.s4D2e1Wt051798@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ed Maste Subject: Re: kern/188911: [libc] sysctl(KERN_PROC_VMMAP) takes too long Reply-To: Ed Maste X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2014 02:40:01 -0000 The following reply was made to PR kern/188911; it has been noted by GNATS. From: Ed Maste To: bug-followup@FreeBSD.org, ikosarev@accesssoftek.com, Viktor Kutuzov Cc: Subject: Re: kern/188911: [libc] sysctl(KERN_PROC_VMMAP) takes too long Date: Mon, 12 May 2014 22:33:41 -0400 Yes, this is the cause of the slowdown; it takes a long time to iterate over 8TB 4K at a time. I confirmed by commenting out the loop, as in the proof of concept patch.