[1301] | 1 | GT.M Rocks!!!
|
---|
| 2 | gpl
|
---|
| 3 |
|
---|
| 4 | I wrote a standalone test driver that will work on any GT.M system.
|
---|
| 5 | ( you have to change the calls to $$NOW^XLFDT to another way to get a timestamp..
|
---|
| 6 | and then do the number of seconds computation differently...I don't know how)
|
---|
| 7 |
|
---|
| 8 | I'm attaching the mumps routine C0XTEST.m
|
---|
| 9 |
|
---|
| 10 | The first time I ran it I got significantly worse results. Then I realized that I had
|
---|
| 11 | generated a random Graph number for each node.... In our triples load all the
|
---|
| 12 | Graph numbers are the same... Here's what that first run looked like:
|
---|
| 13 |
|
---|
| 14 | GTM>D EN^C0XTEST
|
---|
| 15 |
|
---|
| 16 | INSERTION STARTS AT 3111105.234543
|
---|
| 17 |
|
---|
| 18 | USING BULKLOAD
|
---|
| 19 | LOCKING ZERO NODE
|
---|
| 20 | ZERO NODE UNLOCKED, IENS RESERVED=10000
|
---|
| 21 | 3111105.234543
|
---|
| 22 | INSERTION ENDS AT 3111106.000401
|
---|
| 23 | ELAPSED TIME: 1098 SECONDS
|
---|
| 24 | APPROXIMATELY 9 NODES PER SECOND
|
---|
| 25 |
|
---|
| 26 | Second run on gpl (which is a VM) got worse, even though all the Graph pointer are the same.
|
---|
| 27 |
|
---|
| 28 | GTM>D EN^C0XTEST
|
---|
| 29 |
|
---|
| 30 | INSERTION STARTS AT 3111106.0032
|
---|
| 31 |
|
---|
| 32 | USING BULKLOAD
|
---|
| 33 | LOCKING ZERO NODE
|
---|
| 34 | ZERO NODE UNLOCKED, IENS RESERVED=10000
|
---|
| 35 | 3111106.0032
|
---|
| 36 | INSERTION ENDS AT 3111106.00532
|
---|
| 37 | ELAPSED TIME: 1280 SECONDS
|
---|
| 38 | APPROXIMATELY 7 NODES PER SECOND
|
---|
| 39 |
|
---|
| 40 | I put C0XTEST on raven and I couldn't believe my eyes....
|
---|
| 41 |
|
---|
| 42 | GTM>D EN^C0XTEST
|
---|
| 43 |
|
---|
| 44 | INSERTION STARTS AT 3111106.024924
|
---|
| 45 |
|
---|
| 46 | USING BULKLOAD
|
---|
| 47 | LOCKING ZERO NODE
|
---|
| 48 | ZERO NODE UNLOCKED, IENS RESERVED=10000
|
---|
| 49 | 3111106.024924
|
---|
| 50 | INSERTION ENDS AT 3111106.024924
|
---|
| 51 | ELAPSED TIME: 0 SECONDS
|
---|
| 52 | GTM>W ^C0X(101,0)
|
---|
| 53 | C0X TRIPLE^172.101I^238634^238634
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 | GTM>D EN^C0XTEST
|
---|
| 57 |
|
---|
| 58 | INSERTION STARTS AT 3111106.024954
|
---|
| 59 |
|
---|
| 60 | USING BULKLOAD
|
---|
| 61 | LOCKING ZERO NODE
|
---|
| 62 | ZERO NODE UNLOCKED, IENS RESERVED=10000
|
---|
| 63 | 3111106.024954
|
---|
| 64 | INSERTION ENDS AT 3111106.024955
|
---|
| 65 | ELAPSED TIME: 1 SECONDS
|
---|
| 66 | APPROXIMATELY 10000 NODES PER SECOND
|
---|
| 67 | GTM>W ^C0X(101,0)
|
---|
| 68 | C0X TRIPLE^172.101I^248635^248635
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | GTM>D EN^C0XTEST
|
---|
| 72 |
|
---|
| 73 | INSERTION STARTS AT 3111106.025009
|
---|
| 74 |
|
---|
| 75 | USING BULKLOAD
|
---|
| 76 | LOCKING ZERO NODE
|
---|
| 77 | ZERO NODE UNLOCKED, IENS RESERVED=10000
|
---|
| 78 | 3111106.025009
|
---|
| 79 | INSERTION ENDS AT 3111106.02501
|
---|
| 80 | ELAPSED TIME: 1 SECONDS
|
---|
| 81 | APPROXIMATELY 10000 NODES PER SECOND
|
---|
| 82 | GTM>W ^C0X(101,0)
|
---|
| 83 | C0X TRIPLE^172.101I^258636^258636
|
---|
| 84 |
|
---|
| 85 | So I upped the anti to 100000 nodes
|
---|
| 86 |
|
---|
| 87 | GTM>D EN^C0XTEST
|
---|
| 88 |
|
---|
| 89 | INSERTION STARTS AT 3111106.025823
|
---|
| 90 |
|
---|
| 91 | USING BULKLOAD
|
---|
| 92 | LOCKING ZERO NODE
|
---|
| 93 | ZERO NODE UNLOCKED, IENS RESERVED=100000
|
---|
| 94 | 3111106.025823
|
---|
| 95 | INSERTION ENDS AT 3111106.02583
|
---|
| 96 | ELAPSED TIME: 7 SECONDS
|
---|
| 97 | APPROXIMATELY 14285 NODES PER SECOND
|
---|
| 98 | GTM>W ^C0X(101,0)
|
---|
| 99 | C0X TRIPLE^172.101I^658640^658640
|
---|
| 100 | GTM>W $O(^C0X(101,"AA"),-1)
|
---|
| 101 | 658639
|
---|
| 102 |
|
---|
| 103 | GTM>D EN^C0XTEST
|
---|
| 104 |
|
---|
| 105 | INSERTION STARTS AT 3111106.025932
|
---|
| 106 |
|
---|
| 107 | USING BULKLOAD
|
---|
| 108 | LOCKING ZERO NODE
|
---|
| 109 | ZERO NODE UNLOCKED, IENS RESERVED=100000
|
---|
| 110 | 3111106.025932
|
---|
| 111 | INSERTION ENDS AT 3111106.025936
|
---|
| 112 | ELAPSED TIME: 4 SECONDS
|
---|
| 113 | APPROXIMATELY 25000 NODES PER SECOND
|
---|
| 114 | GTM>W ^C0X(101,0)
|
---|
| 115 | C0X TRIPLE^172.101I^758641^758641
|
---|
| 116 | GTM>W $O(^C0X(101,"AA"),-1)
|
---|
| 117 | 758640
|
---|
| 118 |
|
---|
| 119 | GTM>D EN^C0XTEST
|
---|
| 120 |
|
---|
| 121 | INSERTION STARTS AT 3111106.030006
|
---|
| 122 |
|
---|
| 123 | USING BULKLOAD
|
---|
| 124 | LOCKING ZERO NODE
|
---|
| 125 | ZERO NODE UNLOCKED, IENS RESERVED=100000
|
---|
| 126 | 3111106.030006
|
---|
| 127 | INSERTION ENDS AT 3111106.030015
|
---|
| 128 | ELAPSED TIME: 9 SECONDS
|
---|
| 129 | APPROXIMATELY 11111 NODES PER SECOND
|
---|
| 130 | GTM>W ^C0X(101,0)
|
---|
| 131 | C0X TRIPLE^172.101I^858642^858642
|
---|
| 132 | GTM>W $O(^C0X(101,"AA"),-1)
|
---|
| 133 | 858641
|
---|