Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964926AbZLPTZn (ORCPT ); Wed, 16 Dec 2009 14:25:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762885AbZLPTZg (ORCPT ); Wed, 16 Dec 2009 14:25:36 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:58970 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763169AbZLPTZ0 (ORCPT ); Wed, 16 Dec 2009 14:25:26 -0500 From: "Rafael J. Wysocki" To: Alan Stern Subject: Re: Async suspend-resume patch w/ completions (was: Re: Async suspend-resume patch w/ rwsems) Date: Wed, 16 Dec 2009 20:26:00 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.32-rjw; KDE/4.3.3; x86_64; ; ) Cc: Linus Torvalds , Zhang Rui , LKML , ACPI Devel Maling List , pm list References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912162026.00991.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 28 On Wednesday 16 December 2009, Alan Stern wrote: > On Wed, 16 Dec 2009, Rafael J. Wysocki wrote: > > > I measured the total time of suspending and resuming devices as shown by the > > code added by this patch: > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=commitdiff_plain;h=c1b8fc0a8bff7707c10f31f3d26bfa88e18ccd94;hp=087dbf5f079f1b55cbd3964c9ce71268473d5b67 > > on two boxes, HP nx6325 and MSI Wind U100 (hardware-wise they are quite > > different and the HP was running 64-bit kernel and user space). > > > I carried out 5 consecutive suspend-resume cycles (started from under X) on > > each box in each case, and the raw data are here (all times in milliseconds): > > http://www.sisk.pl/kernel/data/async-suspend.pdf > > I'd like to see much more detailed data. For each device, let's get > the device name, the parent's name, and the start time, end time, and > duration for suspend or resume. The start time should be measured when > you have finished waiting for the children. The end time should be > measured just before the complete_all(). I'm going to use the Arjan's patch + script to chart the suspend/resume times for individual devices. I can send you the raw data, though. Rafael -- 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/