Re: 2.3.45: gtcd causes high cpu load

From: Jens Axboe (axboe@suse.de)
Date: Mon Feb 14 2000 - 20:54:51 EST


On Mon, Feb 14 2000, Manfred Spraul wrote:
> It seems that the block device changes hit gtcd really hard:
>
> gtcd tries to open/close /dev/cdrom several times a second, and with
> 2.3.45, close(fh) takes around 0.128 seconds on my Dual PII/350 with 192
> MB Ram.
>
> Actually, this means that gtcd is unusable, it causes nearly 100% cpu
> load on one cpu.

Opening/closing the cdrom several times is clearly buggy and
stupid behaviour.

> * ioctl(CDROMREADTOCENTRY): 10* slower than 2.2.14

This I find hard to believe. The path to CDROMREADTOCENTRY is nearly
identical in 2.2/2.3

> * close(fh): more than 100* slower than 2.2.14

?! Makes no sense. I'll try gtcd here.

-- 
*  Jens Axboe <axboe@suse.de>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

- 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 : Tue Feb 15 2000 - 21:00:27 EST