From kde-core-devel Sun Feb 23 22:24:27 2003 From: Martin Konold Date: Sun, 23 Feb 2003 22:24:27 +0000 To: kde-core-devel Subject: Re: DNOTIFY support and some timing X-MARC-Message: https://marc.info/?l=kde-core-devel&m=104603906731725 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