From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753565Ab0JaCcG (ORCPT ); Sat, 30 Oct 2010 22:32:06 -0400 Received: from THUNK.ORG ([69.25.196.29]:56299 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752506Ab0JaCcE (ORCPT ); Sat, 30 Oct 2010 22:32:04 -0400 Date: Sat, 30 Oct 2010 22:31:45 -0400 From: "Ted Ts'o" To: Aidar Kultayev Cc: Ingo Molnar , Pekka Enberg , Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , Jens Axboe , Peter Zijlstra , Nick Piggin , Arjan van de Ven , Thomas Gleixner Subject: Re: 2.6.36 io bring the system to its knees Message-ID: <20101031023145.GB1869@thunk.org> Mail-Followup-To: Ted Ts'o , Aidar Kultayev , Ingo Molnar , Pekka Enberg , Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , Jens Axboe , Peter Zijlstra , Nick Piggin , Arjan van de Ven , Thomas Gleixner References: <20101028090002.GA12446@elte.hu> <20101028133036.GA30565@elte.hu> <20101028170132.GY27796@think> <20101029145212.GA21205@thunk.org> <20101030091440.GA15276@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 30, 2010 at 07:02:35PM +0600, Aidar Kultayev wrote: > the system is/was doing : > .dd if=/dev/zero of=test.10g bs=1M count=10000;rm test.10g > .netbeans > .compiling gcc-4.5.1 > .running VBox, which wasn't doing any IO. The guest os was idle in other words > .vlc > .chromium > .firefox > and bunch of other small stuff. > > Even without having running DD, the mouse cursor would occasionally > lag. The alt+tab effect in KWin would take 5+seconds to workout. > When I run DD on top of the workload it consistently made system much > more laggy. The cursor would freeze much more frequent. It is like if > you drag your mouse physically, but the cursor on the screen would > jump discretely, in other words there is no continuity. > Music would stop. If you start shutting down tasks, Vbox, netbeans, chromium, etc., at what point does the cursor start tracking the system easily? Is the system swapping? Do you know how to use tools like dstat or iostat to see if the system is actively writing to the swap partition? (And are you using a swap partition or a swap file?) The fact that cursor isn't tracking well even when the dd is running, and presumably the only source of I/O is the gcc and vlc, makes me suspect that you may be swapping pretty heavily. Have you tried investigating that possibility, and made sure it has been ruled out? - Ted