Regulate resource usage on the fly for a running job

Jens Kirk shared this idea 3 years ago
Completed

Hi :-)

Let’s say we have an important restore job running but it is taking too long time and there are plenty of resources on the server to fast-track the job.

In JB4 we can set a limit for the CPU usage (and in JB5 this is being worked on) but we cannot - for both versions - change the CPU limit for a running job. So, we have to wait even though it could have been done faster if more CPU power was allowed for this job.


So, we need a feature that can regulate the resource usage on the fly for a running job :-)

Replies (3)

photo
1

Hi Jens,

Thank you for leaving your feedback and opening a feature request. We will review your request and provide updates accordingly. Please note that we use the voting system to gauge demand for additional features. The more votes a request has, the more likely it will be up for consideration by our developers.

Thank you,

The JetApps Team

photo
1

Hello,

Thank you for your continued patience!

We are excited to announce the release of JetBackup v5.2.0 on the EDGE Tier! This release includes the new Resource Settings Section. In this section, you may set CPU Usage limits and IO Read/Write Limits using cgroups, a Linux kernel feature that limits, accounts for, isolates the resource usage of a collection of processes (jetbackupd). This setting will allow you to adjust the CPU Usage even when the process is already running thus allowing JetBackup to use more or less resources for the duration of the running job.

If you have any questions regarding this feature, please reach out to our support team at support@jetapps.com or open a post on our forums at https://forum.jetbackup.com/.

Thank you,

The JetApps Team

photo
1

Thank you :-)


But can we use the new CPU limiter "on the fly"?

Can we adjust the CPU limit while we have a running job and thereby give it more resources?

photo
1

Hello Jens,


Yes, with the new Resource Settings using cgroups, you are able to just the CPU/IO limits "on the fly" and provide the jetbackup processes with more resources while the jobs are running. However, please note that adjusting the resources will apply to ALL jetbackup processes and not a single job. This means that any other restore/download/backup job taking place will also use a heightened amount of resources. Please let us know if you have any further questions.


Best Regards,


Richard, JetApps Team

photo
1

Hi Richard


Thank you :-)


Are your dev group able to improve JB5 with an option to give "full speed" for one single job and not all jobs running? And without changing the globale settings to get this effect?


Having a "on the fly speed-up" button for a single job will be great. If we have an important and big restore every minute matters.


And why limit this to restore jobs when ondemand backup jobs can also benefit from this.


Thank you for a great backup software :-)

photo
1

Hello Jens,


Thank you for your continued support and for providing great feedback. We have consulted with our developers and have determined that at this time, we are unable to limit/provide resources on a per-job/per-fork basis. This is because we are using cgroups to limit the jetbackup5d service as a whole which affects all jetbackupd forks. However, we do agree that this would be a great improvement and highly recommend opening it as a new request for future development.

Best Regards,

Richard, JetApps Team

photo
2

However, we do agree that this would be a great improvement and highly recommend opening it as a new request for future development.
But isn't it what I already have done? :-)

photo
photo
1

It was set to Completed but I cannot see the feature anywhere in the new version?

photo
1

Hello Jens,

Apologies for the confusion. For this request, we have set it as completed since users are able to adjust the CPU usage and provide more resources to all running tasks "on the fly". For the request regarding adjusting CPU usage on a "per task basis", we have opened the following Feature Request: https://request.jetapps.com/topic/586-adjust-cpu-usage-per-task

Please use the new Request for further updates on this feature. Thank you for your understanding and continued support.

Best Regards,

Richard JetApps Team

photo
Leave a Comment
 
Attach a file