Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/9/4.html
Дата изменения: Thu Mar 23 12:38:11 2000
Дата индексирования: Wed Sep 15 04:05:53 2010
Кодировка:

Поисковые слова: universe
POSIX.4 scheduler The HyperNews Linux KHG Discussion Pages

Feedback: POSIX.4 scheduler

Forum: The Linux Kernel Hackers' Guide
Re: Question Realtime mods anyone? (bill duncan)
Keywords: realtime round-robin task scheduling
Date: Tue, 09 Jul 1996 00:47:18 GMT
From: Peter Monta <pmonta@gi.com>

The author of the POSIX.4 scheduler mods is Markus Kuhn; the archives or dejanews will have the announcements and performance utilities. I assume everything made it into the 2.0 kernel.

I did have occasion to compare the dispatch latency with real (microsecond-resolution) hardware timers. Once it's running under SCHED_FIFO and everything is locked down, latency is quite stable, though there were a few spikes up to a few milliseconds. I think this might have been some network code.

In general I don't think there's heavy emphasis on the part of kernel-driver authors to be careful about disabling interrupts for a long time. Your mileage will depend on what mix of kernel code gets run. Some sort of monitoring is a very good idea; I'm told the Pentium has a cycle counter on-chip, which is ideal.

Cheers, Peter Monta


Messages

1. Feedback: cli()/sti() latency, hard numbers by Ingo Molnar