From owner-freebsd-gecko@FreeBSD.ORG Fri Sep 12 07:20:01 2014 Return-Path: Delivered-To: freebsd-gecko@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 A8693128 for ; Fri, 12 Sep 2014 07:20:01 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id F1DA0603 for ; Fri, 12 Sep 2014 07:20:00 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA22401 for ; Fri, 12 Sep 2014 10:19:59 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1XSL9C-0005M8-VD for freebsd-gecko@freebsd.org; Fri, 12 Sep 2014 10:19:58 +0300 Message-ID: <54129E66.7080300@FreeBSD.org> Date: Fri, 12 Sep 2014 10:19:02 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-gecko@FreeBSD.org Subject: saving downloads becomes slower over time Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 07:20:01 -0000 I usually have firefox continuously running for many days. Sometimes I download files and I have firefox configured to ask where to save a file. Initially everything works very well. But the more files I save the more I notice that right after clicking Save button firefox starts using a lot of CPU and becomes unresponsive for some time. That time grows with each download. It grows to the point where I need to restart firefox only to avoid those annoying delays. Does anyone else see this? My system is configured to use official binary packages, so no debug symbols. It seems that the time and CPU is spent in _kh_dir_diff -> dl_calculate -> strcmp functions in libgio-2.0.so. -- Andriy Gapon