[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: DNOTIFY support and some timing
From:       Martin Konold <martin.konold () erfrakon ! de>
Date:       2003-02-23 22:24:27
[Download RAW message or body]

Am Sonntag, 23. Februar 2003 13:56 schrieb Josef Weidendorfer:

Hi Josef,

> OTOH, DNOTIFY has drawbacks, too: If you write a big file, for each "write"
> syscall a DNOTIFY real-time signal is sent to each process watching the
> directory.

Ouch this hurts.

> * STAT polling will happen every 0,5 seconds. Thus, delay/merging is done
> automatically, and LINUX won't produce realtime signals like mad.

Why 0.5s?

Why are 4 seconds not enough?

> I don't understand how 0,5 seconds poll interval can make such a bad
> behaviour. OK, kded watches around 40 directories.

40 directories and a 0.5s poll intervall means about 1 poll every 12 ms.

The normal linux scheduler only runs with 100Hz or every 10 ms.....

Regards,
-- martin

Dipl.-Phys. Martin Konold

e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstrasse 15, 705
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic