Skip to content
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

Pre-release v0.4.0 #165

Merged
merged 31 commits into from
Jun 19, 2019
Merged

Pre-release v0.4.0 #165

merged 31 commits into from
Jun 19, 2019

Conversation

marktwtn
Copy link
Collaborator

No description provided.

marktwtn and others added 30 commits May 6, 2019 13:30
Without SIMD optimization:
Input size(byte) - Average time(nsec)
81               - 406.3
243              - 444.6

With SIMD optimization:
Input size(byte) - Average time(nsec)
81               - 261.5
243              - 162.7

Hardware information:
architecture - x86_64
CPU          - AMD Ryzen 5 2400G

Related #92.
perf: Optimize trytes from trits with x86 SIMD
docs: Revise description about IRI adaptation
For generating JNI related files for IRI with javah,
the JDK version should be specified to 8.

Close #88.
The compiler of the board DE10-nano on arm-linux environment
is different from the default compiler assigned by libtuv.
The commit fix the problem and allow libtuv to detect and use
the suitable compiler.

Close #150.
fix: Select suitable compiler on DE10-nano board
Without SIMD optimization
Input size(byte) - Average time(nsec)
81               - 355.6
2592             - 5752.3
2673             - 6273.0

With SIMD optimization
Input size(byte) - Average time(nsec)
81               - 167.1
2592             - 1751.8
2673             - 2098.8

Hardware information
architecture - x86_64
CPU          - AMD Ryzen 5 2400G

Close #92.
perf: Optimize trits from trytes with x86 SIMD
refactor: Simplification of output debug messages
In the initialization phase of dcurl,
the threadpool size is preset to the (maximum processor - 1)
with the new libtuv API uv_set_threadpool_size().
Then the threadpool would be initialized in the first call of dcurl_entry()
with the preset size.

Close #149.
feat: Make dcurl set the threadpool size of libtuv
* make BUILD_REMOTE=1 to build libdcurl.so and remote-worker
* make BUILD_REMOTE=1 check with RabbitMQ broker and remote-worker
* RPC with exclusive callback queues with TTL property
* AMQP connection management for multiple threads
* Implement local fallback PoW when remote interface fails

Related #137
feat: Remote interface interoperate distributed computing resources
In the case of all remote workers which are not workable, blocked PRCs
not get RPC results until remote workers are workable. Therefore,
remote interface needs to change blocked RPC to non-blocked RPC with
10s. When time-out occurs, remote interface goes to run local dcurl.

Pass test with a broker and remote interface without remote worker.

Close #161
Allocate enough space for loading the string as an 128-bit data.

Close #157.
fix: Fix the error detected by undefined behavior Sanitizer
refactor: Change blocked RPC to non-blocked RPC
Change the mwm from 9(testnet) to 14(mainnet).

Use the fixed number of threads instead of the maximum available threads.
The fixed number is the limit.
If the available CPU cores are less than the limit value,
dcurl uses the maximum available threads.
Otherwise, the limit number of threads are used.
The modification of the thread number is for not exhausting the hardware resource.
test: Modify the difficulty and resource of testcases
@marktwtn marktwtn requested a review from wusyong June 19, 2019 04:34
@marktwtn marktwtn self-assigned this Jun 19, 2019
@conventional-release-bot
Copy link

conventional-release-bot bot commented Jun 19, 2019

v0.4.0

🎉 New Features

  • Make dcurl set the threadpool size of libtuv (c3dce38) by marktwtn
  • Remote interface interoperate distributed computing resources (88a5cb6) by ajubuntu

🐛 Bug Fixes

  • Correct the variable name (a528318) by marktwtn
  • Select suitable compiler on DE10-nano board (791e93b) by marktwtn
  • Fix the error detected by undefined behavior Sanitizer (07107ac) by marktwtn

0.3.0...v0.4.0

@wusyong wusyong merged commit 631d15c into master Jun 19, 2019
@jserv
Copy link
Member

jserv commented Jun 19, 2019

The commits starting with perf: seems to be absent, right?

@marktwtn
Copy link
Collaborator Author

The commits starting with perf: seems to be absent, right?

Yes.
The release robot shows the commits with feat: and fix: only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants