IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2005, 10:33:53 AM (21 years ago)
Author:
eugene
Message:

cleanup up communications for speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/scripts/psched.pro

    r4714 r4763  
    11
    22controller exit true
    3 controller host add kiawe
    4 controller host add alala
     3# controller host add kiawe
     4$Ntest = 0
     5# controller host add alala
    56# verbose on
     7pulse 1000
     8controller pulse 1000
     9
     10macro load.machines
     11  if ($0 != 2)
     12    echo "load.machines (nmach)"
     13    break
     14  end
     15
     16  for i 0 $1
     17    $n = $i + 1
     18    sprintf host "po%02d" $n
     19    controller host add $host
     20  end
     21end
    622
    723task test
    824  command partest
    9   periods -poll 0.1
    10   periods -exec 0.1
     25  # polling period is no longer valid: we check for completed controller tasks
     26  # correction: still valid for local tasks
     27  periods -poll 0.20
     28  periods -exec 0.001
    1129  periods -timeout 10.0
    12   nmax 5
     30  nmax 1024
    1331  host anyhost
    1432
     
    1836    queuedelete stdout
    1937    queuedelete stderr
    20     memory leaks
     38    date date
     39    queuepush done "$date"
     40    $Ntest ++
     41#   memory leaks
    2142#   queuesize stdout -var Nstdout
    2243#    for i 0 $Nstdout
     
    4263  end
    4364end
     65
     66# pulse == 100ms
     67# poll/exit = 0.2  : 29 sec / 100 jobs
     68# poll/exit = 0.1  : 20 sec / 100 jobs
     69# poll/exit = 0.05 : 17 sec / 100 jobs
     70# poll/exit = 0.01 : 18 sec / 100 jobs
     71
     72# pulse == 10ms
     73# poll/exit = 0.2  : 20 sec / 100 jobs
     74# poll/exit = 0.10 : 12 sec / 100 jobs
     75# poll/exit = 0.05 : 12 sec / 100 jobs
     76# poll/exit = 0.01 :  9 sec / 100 jobs
     77
     78# we are limited here by how quickly we can send data to the
     79# controller.  this is limited by the occasional 'CheckSystem'
     80# loops, with ~40ms minimum.
     81
     82# seems to be faster on po01 from kiawe (less interference?)
     83
     84# pulse == 1ms, controller pulse == 1ms
     85# poll/exit = 0.01 :  3 sec / 100 jobs
     86# 2 mach, 3 sec
     87# 4 mach, 3 sec
     88# 8 mach, 3 sec
     89
     90# 16 machines, 500 jobs, 13 sec: 26ms / job
     91# 32 machines, 1024 jobs, 26 sec: 26ms / job
     92# job harvesting rate is still the limitation.  Each job harvest requires:
     93#  - jobstack exit
     94#  - stdout
     95#  - stderr
     96#  - delete
     97#  - jobstack crash
     98
Note: See TracChangeset for help on using the changeset viewer.