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
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

Add a New Comment Rich Markup
   

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

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.14-8eb0.
    Corresponding source code