Re: IO scheduling problem in 2.3.99-pre6

From: Joerg Stroettchen (joerg.stroettchen@arcormail.de)
Date: Thu Apr 27 2000 - 09:19:07 EST


Trond Myklebust wrote:
>
> >>>>> " " == Adam J Richter <adam@yggdrasil.com> writes:
>
> > When I do anything that causes a lot of I/O to the IDE
> > hard disk on a computer running 2.3.99-pre6, the system becomes
> > very unresponsive. I often have to wait a couple of seconds
> > for characters to echo on xterm windows, for example.
> > 2.3.99pre6-5 did not have this problem. I did not try
> > 2.3.99pre6-6 or 2.3.99pre6-7, so the problem could have been
> > introduced at that point too.
>
> > I have verified that the problem is triggered by IO rather
> > than CPU utilization.
>
> Does the following cure it?
>
> Cheers,
> Trond
>
> --- linux-2.3.99-pre6/fs/buffer.c Wed Apr 26 02:28:55 2000
> +++ linux-2.3.99-pre6-devel/fs/buffer.c Thu Apr 27 13:27:52 2000
> @@ -2417,7 +2417,8 @@
>
> int block_sync_page(struct page *page)
> {
> - run_task_queue(&tq_disk);
> + if (!Page_Uptodate(page))
> + run_task_queue(&tq_disk);
> return 0;
> }

hello,

doesn`t help. The last kernel with normal I/O-behaviour is pre-6-7. pre6
as well as pre-6-7+the patch van Riel posted yesterday behave more than
strange when running
a "bonnie -s 300". Performance-Breakdown starts just when memory becomes
short and the new
VM-code starts to work preventing the system effectivly from writing to
disk

regards

joerg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:13 EST