From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stenberg Björn To: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] Suitability of eCos Date: Tue, 16 Jan 2001 04:07:00 -0000 Message-id: <63E7EC6F3685D311B640080006279198022E7ECD@visbur.siemens.se> X-SW-Source: 2001-01/msg00255.html > But my application requires tick duration as low as a > 100microseconds. I need to address such low time resolutions. Don't confuse tick resolution with timer resolution. Many hardware platforms for embedded use have timers with very high resolution. Many systems need high-resolution timing. That does not mean you have to, or even should, run your OS tick at those resolutions. If you need a high-resolution timer, use one. It will send you an interrupt precisely when you want it to and you can then act on it immediately. Implement proper queueing/buffering/whatever there so your application can handle the high data load in a controlled manner. If you set your OS tick to a very high rate, your system will spend more time in the kernel and have less time to do the actual work, and you may ultimately find yourself with a performance problem. -- Björn Stenberg bjorn.stenberg@contactor.se http://www.contactor.se/~bjst/