[linux-audio-dev] Re: [prepatches] removal of console_lock

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] Re: [prepatches] removal of console_lock
From: Andrew Morton (andrewm_AT_uow.edu.au)
Date: Mon Mar 05 2001 - 15:00:53 EET


Cort Dougan wrote:
>
> I still get huge over-runs with fbdev (much improved, though).

If you're referring to scheduling overruns then yes, you will
still see monstrous ones. We're still spending great lengths of
time in the kernel, only now we're doing it with interrupts
enabled. We can still block all tasks for half a second at a time.

This means that if you're telnetting into a machine and someone
cats a big file on the console, the system is completely unusable
until the `cat' completes.

(edit, edit, test, test)

OK, fixed.

> Andrew, are you still working on it? If so, I'm happy to keep you
> up-to-date on performance WRT Linux/PPC.

Please do.

I don't view this work as part of low-latency, BTW. Low
latency is a feature. The interrupt and scheduling
latencies caused by console+fbcon is a bug.

There are new patches at

        http://www.uow.edu.au/~andrewm/linux/console.html

- Fixed a compile warning in i386_ksyms.c

- Include interrupt.h for UP builds

- Fixed a thinko which broke dmesg

- added console_conditional_schedule()

- used console_conditional_schedule() in four places.

  This change allows the kernel to reschedule if needed while
  performing lengthy console operations. Scheduling latency
  is reduced from 500 milliseconds to 1 millisecond.

- Updated to latest kernels.

I think that's everything fixed. IWFM with Riva hardware. If
you still see huge latencies, please let me know how to
reproduce them - it's pretty trivial to fix it with the
new infrastructure.

BTW: the latest lolat patch still applies to 2.4.3-pre2.
People are after me for -ac patches as well, so I'll start
tracking Alan's kernels soon.

BTW2: testing methodology:

- Load netdriver with `debug=7'
- cat many files on VC1
- cat many files on VC2
- run netperf on VC3 to generate vast amounts of console and
  log output in both process and interrupt context
- Madly flick between VCs
  

-


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Mar 05 2001 - 15:27:18 EET