-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-31171 Encrypt on worker threads rather than UDP send thread #18249
HPCC-31171 Encrypt on worker threads rather than UDP send thread #18249
Conversation
Signed-off-by: Richard Chapman <[email protected]>
https://track.hpccsystems.com/browse/HPCC-31171 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good.
It is hard to know which way to default the option. I suspect on a lightly loaded system this may reduce performance slightly - because aes encryption will no longer be executed in parallel with the code to walk the indexes. On a heavily loaded system I suspect it will help because once the udp transport layer becomes the bottleneck, anything that speeds up the rate packets are sent is likely to help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense, looks good to merge.
On a lightly loaded system, there will be other worker threads available for walking the indexes when the AES encryption is happening. I would have thought |
I think it is a good idea. My concern is changing the way it works on a point release. I wonder about defaulting it to remain the same for 9.4.x, but encourage business units to test enabling the option and look its effect on performance. What are your votes for merging this? |
We could merge it, but leave default as-is and do some testing and change default in a future release ? |
Feels like a smaller change than many others that have gone into the 9.4 series. I don't really mind either way but if we choose to default off in 9.4.x then we need to also release a change to change the default in master, or else it will become yet another unused option... (Also, if we change the default at a major release rather than a minor one, it will be much harder for us to spot any negative impact - not that I think a negative impact is likely) |
Type of change:
Checklist:
Smoketest:
Testing:
Using udpsim