J
jmartin
Hi,
I have made a multithread version of a program (load a file into
database), and with two processors I get the double of time in the
multithread than in the process (unithread) version.
I have done the test of creating a unique thread that does the same
code that the process version of the program and it takes more time
that the process without creating the thread.
It seems that the thread get worse performance that the process alone,
and that two processors isn't good enough to get a performance
improvement with multithread overhead.
Is this normal? The program requires threads syncronization and that
can get performance worse.
We are using RogueWave threads module under AIX.
Thanks in advance,
I have made a multithread version of a program (load a file into
database), and with two processors I get the double of time in the
multithread than in the process (unithread) version.
I have done the test of creating a unique thread that does the same
code that the process version of the program and it takes more time
that the process without creating the thread.
It seems that the thread get worse performance that the process alone,
and that two processors isn't good enough to get a performance
improvement with multithread overhead.
Is this normal? The program requires threads syncronization and that
can get performance worse.
We are using RogueWave threads module under AIX.
Thanks in advance,