Monday, December 5, 2011

Embedded Linux Interprocess Communication Mechanisms Benchmark 2nd Part

This is the second part of the benchmark of some IPC on Embedded Linux.  See the previous post: Embedded Linux Interprocess Communication Mechanisms Benchmark - Part 1.


Source Code
The source code with the tests can be downloaded from here: ipc_bm.tar.gz.
To compile just adjust the variable CROSS_COMPILE in the main Makefile and do make all.
Results
The listings bellow show the output of the tests
POSIX Message Queue
* IPC Benchmark start
 - POSIX mq server...
 - POSIX mq client...
 - Large message send test:
      0.52 secs,  3870.7 Msgs/s,  3870.7 KiB/s
 - Large message receive test:
      0.52 secs,  3858.2 Msgs/s,  3858.2 KiB/s
 - Medium message send test:
      0.50 secs,  4019.3 Msgs/s,   502.4 KiB/s
 - Medium message receive test:
      0.46 secs,  4386.2 Msgs/s,   548.3 KiB/s
 - Small message send test:
      0.50 secs,  4021.6 Msgs/s,    62.8 KiB/s
 - Small message receive test:
      0.45 secs,  4426.0 Msgs/s,    69.2 KiB/s
 - Event posting test:
      0.34 secs,  5918.5 Msgs/s,    23.1 KiB/s
* IPC Benchmark end.
Shared Memory
* IPC Benchmark start
 - POSIX shared memory server...
 - POSIX shared memory client...
 - Large message send test:
      0.82 secs,  2453.5 Msgs/s,  2453.5 KiB/s
 - Large message receive test:
      0.82 secs,  2447.1 Msgs/s,  2447.1 KiB/s
 - Medium message send test:
      0.80 secs,  2503.6 Msgs/s,   313.0 KiB/s
 - Medium message receive test:
      0.80 secs,  2494.6 Msgs/s,   311.8 KiB/s
 - Small message send test:
      0.79 secs,  2519.9 Msgs/s,    39.4 KiB/s
 - Small message receive test:
      0.80 secs,  2515.5 Msgs/s,    39.3 KiB/s
 - Event posting test:
      0.79 secs,  2540.8 Msgs/s,     9.9 KiB/s
* IPC Benchmark end.
ONC RPC
* IPC Benchmark start
 - ONC RPC Server...
 - ONC RPC Client...
 - Large message send test
   -    1.73 secs,  1156.8 Msgs/s,  1156.8 KiB/s
 - Large message receive test
   -    1.74 secs,  1148.4 Msgs/s,  1148.4 KiB/s
 - Medium message send test
   -    1.65 secs,  1209.0 Msgs/s,   151.1 KiB/s
 - Medium message receive test
   -    1.65 secs,  1211.2 Msgs/s,   151.4 KiB/s
 - Small message send test
   -    1.64 secs,  1219.2 Msgs/s,    19.0 KiB/s
 - Small message receive test
   -    1.66 secs,  1202.1 Msgs/s,    18.8 KiB/s
 - Event posting test
   -    0.25 secs,  7904.5 Msgs/s,    30.9 KiB/s
* IPC Benchmark end.
Comments
In order to run all the tests you must be sure that the following options are enabled in the kernel:

General Setup:
  [*] POSIX Message Queues 
  ...
  Configure standard kernel features (for small systems) :
    [*]   Use full shmem filesystem  

File systems:
  ...
  Pseudo filesystems:
    ...
    [*] Virtual memory file system support (former shm fs) 

<< Embedded Linux Interprocess Communication Mechanisms Benchmark - Part 1

38 comments:

  1. Nice post, thanks a lot for this insight.
    I'd like to run the test on my system, but seems that the download link does not work - can you fix this, please?
    Best regards
    -Martin

    ReplyDelete
  2. i really like this article please keep it up. agence de pub Strasbourg

    ReplyDelete
  3. Hi there! Nice stuff, do keep me posted when you post again something like this! 토토사이트

    ReplyDelete
  4. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers i99pro

    ReplyDelete
  5. I appreciate this article for the well-researched content and excellent wording. I got so interested in this material that I couldn’t stop reading. Your blog is really impressive. 토토커뮤니티

    ReplyDelete
  6. I really like your writing style, great information, thankyou for posting. iflix

    ReplyDelete
  7. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers 9xmovie

    ReplyDelete
  8. Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. moviespur

    ReplyDelete
  9. A very excellent blog post. I am thankful for your blog post. I have found a lot of approaches after visiting your post. india matka

    ReplyDelete
  10. It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. sattamatka.news

    ReplyDelete
  11. I really like your writing style, great information, thankyou for posting. 스포츠중계

    ReplyDelete
  12. I really like your writing style, great information, thankyou for posting. The Commodore

    ReplyDelete
  13. Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. 슬롯사이트

    ReplyDelete
  14. I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites. Thank You. 무료릴게임

    ReplyDelete
  15. Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share. entreprise de terrassement Gers

    ReplyDelete
  16. I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. 먹튀검증커뮤니티

    ReplyDelete
  17. Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! buy youtube views non drop

    ReplyDelete
  18. Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. pii-email

    ReplyDelete
  19. Hi there! Nice stuff, do keep me posted when you post again something like this! สล็อต

    ReplyDelete
  20. I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think. 팔팔카

    ReplyDelete
  21. There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Thank you for your clear information. calculus early transcendentals 8th edition

    ReplyDelete
  22. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. digital perm

    ReplyDelete
  23. Cool stuff you have got and you keep update all of us. http://kitchenfaucets.jigsy.com/

    ReplyDelete
  24. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. 파워볼게임

    ReplyDelete
  25. This is very significant, and yet necessary towards just click this unique backlink: https://dynamichealthstaff.com/ireland-nurses-vacancy

    ReplyDelete
  26. Very good topic, similar texts are I do not know if they are as good as your work out. http://thecocktailpage.com/is-lasik-eye-surgery-safe-for-me/

    ReplyDelete
  27. Your grumblings further more each else volume is so staggering further epic It picks me happen for retreat join. I will in a bound second get your rss direct to remain worked with concerning any updates. https://zetamatic.com/downloads/checkout-address-autofill-for-woocommerce-pro/

    ReplyDelete
  28. Can nicely write on similar topics! Welcome to here you'll find out how it should look. https://sites.google.com/view/msnhotmailemail/msn-hotmail

    ReplyDelete
  29. I also wrote an article on a similar subject will find it at write what you think. test bank free download

    ReplyDelete
  30. webgirls In terms of fighting infections, patients frequently have their job cut out for these people. This is because candida albicans can simply become chronic and continuous. With that in mind, in this post, we are going to present a wide range of some of the finest established yeast infection treatment method and prevention recommendations all around.

    ReplyDelete
  31. https://gamebegin.xyz It is possible to process by yourself. A pitching unit lets you established the pace in the ball. By launching a number of baseballs in the device, it is possible to practice striking without the need for a pitcher. This electrical unit is great for those who want to process baseball by itself. Pitching machines may be found in your local showing off goods store.

    ReplyDelete
  32. https://gameeffect.xyz Many individuals have cherished the overall game of baseball for many years. There are actually enthusiasts worldwide, from committed small-leaguers to pass away-challenging spectators. This article has ways to show how satisfying baseball actually is.

    ReplyDelete
  33. https://gamezoom.xyz Acquiring a work out partner can substantially improve your muscle mass-creating effects. Your partner can be quite a beneficial source of inspiration for sticking with your regular workout period, and driving one to improve your endeavours while you exercise. Having a trustworthy spouse to work out with will also help make you stay secure because you will always use a spotter.

    ReplyDelete
  34. สำหรับผู้ที่ชื่นชอบภาพยนตร์ และผู้ชมทุกท่าน ที่ชื่นชอบ ดูหนังออนไลน์2022 ซีรีย์ที่ชื่นชอบในการรับชมภาพยนตร์ ซีรีย์ ดูซีรีย์ออนไลน์ อัพเดทใหม่ตลอดทั้งเดือน

    ReplyDelete
  35. สำหรับผู้ที่ชื่นชอบภาพยนตร์ และผู้ชมทุกท่าน ที่ชื่นชอบ หนังออนไลน์ ซีรีย์ที่ชื่นชอบในการรับชมภาพยนตร์ ซีรีย์ ดูซีรีย์ออนไลน์ อัพเดทใหม่ตลอดทั้งเดือน

    ReplyDelete