Re: Poor desktop responsiveness with background I/O-operations

From: Jan Kara
Date: Sun Sep 20 2009 - 18:04:21 EST


On Sun 20-09-09 22:22:20, Jiri Kosina wrote:
> On Sun, 20 Sep 2009, Ulrich Lukas wrote:
>
> > Test case:
> > - 64-bit dual-core PC, SATA harddrive, plenty of free RAM
> > - vanilla Linux 2.6.31, Kubuntu 9.10 packages, all software 64-bit
> >
> >
> > How to reproduce:
> > - start KDE/GNOME-session
> > - open a terminal window and do as a non-root user:
> > dd if=/dev/zero of=/home/john-doe/testfile
> > (or dd if=/home/john-doe/big-testfile of=/dev/null)
> >
> > - a real use scenario would be a daily disk-backup or the
> > simple extraction of a tarball containing slightly bigger files
> >
> >
> > Observation:
> > - The system becomes _really_ slow as described above; unusable for
> > any multimedia tasks.
>
> I guess that switching from CFQ to deadline I/O scheduler improves the
> situation, right?
For example on my desktop, switching to deadline slightly improves the
situation but the machine is still mostly unusable while dd is running...
I'll try to debug it some more to see whether it can be somehow helped.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/