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
report thread: WIP asyncio
(aka multi-threading)
#1334
Comments
I've tested new WIP
In this case WSL (gcc, pthread) version with Task manager's CPU graph reports that WSL version works fine and it utilizes all cores well. It seems Log
|
I plan to make a dedicated backend for thread management on Windows, And yes, I/O speed can be a problem for this test, so I also tend to test with higher compression levels, as you did, to properly observe cpu utilization. That's also the scenario that's likely going to benefit the most. |
This should be disucussed after the They don't fully support it yet. But they recently began to support it.
With preview version of MSVC, above workaround
Definitely we (or they) need some debugging. |
This is a possible solution. |
In case it would prove useful, Let me know if you feel that's useful or redundant. Also, @t-mat, let me know if you are lacking some control / privileges to properly manage it. Maybe I should setup an additional dummy account, just to experience right management properly... |
Thanks for the update! I've tried to the "convert to discussion" button at the bottom right pane, but no luck. It reports error with this message: "Unable to convert this issue to discussion." I also don't see the "Settings" tab at the top (right) of the lz4 repo UI. It seems we need some more setup on my account, |
The MT feature is now merged in |
Almost a note for myself. We need new Not sure we need different block size test or not. e.g. Give artificially small blocks with @Cyan4973 , do you have a good idea / requirement for MT-enable |
I think I'm concerned by the potential complexity of the matrix of settings if we start to actively employ such advanced features, Ensuring that at least one sample is at least larger than |
Sure. So I think
We will be able to introduce new test which may implicitly rely on
|
Just an flash idea: CLI accepts relative number of threads MotivationAlthough this should be done by external (shell) script, it may be convenient. Possible argument notationI think the most "intuitive" notation is
But if special chracter
CodeActual
|
It certainly is technically possible, |
Possible advantages of
|
On first thought, I would expect users interested in explicit control to provide the nb of threads they want as a direct value, such as |
@t-mat I made some changes to the repository rights, it should give you more controls now. |
@Cyan4973 I just marked this functionality as a part of the next release. But please change it if it's not a part of it. |
Yes, it will be |
So after 1.9.5, LZ4 will have multi threaded cli tool? |
yep |
Let's discuss about / play with
asyncio
branch.Since we don't have GitHub "Discussions", I'd like to put some report here.
Please feel free to post your own experiment.
The text was updated successfully, but these errors were encountered: