- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try to evaluate context-switch response time.
I use 2 threads and 2 mutexes. Thread A waits for mutex A and releases mutex B, thread B releases mutex A and waits for mutex B. It gives me the following (in microseconds) 27 µs for µC/OS-II on NIOSII 'fast' at 50 MHz. 430 µs for Linux on NIOSII (same configuration). [As a reference, 29 µs for VxWorks on a 133MHz AMD5x86] Is Linux really so bad (16 times) ? Is there something faster than pthread_() ?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bruno,
Just to let you know, we are currently doing some uClinux / Nios II benchmarking and hope to have something out next week. We will post the results to the forum when they are ready. Best regards, Robert Microtronix
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page