Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Dec 2002 14:31:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Dec 2002 14:31:32 -0500 Received: from smtp1.clear.net.nz ([203.97.33.27]:15531 "EHLO smtp1.clear.net.nz") by vger.kernel.org with ESMTP id ; Wed, 18 Dec 2002 14:31:30 -0500 Date: Thu, 19 Dec 2002 08:37:30 +1300 From: Nigel Cunningham Subject: RE: [ACPI] Re: [PATCH] S4bios for 2.5.52. In-reply-to: <20021218085902.GD1012@poup.poupinou.org> To: "'Ducrot Bruno'" , "'Kai Germaschewski'" Cc: "'Grover, Andrew'" , linux-kernel@vger.kernel.org, "'Pavel Machek'" , acpi-devel@lists.sourceforge.net Message-id: <000401c2a6cc$ec43a2f0$0101010a@NigelLaptop> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 21 > Kai, if you see that S4OS is slower, it is probably a bug > that have to be > fixed in swsusp. There does seem to be a problem with the rw_swap_page_sync routine. Perhaps not on Pavel's machine (:>), but I've experienced painfully slow suspends too. Performance was helped immensely by applying a concept that I'll credit Lyle Seaman for - unrolling rw_swap_page_sync and submitting all the IO for pages then looping again and waiting on each sync. I found with writing 7000 or so pages (a suspend from init S) that something gets triggered to force the sync about every 3900 pages anyway. Regards, Nigel - 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/