Ticket #1470 (closed enhancement: fixed)

Opened 23 months ago

Last modified 21 months ago

Getting jobagent status information whether a job is a short or long job

Reported by: jari Owned by: nicklas
Priority: major Milestone: BASE 2.16
Component: web Version: 2.14.2
Keywords: Cc:

Description

It would be nice to see this information in the jobagent listing and the job listing. The information is useful to learn how to tune the job queue and job agents.

Change History

comment:1 follow-up: ↓ 4 Changed 23 months ago by nicklas

This already exists in the job listing. The column is "Execution time". Job agents doesn't have this property so I don't understand the request to show this in the job agent listing.

comment:2 follow-up: ↓ 3 Changed 23 months ago by nicklas

Just a note... the current implementation in most plug-ins is not very useful. Most (if not all) plug-ins have a hard-coded value for the expected execution time. There is a ticket (#791) about making this more dynamic.

comment:3 in reply to: ↑ 2 Changed 23 months ago by jari

Replying to nicklas:

Just a note... the current implementation in most plug-ins is not very useful. Most (if not all) plug-ins have a hard-coded value for the expected execution time. There is a ticket (#791) about making this more dynamic.

Yes, I realize that looking at execution time in the job listing. There is one job that has run for 3 days now at it is listed as a short job. Other job claims to be short too and has been running for several hours. Especially Base1 plugins do this. Currently all short job queue slots are taken waiting for the long jobs to finish. What is the default job time estimate? Short? If so we should maybe change it to long.

comment:4 in reply to: ↑ 1 Changed 23 months ago by jari

Replying to nicklas:

This already exists in the job listing. The column is "Execution time". Job agents doesn't have this property so I don't understand the request to show this in the job agent listing.

I didn't realize that "Execution time" showed estimated execution time. It is exactly what I meant. Is it possible to add this to the job agents listing? The job agents listing shows the job running and it would be nice to see also the estimated execution time (better overview than the job listing).

comment:5 Changed 23 months ago by nicklas

I made a quick check and the only plug-in that doesn't use SHORT or SHORTEST is the intensity calculator plug-in that depending on the number of spots also can set MEDIUM and LONG execution time. The limits are hard-coded and I have really no idea if the limits reflect reality or not. If they once reflected reality it was probably a long time ago (the code is over 4 years old).

comment:6 Changed 22 months ago by nicklas

  • Milestone set to BASE 2.16

comment:7 Changed 21 months ago by nicklas

  • Owner changed from enell to nicklas
  • Status changed from new to assigned

comment:8 Changed 21 months ago by nicklas

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [5351]) Fixes #1470: Getting jobagent status information whether a job is a short or long job

Also changed the column header on the Jobs list page to 'Estimated time'.

comment:9 Changed 21 months ago by nicklas

  • Component changed from jobagent to web
Note: See TracTickets for help on using tickets.