![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I've written a little app, in C# with the 1.1 .Net Framwork, to process partitions. It can use multiple threads to connect to the same AS2000 database and process the partitions. The work list is divided up between the thread instances before they are started, so we know they are not blocking each other. And any given cube is not processed by more than 1 thread. When we run with 2 threads, on a 2 CPU machine, our through-put drops by 30%. If we run 2 instances of the APP, with 1 thread each, our through-put goes up by 30%. It seems that clsPartition.Processs method is the sticking point, although each thread has it's own instance. Is this something to with the properties of the clsPartition class? |
#3
| |||
| |||
|
|
Hi, I've written a little app, in C# with the 1.1 .Net Framwork, to process partitions. It can use multiple threads to connect to the same AS2000 database and process the partitions. The work list is divided up between the thread instances before they are started, so we know they are not blocking each other. And any given cube is not processed by more than 1 thread. When we run with 2 threads, on a 2 CPU machine, our through-put drops by 30%. If we run 2 instances of the APP, with 1 thread each, our through-put goes up by 30%. It seems that clsPartition.Processs method is the sticking point, although each thread has it's own instance. Is this something to with the properties of the clsPartition class? |
#4
| |||
| |||
|
|
Hi, I've written a little app, in C# with the 1.1 .Net Framwork, to process partitions. It can use multiple threads to connect to the same AS2000 database and process the partitions. The work list is divided up between the thread instances before they are started, so we know they are not blocking each other. And any given cube is not processed by more than 1 thread. When we run with 2 threads, on a 2 CPU machine, our through-put drops by 30%. If we run 2 instances of the APP, with 1 thread each, our through-put goes up by 30%. It seems that clsPartition.Processs method is the sticking point, although each thread has it's own instance. Is this something to with the properties of the clsPartition class? |
![]() |
| Thread Tools | |
| Display Modes | |
| |