bugCERTI - Bugs: bug #52707, Performance issue - Investigate...

 
 

bug #52707: Performance issue - Investigate usage of other methods than select for RTIG

Submitter:  JbCh <jb_ch>
Submitted:  Wed 20 Dec 2017 01:38:37 PM UTC
   
 
Category:  CERTI Severity:  * 3 - Normal
Priority:  5 - Normal Item Group:  Feature request
Status:  Ready For Test Privacy:  Public
Assigned to:  jb_ch Open/Closed:  Open
Release:  * GIT-master Reproducibility:  Every Time
Fixed Release:  * GIT-master
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 04 Jan 2018 09:33:35 AM UTC, comment #1: 

Implementation of poll and epoll are integrated in my branch br_jbch_4.0.0 (commit # b961515).

It can be tested using compilation options:
- CERTI_RTIG_USE_EPOLL
- CERTI_RTIG_USE_POLL
- CERTI_RTIG_USE_SELECT (Standard case)

These compilation flags are exclusive i.e. you CAN'T enable two at the same time.

It seems to work fine during testing, so far the most performant was the poll mecanism.

However, there is a design issue. CERTI RTIG process is using select/poll/epoll for incoming messages and then process it until the outgoing message is sent. This means we are only checking incoming socket. Poll and Epoll are also used normally to deal with outgoing socket and I think we are limiting the performance of these mecanisms by using it this way.

Nevertheless, anyone is welcome to try, test and give me feedback on this!!

Regards,
Jb Ch

JbCh <jb_ch>
Group administrator
Wed 20 Dec 2017 01:38:37 PM UTC, original submission:  

I am facing some performance issues running my benchmark.

For years now, RTIG implements the well known select(..) method which is available both on Linux and Windows OS (and also MAc).

Linux offers some other alternatives called poll(..) and epoll(..).

I will investigate this and update the RTIG accordingly for next release.

JbCh <jb_ch>
Group administrator

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by jb_ch (Submitted the item)
  •  

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-04 jb_ch StatusIn Progress Ready For Test

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code