Project

General

Profile

Actions

Bug #1218

closed

queue time estimation does not include focusing time

Added by Anchi Cheng over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
03/03/2011
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.0.0
Show in known bugs:
No
Workaround:

Description

reported by Yen-Chywan Liaw


Related issues 1 (0 open1 closed)

Related to Leginon - Bug #1219: queue time estimate takes too long if the queue is largeClosedAmber Herold03/03/2011

Actions
Actions #1

Updated by Anchi Cheng over 13 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Anchi Cheng to Eric Hou

fix this with r15476 that also fixes #1219

The estimate still does not include the time it takes to adjust the target at the beginning so it is still likely to be an under-estimate.

Testing:
1. Running Leginon using queuing option.
2. After it becomes automated, compare the time it takes to complete a few targets to the estimate. It should be closer to reality now than before especially if acquisition/focus target ratio is low.

Actions #2

Updated by Eric Hou over 13 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Eric Hou to Amber Herold

looks good to me. The only thing I would recommend is in queuecount.php, function printResult passing in an array variable $qresult. And if $qresult's elements name using 'word' instead of number, it would be better.

Thanks.

Eric

Actions #3

Updated by Amber Herold over 13 years ago

  • Assignee changed from Amber Herold to Jim Pulokas

Better tested by someone who runs Leginon...Jim?

Actions #4

Updated by Erica Jacovetty over 13 years ago

  • Assignee changed from Jim Pulokas to Erica Jacovetty

I can test this next time I queue data for collection.

Actions #5

Updated by Erica Jacovetty over 13 years ago

I looked at this today. For Mandy's session (11may05a) she had very regular pattern of 3 targets per hole, 1 focus per hole. I checked a couple and it was consistently very close to 2 min for the focus and 3 targets, but the queue was still estimating 23 seconds per target in the queue count and not including the focus time which would put the estimate more at ~40sec per target.

Actions #6

Updated by Anchi Cheng over 13 years ago

  • Status changed from In Test to Closed

It is actually o.k. 36 second per target makes 3 targets per hole to be 108 sec, just 12 sec off since I didn't include target adjustment.

Actions #7

Updated by Anchi Cheng over 13 years ago

Talked to Erica to clarify the differences in her and my testing results.

The day when she did the test, queue counter in the development version was broken because of issue #1288 She was looking at the 2.1 release version and got 23 seconds since focusing time was not added in that estimate in the release. When I went checking on the same day, I noticed the bug and fixed it in my sandbox so that I could look at it in the develepment version, which is why my number is 36 seconds and is consistent with calculation with focusing time added.

Actions

Also available in: Atom PDF