| 1 | #!/bin/sh |
| 2 | |
| 3 | #add urcu mb |
| 4 | |
| 5 | for a in test_urcu test_urcu_mb test_qsbr test_rwlock test_perthreadlock \ |
| 6 | test_mutex; do |
| 7 | ./${a} $* |
| 8 | done |
| 9 | |
| 10 | |
| 11 | #Vary update fraction |
| 12 | #x: vary update fraction from 0 to 0.0001 |
| 13 | #fix number of readers, vary delay between updates |
| 14 | #y: ops/s |
| 15 | |
| 16 | echo Execution update fraction test |
| 17 | |
| 18 | |
| 19 | #Test scalability : |
| 20 | # x: vary number of readers from 0 to num cpus |
| 21 | # y: ops/s |
| 22 | # 0 writer. |
| 23 | |
| 24 | echo Executing scalability test |
| 25 | |
| 26 | # x: Vary reader C.S. length from 0 to 10us |
| 27 | # y: ops/s |
| 28 | # 8 readers |
| 29 | # 0 writers |
| 30 | |
| 31 | echo Executing reader C.S. length test |
| 32 | |
| 33 | |
| 34 | |
| 35 | |