Parallel CPLEX - Global Thread Limit

428 views
Skip to first unread message

MatthiasW

unread,
Sep 28, 2011, 10:08:10 AM9/28/11
to AIMMS - The Modeling System
Hey everyone,

I'm using Parallel CPLEX to solve a very large scale MIP and since I'm
working on a machine with 4 CPUs, I set the global thread limit
parameter to 4.
However, when I look at the average utilization of my CPUs as
displayed on the Windows Ressourcemonitor, it is only at about 50%.
I'm working with a full academic license of AIMMS and one of my
colleagues believes that the reason for the low utilization of my CPUs
might be that for the academic version of AIMMS the number of threads
is artificially capped at 2.
Is this true and if so, is there any possibility to get the academic
version extended to more than 2 threads? I beliebe this would improve
my computation time significantly.


Thanks for your input, best
Matthias

GdL

unread,
Sep 28, 2011, 11:44:21 AM9/28/11
to AIMMS - The Modeling System
Dear Matthias,

There is no artificial cap on your academic license on the number of
threads you can use when solving a model using CPLEX.
The Free AIMMS Academic License is a fully functional license.

Kind regards,
Gertjan de Lange
AIMMS

Luis Pinto

unread,
Sep 28, 2011, 11:52:08 AM9/28/11
to ai...@googlegroups.com
Using parallel threads to solve a model doesn't necessarily mean you will occupy all the threads at all times.
I know there are some synchronisations that occur during optimisation that could lead to periods of less CPU use.

How many threads can you computer actually use. Use said it has 4 CPU's but it may deal with more threads than that (ex: my PC has 2 cores, but 4 threads).
Check out you system configs.

Cheers,

Luis Pinto
www.unisoma.com.br


--
You received this message because you are subscribed to the Google Groups "AIMMS - The Modeling System" group.
To post to this group, send email to ai...@googlegroups.com.
To unsubscribe from this group, send email to aimms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/aimms?hl=en.


Sergio Bruno

unread,
Sep 28, 2011, 12:02:06 PM9/28/11
to ai...@googlegroups.com

Maybe there is some hyper threading messing the stats.what happens if the limit is 8 threads?

MatthiasW

unread,
Sep 28, 2011, 12:59:05 PM9/28/11
to AIMMS - The Modeling System
My machine has 4 CPUs, 2 cores and each physical core relates to 2
logical cores (at leat that's what I found via google..). So I should
be able to deal with up to 16 threads, I suppose... I'll try that.
Thanks for your comments!



On 28 Sep., 18:02, Sergio Bruno <svbbr...@gmail.com> wrote:
> Maybe there is some hyper threading messing the stats.what happens if the
> limit is 8 threads?
>
Reply all
Reply to author
Forward
0 new messages