RTEMS vs Linux : Performance analysis : Comments and Suggestions Please
Thomas Doerfler
Thomas.Doerfler at imd-systems.de
Fri Mar 19 10:25:44 UTC 2004
Hello,
it seems you have written various test programs to
get the figures, this is quite interesting. But
IMHO it would be quite useful to not only get the
average times of the basic OS operations, but also
the worst/best case figures... At least in hard
realtime systems worst case times are much more
needed to ensure, that hard time limits are met.
wkr,
Thomas.
> Hello All,
>
> Because of the full fledged support from the
> list, I am now able to measure time accurately with 1
> microsecond accuracy on PC386. I have got some
> figures of merit, based on this I want to improve the
> performance of rtems. Here are the results for
> discussion. This is a comparison between linux and
> rtems on pc386 platform. POSIX api is used for the
> measurement and to the best possible extent same code
> has been used in both. Please suggest some way of
> improving the performance of rtems in these aspects.
>
> (All Times are in microseconds : Average of some large
> number of operations)
>
> Linux RTEMS
> Time To Lock a Mutex = 0.12 0.30
> Time To Unlock a Mutex = 0.12 0.28
> Initialize a Semaphore = 0.31 0.99
> Destroy a Semaphore = 0.10 1.46
> Semaphore Wait = 0.20 0.24
> Semaphore Post = 0.19 0.31
> Thread Switching Time = 9.85 1.81
>
> Please suggest some ideas regarding improvement of
> mutex and semaphore performance of rtems.
>
> With Regards
> Srinivasan
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_keys.htm
More information about the users
mailing list