Code Monkey home page Code Monkey logo

Comments (14)

mms- avatar mms- commented on September 13, 2024 2

May I suggest that constant 30-40% CPU usage while idle suggest something wrong with the logic/operation, not a matter of shutdown or not. Unless of course it has useful things to do while idle and not shutdown.

from azure-storage-net-data-movement.

EmmaZhu avatar EmmaZhu commented on September 13, 2024 1

@SebastianAchatz We've got a change from a contributor. We are considering to take the change. The change has already passed our functional test, and we are also running Perf test against.

Thanks
Emma

from azure-storage-net-data-movement.

EmmaZhu avatar EmmaZhu commented on September 13, 2024

TransferManager cannot be shutdown or stopped for now. We are also considering to do some change to let customers be able to shut it down. I'll update you when add this function.

from azure-storage-net-data-movement.

smagnetize avatar smagnetize commented on September 13, 2024

Is it safe to use this library on a website?

from azure-storage-net-data-movement.

EmmaZhu avatar EmmaZhu commented on September 13, 2024

@smagnetize What kind of concern do you have? Are you worried about security or robust?

from azure-storage-net-data-movement.

bamo-volue avatar bamo-volue commented on September 13, 2024

Hey. I'm having the same problems as @sgmoore. TransferScheduler and FillInQueue are using up to 30-40% CPU on certain computers, even while idle. On other computers it's not as much of an issue (using 1-2% cpu while idle), even though it's the same methods that uses the most CPU. Shutting these down would be solving some (but not all) of the problems.

from azure-storage-net-data-movement.

EmmaZhu avatar EmmaZhu commented on September 13, 2024

@bamo-powel This is a scenario we should consider. We'll put this in our backlog.

from azure-storage-net-data-movement.

neilrees avatar neilrees commented on September 13, 2024

I'm also seeing this use an excessive amount of CPU when idle, TransferScheduler needs to relax when it has no work to do or there needs to be some mechanism to shut it down from TransferManager

from azure-storage-net-data-movement.

SebastianAchatz avatar SebastianAchatz commented on September 13, 2024

This is a massive showstopper for me using the library in a project. Any progress on this?

from azure-storage-net-data-movement.

neilrees avatar neilrees commented on September 13, 2024

@EmmaZhu Do you have any idea on when a decision might be made to release a fix?

from azure-storage-net-data-movement.

EmmaZhu avatar EmmaZhu commented on September 13, 2024

@sgmoore @SebastianAchatz
With latest version of 0.8.0 and 0.8.1, I've written a small test app to test scenario like following:

  1. Upload a directory to blob with TransferManager
  2. Wait

In the second phase, the CPU usage changes from 0~1%. Would you like to have a try?

from azure-storage-net-data-movement.

nachtneblovaK avatar nachtneblovaK commented on September 13, 2024

Hi, we have the same problem.

I'm using TransferManager for copying blobs and containers (TransferManager.CopyDirectoryAsync, TransferManager.CopyAsync). Even when nothing is trasfered for hours, it still uses about 10-15% CPU.
According to your last comment I updated library to version 0.8.1, but it doesn't help.

from azure-storage-net-data-movement.

mkreidenweis avatar mkreidenweis commented on September 13, 2024

Isn't this fixed as of https://github.com/Azure/azure-storage-net-data-movement/releases/tag/v1.1.0 ?

Fixed an issue of CPU is still in using when there's nothing being transferred in DataMovement Library

Also, the PSH issue referring back to this issue has been marked as closed.

from azure-storage-net-data-movement.

blueww avatar blueww commented on September 13, 2024

Thanks for the remind!
Close as it's fixed.

from azure-storage-net-data-movement.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.