RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-04-01 Thread kus Kusche Klaus
> > The following tests are made with 'IRQ 8' at 95, rtc_wakeup > at 89(99): > > * Heavy mmap load, no oom: max jitter: 42.1% ( 51 usec) > > * Heavy mmap load, oom:max jitter: 11989.2% (14635 usec) > > (but still "missed irqs: 0", so IRQ 8 was also blocked for 14 ms) > > did you get

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-04-01 Thread kus Kusche Klaus
The following tests are made with 'IRQ 8' at 95, rtc_wakeup at 89(99): * Heavy mmap load, no oom: max jitter: 42.1% ( 51 usec) * Heavy mmap load, oom:max jitter: 11989.2% (14635 usec) (but still missed irqs: 0, so IRQ 8 was also blocked for 14 ms) did you get any kernel

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread Ingo Molnar
* kus Kusche Klaus <[EMAIL PROTECTED]> wrote: > The following tests are made with 'IRQ 8' at 95, rtc_wakeup at 89(99): > * Heavy mmap load, no oom: max jitter: 42.1% ( 51 usec) > * Heavy mmap load, oom:max jitter: 11989.2% (14635 usec) > (but still "missed irqs: 0", so IRQ 8 was

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread kus Kusche Klaus
> getting /dev/rtc handling right for latency measurement is > ... tricky. > The method i'm using under PREEMPT_RT is: > > chrt -f 84 -p `pidof 'IRQ 0'` > chrt -f 95 -p `pidof 'IRQ 8'` > ./rtc_wakeup -f 1024 -t 10 I tried it your way. First impressions with

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread Ingo Molnar
* kus Kusche Klaus <[EMAIL PROTECTED]> wrote: > I've written a small test program which enables periodic RTC > interrupts at 8192 Hz and then goes into a loop reading /dev/rtc and > collecting timing statistics (using the rdtscl macro). getting /dev/rtc handling right for latency measurement

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread kus Kusche Klaus
> > The test system runs a 2.6.11 kernel (no SMP) on a Pentium3 500 MHz > > embedded hardware. > > which probably has memory bandwidth of at most a couple hundred MB/s, > which is really horrible by modern standards. It's my job to find out if linux can be used for control systems on this (and

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread kus Kusche Klaus
The test system runs a 2.6.11 kernel (no SMP) on a Pentium3 500 MHz embedded hardware. which probably has memory bandwidth of at most a couple hundred MB/s, which is really horrible by modern standards. It's my job to find out if linux can be used for control systems on this (and

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread Ingo Molnar
* kus Kusche Klaus [EMAIL PROTECTED] wrote: I've written a small test program which enables periodic RTC interrupts at 8192 Hz and then goes into a loop reading /dev/rtc and collecting timing statistics (using the rdtscl macro). getting /dev/rtc handling right for latency measurement is

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread kus Kusche Klaus
getting /dev/rtc handling right for latency measurement is ... tricky. The method i'm using under PREEMPT_RT is: chrt -f 84 -p `pidof 'IRQ 0'` chrt -f 95 -p `pidof 'IRQ 8'` ./rtc_wakeup -f 1024 -t 10 I tried it your way. First impressions with

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-31 Thread Ingo Molnar
* kus Kusche Klaus [EMAIL PROTECTED] wrote: The following tests are made with 'IRQ 8' at 95, rtc_wakeup at 89(99): * Heavy mmap load, no oom: max jitter: 42.1% ( 51 usec) * Heavy mmap load, oom:max jitter: 11989.2% (14635 usec) (but still missed irqs: 0, so IRQ 8 was also

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 09:41 -0500, Mark Hahn wrote: > >> The test system runs a 2.6.11 kernel (no SMP) on a Pentium3 500 MHz > > embedded hardware. > > which probably has memory bandwidth of at most a couple hundred MB/s, > which is really horrible by modern standards. What does that have to do

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Mark Hahn
> I've written a small test program which enables periodic RTC interrupts > at 8192 Hz and then goes into a loop reading /dev/rtc and collecting > timing statistics (using the rdtscl macro). straightforward test, used for many years in the linux community (I claim to have been the first to

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread kus Kusche Klaus
> From: Bartlomiej Zolnierkiewicz [mailto:[EMAIL PROTECTED] > > On Wed, 30 Mar 2005 13:52:05 +0200, kus Kusche Klaus > <[EMAIL PROTECTED]> wrote: > > However, things break seriously when exercising the CF card > in parallel > > (e.g. with a dd if=/dev/hda of=/dev/null): > > > > * The rtc

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Bartlomiej Zolnierkiewicz
On Wed, 30 Mar 2005 13:52:05 +0200, kus Kusche Klaus <[EMAIL PROTECTED]> wrote: > However, things break seriously when exercising the CF card in parallel > (e.g. with a dd if=/dev/hda of=/dev/null): > > * The rtc *interrupt handler* is delayed for up to 250 *micro*seconds. > This is very bad for

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Bartlomiej Zolnierkiewicz
On Wed, 30 Mar 2005 13:52:05 +0200, kus Kusche Klaus [EMAIL PROTECTED] wrote: However, things break seriously when exercising the CF card in parallel (e.g. with a dd if=/dev/hda of=/dev/null): * The rtc *interrupt handler* is delayed for up to 250 *micro*seconds. This is very bad for my

RE: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread kus Kusche Klaus
From: Bartlomiej Zolnierkiewicz [mailto:[EMAIL PROTECTED] On Wed, 30 Mar 2005 13:52:05 +0200, kus Kusche Klaus [EMAIL PROTECTED] wrote: However, things break seriously when exercising the CF card in parallel (e.g. with a dd if=/dev/hda of=/dev/null): * The rtc *interrupt handler*

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Mark Hahn
I've written a small test program which enables periodic RTC interrupts at 8192 Hz and then goes into a loop reading /dev/rtc and collecting timing statistics (using the rdtscl macro). straightforward test, used for many years in the linux community (I claim to have been the first to publish

Re: 2.6.11, IDE: Strange scheduling behaviour: high-pri RT process not scheduled?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 09:41 -0500, Mark Hahn wrote: The test system runs a 2.6.11 kernel (no SMP) on a Pentium3 500 MHz embedded hardware. which probably has memory bandwidth of at most a couple hundred MB/s, which is really horrible by modern standards. What does that have to do with