Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Workflow of bibo queries
11-07-2020, 10:49 PM (This post was last modified: 08-13-2021 06:31 PM by lingu.)
Post: #1
Workflow of bibo queries
The workflow of bibo queries use SageRun in Sage. SageRun drives an ATPA to perform a task for a QID.

The call path starts in scali invoking ProcRequestDefault. We optimize the timing of the steps and should make it complete in no more than 1s.

r1: scali
-> r3: getRequest
-> r5: ProcRequestDefalt
-> r7: queryMatch
-> r9: SageRun instances [1..llTaskCnt]
-> r11: atpa by user sage (atpa may log some info in atpa.log-$dd where dd is the datum number. Note that some log may be somewhere else.)
-> r13: atpa.sh by user sage (log in atpash.log-$dd, also check output files in the query's dir in fastdata))
-> r15: procone.py (log is perhaps in atpa.sh's log or procone2-$tycano.log)

Most of the log file locations are /thinker/local/today/users/$USER

We optimized r1 to r7 from 20+s to 3s by reducing memory footprint used by SageRun, skipping SageRunPrep and increasing atp count.

r9 and r11 still takes 13s. If we reduce the task count to 90, the time is reduced to 8s. With atpa.sh, it takes 10s.

---
20210813/lingu: log info
20210811/zhihao: link procone2.py
20201108/lingu: rename to be workflow.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Workflow of bibo queries - lingu - 11-07-2020 10:49 PM
RE: SageRun - lingu - 11-08-2020, 01:39 AM
RE: SageRun - lingu - 11-08-2020, 02:00 AM
RE: SageRun - lingu - 11-08-2020, 02:34 AM
RE: SageRun - lingu - 11-08-2020, 02:44 AM
RE: SageRun - lingu - 11-08-2020, 02:56 AM
RE: SageRun - lingu - 11-08-2020, 05:05 AM
RE: SageRun - lingu - 11-08-2020, 10:03 AM
RE: Workflow of bibo queries - lingu - 11-08-2020, 10:42 AM
RE: Workflow of bibo queries - lingu - 11-08-2020, 11:07 AM
RE: Workflow of bibo queries - lingu - 08-10-2021, 08:38 PM
RE: Workflow of bibo queries - zhihao - 08-11-2021, 05:11 PM
RE: Workflow of bibo queries - lingu - 08-13-2021, 04:13 PM

Forum Jump: