Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbaABL4U (ORCPT ); Thu, 2 Jan 2014 06:56:20 -0500 Received: from mail-qc0-f177.google.com ([209.85.216.177]:39108 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbaABL4S (ORCPT ); Thu, 2 Jan 2014 06:56:18 -0500 MIME-Version: 1.0 In-Reply-To: <52C54E7A.3030303@linaro.org> References: <52C54E7A.3030303@linaro.org> Date: Thu, 2 Jan 2014 19:56:17 +0800 Message-ID: Subject: Re: very slow IO after resume From: Ming Lei To: Daniel Lezcano Cc: Linux PM mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1511 Lines: 45 On Thu, Jan 2, 2014 at 7:33 PM, Daniel Lezcano wrote: > > Hi All, > > I noticed an issue on the IOs after resuming my laptop. > > My mailer thunderbird or the compilations are very slow, often blocked in > 'D' state. The 'top' shows 81% on wait. > > The processes stack are always in when blocked: > > [] balance_dirty_pages.isra.18+0x3f5/0x4b4 > [] balance_dirty_pages_ratelimited+0xde/0x100 > [] generic_perform_write+0x141/0x1c0 > [] generic_file_buffered_write+0x50/0x80 > [] __generic_file_aio_write+0x22a/0x490 > [] generic_file_aio_write+0x63/0xd0 > [] ext4_file_write+0xb2/0x100 > [] do_sync_write+0x6a/0xa0 > [] vfs_write+0xa5/0x1d0 > [] SyS_write+0x57/0xa0 > [] syscall_call+0x7/0xb > > The kernel is 3.11.0-031100-generic based on ubuntu, I noticed this issue on > some previous version (since 3.5 AFAIR). > My laptop is a Lenovo X230, SSD 250GB (6Gb/s) and 16GB of RAM. > > Is it a known issue ? We met write regressions before, see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1242812 But it wasn't related with system sleep, and you may check if the patches land in your kernel. Thanks, -- Ming Lei -- 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/