CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Tips on maximizing performance from 8 CPU system?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2008, 05:15
Default Tips on maximizing performance from 8 CPU system?
  #1
chebeba
Guest
 
Posts: n/a
I am running CFX Solve 11.0.1 on a 8 core / 8GB RAM system. The system is running Windows XP Pro 64bit.

If I specify 8 partitions local parallel execution, the system runs under only 50% load most of the time, going to 100% only in shorter periods during each iteration.

The mesh is <2 million elements, the total RAM use under 3GB so the system has plenty of free RAM when running.

I was wondering if anyone has some tips on how to tweak the solver to use the available resources more efficiently?

It seems to me I could get almost half the solution time if all 8 CPUs where running at 100%.

Cheers, /c
  Reply With Quote

Old   March 9, 2008, 05:21
Default Re: Tips on maximizing performance from 8 CPU syst
  #2
chebeba
Guest
 
Posts: n/a
Forgot to mention it is the 64bit CFX version as well.
  Reply With Quote

Old   March 9, 2008, 10:45
Default Re: Tips on maximizing performance from 8 CPU syst
  #3
andy2O
Guest
 
Posts: n/a
I'm currently trying to get licences for running CFX in parallel for the first time. So, I don't have experience of this, but I can pass on some advice I was given by ANSYS during discussions about this:

They recommended to me that dividing a model so that each processor is using about 1GB of memory is about right. They said that if you have less than 1GB of memory in use on each processor then the overheads of communication between the processors will cause a slow down. If you have more than 1GB per processor you may not get the full parallel efficiency available to you.

So, perhaps for a 3GB sized problem it is simply not efficient to try and use all 8 processors? Perhaps the best efficiency will be around 3-4 processors?

I hope others who have direct experience of parallel processing will also reply to you with their advice.

Regards, andy

(PS: I am very jealous that you have so many licences available to you!)
  Reply With Quote

Old   March 9, 2008, 18:57
Default Re: Tips on maximizing performance from 8 CPU syst
  #4
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

If you have 8 parallel licenses then for most simulations you will get healthy speed-ups, even though the size of the model is not huge. You might as well use them!

This problem can be caused by: 1) Lots of file IO - the master node has to do the file IO as it is not parallelised. That means if you write lots of results, backup or output files you will loose parallel efficiency. 2) Unbalanced partitioning - Sometimes the partitioner does a poor job of partitioning. This usually occurs in models with lots of small domains connected by interfaces. Not much can be done here, but sometimes using a different partitioner can help. 3) Unbalanced node speeds - If the cluster you are running on has machines of varying speeds then obviously the faster machines will have to wait for the slower machines. You can offset this by modifying the partition size weighting but in my experience this rarely improves things dramatically. The important thing here is that clusters work best when all machines are the same, and there is no point in adding a slower machine to a cluster just as you have a free license as it will probably just slow the entire cluster down.

Glenn Horrocks
  Reply With Quote

Old   March 10, 2008, 07:36
Default Re: Tips on maximizing performance from 8 CPU syst
  #5
chebeba
Guest
 
Posts: n/a
Thanks Glenn! Unfortunatly none of the above applies

1) IO: I use only the default monitor points, no backups or intermediate results.

2) Partitioning: The problem has one domain only, no interfaces. Don't know how to judge the job of the partitioner, I guess you can output the partitions and look at them in post but what would that tell me?

3) Node speeds: This is a single 8 CPU machine, so the hardware is by definition exactly the same.

Since the partitions have less than 0.5GB space each maybe my problem is that the model is too small That's good then because it means I can add detail without loosing solution time!

I will run some tests @ 4 partitions and report findings...
  Reply With Quote

Old   March 10, 2008, 10:34
Default Re: Tips on maximizing performance from 8 CPU syst
  #6
Dr Flow Squad
Guest
 
Posts: n/a
Have you tried the MPICH? It should be faster on windows compared to PVM.

  Reply With Quote

Old   March 10, 2008, 14:24
Default Re: Tips on maximizing performance from 8 CPU syst
  #7
chebeba
Guest
 
Posts: n/a
No, but I tried and this fails for unknown reasons. Seems to be an installation problem. (Unfortunatly I am in no position to require the sysadms assistance, I'm only borrowing time from an infrequently used system...)

This is the console output when trying to use MIPCH: Unknown option: -d missing num_proc flag: -n, -np, -hosts, or -localonly. Unable to parse the mpiexec command arguments. ReadFile() failed, error 109 unable to start the local smpd manager. An error has occurred in cfx5solve:

The ANSYS CFX solver could not be started, or exited with return code 255: . No results file has been created.
  Reply With Quote

Old   March 10, 2008, 16:29
Default Re: Tips on maximizing performance from 8 CPU syst
  #8
chebeba
Guest
 
Posts: n/a
OK, managed to get the MIPCH2 solver problem fixed, some install config.

"Dr Flow Squad" was correct, solutions now run at 100% on all 8 CPUs. It's quite a lot faster.

Thanks.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for high performance CPU in doing modeling by CFD FLUENT wlt_1985 Hardware 9 August 21, 2022 21:42
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26
How to calculate CPU time in Linux system? HS Dou Main CFD Forum 6 March 1, 2000 23:38


All times are GMT -4. The time now is 01:05.