Project

General

Profile

Actions

Bug #7400

closed

Klever takes too much time to upload reports

Added by Vitaly Mordan over 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
High
Category:
Bridge
Target version:
-
Start date:
07/14/2016
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

Klever uploads reports very slowly, and if we consider more optimal strategies of solving verification tasks, then verdicts will be produced even faster than they can be uploaded.
For example, checking only 14 rule specifications with all bug kinds in MAV took almost 28 hours (wall time) for uploading all results, whereas all tasks were prepared and solved for 21 hours:

2016-07-12 15:14:01 (core.py:192) CORE INFO> Get version on the basis of the Git repository
2016-07-12 15:14:01 (core.py:046) CORE INFO> Support jobs of format "1"
...
2016-07-13 11:53:08 (core.py:101) CORE INFO> Terminate report files message queue
2016-07-13 11:53:08 (core.py:104) CORE INFO> Wait for uploading all reports
2016-07-13 19:19:15 (session.py:097) CORE INFO> Finish session
2016-07-13 19:19:15 (core.py:127) CORE INFO> Release working directory
2016-07-13 19:19:15 (core.py:131) CORE INFO> Exit with code "0"

Thus, this issue will not allow to check a lot of "simple" rule specifications fast enough with MAV.

Here are a few suggestions:
1. Add parameters to shrink all logs (related to http://forge.ispras.ru/issues/7253).
2. Do not upload anything for safe verdicts (there were 146697 safes, 341 unsafes and 2858 unknowns in the mentioned experiment).
3. Optimize the process of uploading if needed.


Related issues 4 (1 open3 closed)

Related to Klever - Feature #7253: Shrink verifier (CPAchecker) logs intellectuallyNew05/25/2016

Actions
Related to Klever - Bug #7302: Bridge spends a lot of time for uploading a result of verification taskClosedVladimir Gratinskiy06/17/201606/17/2016

Actions
Related to Klever - Feature #7350: Optimize association of marks with safe reportsClosedVladimir Gratinskiy06/28/201609/12/2016

Actions
Related to Klever - Feature #7368: Support lightweight verification resultsClosedVladimir Gratinskiy07/01/201607/29/2016

Actions
Actions #1

Updated by Vitaly Mordan over 8 years ago

Update: if we do not upload any report for safe verdicts time of uploading for similar experiments is reduced from ~45 hours to ~38 hours.
But in this case we still need to wait for 4 hours after all tasks were solved.
Note, that the archive with the whole task (141970 Safes, 714 Unsafes, 3316) took only 126Mb.
Although this optimization helps a little, it is clear, that optimizations in Bridge uploading are required.

Actions #2

Updated by Evgeny Novikov over 8 years ago

I added all the related issues. In particular there are some known problems for both Safe and Unsafe reports.

As a "workaround" I would like to have implemented #7368.

This "global" issue requires careful profiling and understanding after known issues like #7302 and #7350 will be fixed. I am sure that several simple optimizations will help to reduce report uploading time in several times. Altogether this will help to reduce it in one or even several orders.

Actions #3

Updated by Evgeny Novikov over 8 years ago

  • Assignee set to Vladimir Gratinskiy
Actions #4

Updated by Evgeny Novikov over 8 years ago

  • Priority changed from Urgent to High

Experiments after implementation of #7368 showed that reports uploading for lightweight verification results don't take too much time as before. So it can be optimized but not now.

Actions #5

Updated by Evgeny Novikov over 7 years ago

  • Status changed from New to Rejected

I consider this issue too broad and almost irrelevant. Soon I will open a couple of related but more concrete issues.

Actions

Also available in: Atom PDF