From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750898Ab0I1Kex (ORCPT ); Tue, 28 Sep 2010 06:34:53 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:37065 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738Ab0I1Kew (ORCPT ); Tue, 28 Sep 2010 06:34:52 -0400 From: Martin Steigerwald To: tuxonice-devel@tuxonice.net Subject: Re: [TuxOnIce-devel] Nigel's current for-rafael queue Date: Tue, 28 Sep 2010 12:34:36 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-rc5-tp42-hiber-wri-accel-vmembase-0-00133-g3394a84-dirty; KDE/4.5.1; i686; ; ) Cc: Nigel Cunningham , "Rafael J. Wysocki" , Linux PM , LKML , "TuxOnIce-devel" References: <1285388224-10012-1-git-send-email-nigel@tuxonice.net> (sfid-20100925_095651_884433_67642C74) In-Reply-To: <1285388224-10012-1-git-send-email-nigel@tuxonice.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4392928.sCKcRck9MC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009281234.49454.Martin@lichtvoll.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart4392928.sCKcRck9MC Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Am Samstag 25 September 2010 schrieb Nigel Cunningham: > Hi Rafael. >=20 > Please find attached a slightly updated version of the patchset I sent > a few months ago. The main change is that I've prepended and additional > patch which lets the user see the speed at which the image is being > read and written. This is accomplished by recording the MB/s in a > single byte in the image header, and using a couple of __nosavedata > variables to get the data back through the atomic restore. I realise > the char limits us to 255MB/s at the moment. In future patches, I > intend to address this by storing the data in a 'proper' image header > (it's a real problem - TuxOnIce reads and writes on the same set up at > speeds around 250MB/s). >=20 > Results on my Dell XPS M1530, which has an SSD hard drive are: >=20 > With just patch 1 applied: > Attempt 1: Write 74MB/s; Read 52MB/s > Attempt 2: Write 68MB/s; Read 52MB/s > Attempt 3: Write 73MB/s; Read 53MB/s >=20 > With the whole sequence: > Attempt 1: Write 181MB/s; Read 52MB/s > Attempt 2: Write 156MB/s; Read 53MB/s > Attempt 3: Write 160MB/s; Read 52MB/s Is doesn't get much stabler than=20 shambhala:~> grep "PM: Image.*at " /var/log/syslog Sep 28 11:32:06 shambhala kernel: PM: Image written at 63 MB/s. Sep 28 11:32:06 shambhala kernel: PM: Image read at 32 MB/s. Sep 28 11:35:00 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 11:35:00 shambhala kernel: PM: Image read at 32 MB/s. Sep 28 11:38:43 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 11:38:43 shambhala kernel: PM: Image read at 33 MB/s. Sep 28 11:41:15 shambhala kernel: PM: Image written at 66 MB/s. Sep 28 11:41:15 shambhala kernel: PM: Image read at 33 MB/s. Sep 28 11:42:57 shambhala kernel: PM: Image written at 66 MB/s. Sep 28 11:42:57 shambhala kernel: PM: Image read at 34 MB/s. Sep 28 11:45:16 shambhala kernel: PM: Image written at 66 MB/s. Sep 28 11:45:16 shambhala kernel: PM: Image read at 34 MB/s. Sep 28 12:19:21 shambhala kernel: PM: Image written at 66 MB/s. Sep 28 12:19:21 shambhala kernel: PM: Image read at 35 MB/s. Sep 28 12:21:35 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 12:21:35 shambhala kernel: PM: Image read at 35 MB/s. Sep 28 12:23:18 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 12:23:18 shambhala kernel: PM: Image read at 35 MB/s. Sep 28 12:25:23 shambhala kernel: PM: Image written at 64 MB/s. Sep 28 12:25:23 shambhala kernel: PM: Image read at 36 MB/s. Sep 28 12:26:55 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 12:26:55 shambhala kernel: PM: Image read at 37 MB/s. Sep 28 12:28:28 shambhala kernel: PM: Image written at 65 MB/s. Sep 28 12:28:28 shambhala kernel: PM: Image read at 37 MB/s. many attempts. So - without readahead patch for now - Tested-By: Martin Steigerwald on 2.6.36-rc5. Thanks, =2D-=20 Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 --nextPart4392928.sCKcRck9MC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkyhxL4ACgkQmRvqrKWZhMfrRwCcDW5VPrSTl/PHco7EzjU5KFVH ZUUAniRBL8Czg3EJgWpXd2dRfTPKi7Vu =ImVY -----END PGP SIGNATURE----- --nextPart4392928.sCKcRck9MC--