You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jonathan Valliere (Jira)" <ji...@apache.org> on 2020/09/30 14:11:00 UTC

[jira] [Commented] (DIRMINA-1134) I would like to know reason, I am observing significant CPU utilization improvement after migrating to latest version, I need to justify same to our stakeholders

    [ https://issues.apache.org/jira/browse/DIRMINA-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204754#comment-17204754 ] 

Jonathan Valliere commented on DIRMINA-1134:
--------------------------------------------

There have been a number of small improvements across many areas.  It is impossible to know what components you are using enough that might be the cause of the performance improvement.  Its kind of like buying a new car after 20 years and getting better gas mileage.  The better gas mileage is due to a lot of stuff, unless you want to discuss a specific element of the car.  I would suggest looking at the GIT commit and JIRA logs to see all the changes to the specific component you use in your application.

Its perfectly fine to use any number of IoProcessors you want as long as your application is non-blocking.

> I would like to know reason, I am observing significant CPU utilization improvement after migrating to latest version, I need to justify same to our stakeholders
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-1134
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1134
>             Project: MINA
>          Issue Type: Wish
>            Reporter: kjhawierhjbasdf
>            Priority: Major
>
> Hello Team,
> We are using Apache MINA(v2.0.21) for tcp tls server implementation. I have 2 queries.
> 1. CPU utilization query
> We were using 2.0.9 before, and we saw there were few issues related to high cpu utilization reported with our service. Then we recently migrated to 2.0.21 and we are seeing significant improvement in cpu utilization. Its using less cpu without degrading performance.
> Can you please confirm, If there are any fixes released in-between which can cause such improvement. I have to provide justification to our stake-holders about the improvement, they suspect that - It may not be the improvement, It may be the code changes which is limiting CPU usage to single core.
> 2. Processor count query
> Earlier, we were using default constructor for NioSocketAcceptor object, which creates number of processors equal to number of cores. 
> But, In our case, we have few more services running on the machine, And I am thinking to use NioSocketAcceptor object and pass the processor count with 1 or 2. I have verified this change, I did no see the performance degradation with our service.
> Do you see any problem with this? Anything else needs to be considered before we go ahead with this change?
> Thanks,
> Rupesh Shah



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org