[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RTEMS 4.5 Vs 4.6 Vs Linux : Performance analysis : Further Improvements: How?
- Date: Wed, 24 Mar 2004 02:50:25 -0800 (PST)
- From: svasn_rtems at yahoo.com (sashti srinivasan)
- Subject: RTEMS 4.5 Vs 4.6 Vs Linux : Performance analysis : Further Improvements: How?
Hello All,
I have posted previously the comparison between
RTEMS 4.5 and linux, Requested ideas for improvement
of performance. The suggestions were (1) Play with
compiler flags (2) Much improvements were done after
release of 4.5(i.e, use 4.6.).
I could succesfully build RTEMS-4.6 for
pc686(Probably there is no missing makefile in pre-4)
using updated toolchain.
The results of comparison between RTEMS-4.5,4.6
and linux are as given below.
---------------------Time in Microseconds--------
Time For: RTEMS 4.6 4.5 Linux
-------------------------------------------------
Lock a Mutex 0.3 0.48 0.23
Unlock A Mutex 0.47 0.49 0.37
Create Mutex 0.83 0.90 0.08
Destroy Mutex 0.58 0.66 0.10
Semaphore Init 0.74 0.90 0.31
Semaphore Destroy 0.62 1.78 0.13
Semaphore Wait 0.37 0.37 0.32
Semaphore Post 0.46 0.51 0.32
Thread Switching 2.59 2.82 35.45
-------------------------------------------------
Details:
CPU & BSP : PIII 433 MHz pc686
Linux : Kernel 2.6.3
RTEMS : 4.6 pre-4 and 4.5
IMPROVEMENTS:
I wish to improve the performance of rtems such
that it is close to/ better than linux. Please
suggest me ideas for this.
Regarding the compiler flags, I tried -mcpu=686.
But the performance was same as that for 386. Please
suggest me ideas for improving performance of rtems.
With Regards
Srinivasan
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html