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

51 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. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. 안전놀이터

    ReplyDelete
  6. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot! 안전놀이터

    ReplyDelete
  7. 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
  8. I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. https://bit.ly/3xyogy23

    ReplyDelete
  9. I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... 안전놀이터

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

    ReplyDelete
  11. 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
  12. 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. tamilmv

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

    ReplyDelete
  14. 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
  15. 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
  16. I really like your writing style, great information, thankyou for posting. 스포츠중계

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

    ReplyDelete
  18. 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
  19. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. 메이저사이트

    ReplyDelete
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. transcription services for students

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

    ReplyDelete
  27. 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
  28. 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
  29. 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
  30. Cool stuff you have got and you keep update all of us. http://kitchenfaucets.jigsy.com/

    ReplyDelete
  31. 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
  32. This is very significant, and yet necessary towards just click this unique backlink: https://dynamichealthstaff.com/ireland-nurses-vacancy

    ReplyDelete
  33. I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well. https://westasianetwork.com/

    ReplyDelete
  34. 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
  35. 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
  36. 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
  37. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. 먹튀검증

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

    ReplyDelete
  39. 바카라사이트
    This is my website and it has been very helpful. Seriously, this article is one of the best in history. And I found this to be very attractive. You have done a great job. Please visit my website and give your opinion.

    ReplyDelete
  40. webgirls.pl In terms of battling candida albicans, patients often times have their work eliminate for them. It is because candidiasis can easily turn out to be persistent and continuing. With that in mind, in this article, we are going to current a wide range of among the best established candida albicans treatment and avoidance ideas around.

    ReplyDelete
  41. 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
  42. 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
  43. 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
  44. 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
  45. สล็อต แจกเครดิตฟรี ได้ง่ายๆ ไม่ต้องฝากเงิน ไม่ต้องแชร์ ยืนยันเบอร์โทรศัพท์ เพราะเว็บเราแจกจริง ได้จริง ให้ไปรวยจริงๆ ในเวลานี้ใครๆ ก็หันมาหาเงินทางอินเตอร์เน็ตออนไลน์ pgslot เครดิตฟรี เครดิตฟรีมากขึ้นเพราะว่าทุกคนต่างเข้าถึง โชลเชียล

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

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

    ReplyDelete