Changeset 4763 for trunk/Ohana/src/opihi/scripts/psched.pro
- Timestamp:
- Aug 14, 2005, 10:33:53 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/scripts/psched.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/scripts/psched.pro
r4714 r4763 1 1 2 2 controller 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 5 6 # verbose on 7 pulse 1000 8 controller pulse 1000 9 10 macro 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 21 end 6 22 7 23 task test 8 24 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 11 29 periods -timeout 10.0 12 nmax 530 nmax 1024 13 31 host anyhost 14 32 … … 18 36 queuedelete stdout 19 37 queuedelete stderr 20 memory leaks 38 date date 39 queuepush done "$date" 40 $Ntest ++ 41 # memory leaks 21 42 # queuesize stdout -var Nstdout 22 43 # for i 0 $Nstdout … … 42 63 end 43 64 end 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.
