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

CFX-5.7 - Serial PC Maximum Memory Requirements

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2004, 17:00
Default CFX-5.7 - Serial PC Maximum Memory Requirements
  #1
James Date
Guest
 
Posts: n/a
Hi Guys

Here's and easy query for you CFX-5.7 users.

What is the maximum amount of memory which can be used when CFX-5.7 is run in serial mode? i.e. on one PC running windows XP Pro.

The user manual says that 2GB is the maximum. Is this still the case and does this mean that having a 4GB machine would be a waste of resources since only 2GB could be used for any single run?

Regards James
  Reply With Quote

Old   October 23, 2004, 10:18
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #2
Jeff
Guest
 
Posts: n/a
Windows can only allocate 2Gb to a single process. You can put 4Gb in the machine, but you'll have to run in parallel (i.e. 2 x 2GB processes) in order to fully utilize it.

Note, however, there are other issues that prevent the 4Gb from being seen and used, mostly to do with the Video Drivers taking up space under the 4GB memory address limit.

There's supposed to be a 64-bit Windows coming out, which would alleviate this limit on 64-bit Itanium chips, but last I heard it was SEVERELY delayed.

Jeff
  Reply With Quote

Old   October 23, 2004, 10:20
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #3
deLuther
Guest
 
Posts: n/a
2GB is maximum for 32bit machines(even on linux...). But under windows if you have something like 3Gb - you will have more chances to get memory closer to 2Gb (due to memory fragmentation reasons). But 4Gb is waste of resources for single run. But you can run job in parallel (even on single CPU without slow down(I test it)) and can run larger than 2Gb jobs.
  Reply With Quote

Old   October 23, 2004, 10:31
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #4
Jeff
Guest
 
Posts: n/a
Not quite true....

2^32 is 4Gb. Linux will run up to a 4Gb process on a 4Gb machine (Yes, I've done it). Windows, however, uses one less bit in it's memory addressing which drops the actual addressible memory for a single process by 1/2, down to 2Gb.

Jeff
  Reply With Quote

Old   October 25, 2004, 06:21
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #5
James Date
Guest
 
Posts: n/a
Cheers everyone for the advice. I guess i'll have to go parallel if i want to use more than 2Gb of memory.

Regards James
  Reply With Quote

Old   October 26, 2004, 01:50
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #6
deLuther
Guest
 
Posts: n/a
Jeff, can you tell me how you can ran 4Gb job in serial on linux. What version of linux you used and so on. Because I can not run job bigger than 2Gb on linux.

deLuther
  Reply With Quote

Old   October 26, 2004, 11:31
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #7
Mikhail
Guest
 
Posts: n/a
I use CFX57 and Linux RedHat 7.3 with native kernel (2.4) and observe 2GB limitation during serial run. What You do for 4GB process activation?
  Reply With Quote

Old   October 26, 2004, 18:22
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #8
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

A 2GB maximum job size is inherent in Linux and Windows. I cannot see how James ran a job bigger than 2GB on a 32 bit Linux machine - but if he did I would like to know how!

Genn Horrocks
  Reply With Quote

Old   October 27, 2004, 04:00
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #9
James Date
Guest
 
Posts: n/a
Sadly i didn't run a 4GB serial job but Jeff believes he has on a Linux machine.

Regards James
  Reply With Quote

Old   October 28, 2004, 18:34
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #10
Glenn Horrocks
Guest
 
Posts: n/a
Hi Jeff,

Are you sure you have run a job larger than 2GB single processor on Linux? My understanding is the 2GB limit is inherent in the 32 bit hardware, and what operating system you use can never go beyond that.

Glenn Horrocks
  Reply With Quote

Old   October 29, 2004, 03:51
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #11
deLuther
Guest
 
Posts: n/a
As I understand there is big memory kernel for linux which can adress 4Gb and even more...This kernel uses 36bit adressing(of course by coast of decreasing speed-purely software trick). This all what I know, never dealt with this.
  Reply With Quote

Old   October 30, 2004, 21:13
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #12
Neale
Guest
 
Posts: n/a
It has nothing to do with the number of bits used for addressing.

It has to do with signed and unsigned pointers.

All pointers in Linux/Windows are 32 bits long. A signed pointer though can only address 2^31 - 1 spots. Hence a 2GB theoretical limit on both operating systems.

The "large memory" versions of linux allow for unsigned 32 bit pointers to be used which gives you theoretical access to all 4 GB.

Problem is that the OS, device drivers, services, etc... take up space and may or may not be able to be swapped out to the swap space. So your jobs will never get to these theoretical limits.

Practical limits for CFX-5 on Windows are maybe 1.5 GB in serial, if you are very lucky and larger (up to 2GB) on Linux because it seems to be more tolerant of swapping other processes out to make space.

Jeff's claim of 4 GB on Linux is just not possible with CFX-5. He may have done that with some other software.

Neale
  Reply With Quote

Old   October 30, 2004, 21:15
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #13
Neale
Guest
 
Posts: n/a
Hi Glenn,

See my other post if you want.

There is no way this "Jeff" did this with CFX-5.

He may have done it with something else.

Neale
  Reply With Quote

Old   November 3, 2004, 03:48
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #14
Jeff
Guest
 
Posts: n/a
Hey All,

Sorry, I've been away and just got back to this flurry of discussion and doubt. I'm actually starting to doubt it myself, but I'm almost sure we ran above the 2Gb limit on a Dell Precision with 4Gb of memory. I live in an Itanium 64-bit world now (new job) and do not suffer from these issues.

This >2Gb run "may" have been w/ CFX-4. I will double check with my cohorts and post back shortly.

Regards, Jeff
  Reply With Quote

Old   November 3, 2004, 16:33
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #15
Glenn Horrocks
Guest
 
Posts: n/a
Hi Jeff,

I think you will find CFX4 can't use over 2GB on 32 bit machines either.

Glenn Horrocks
  Reply With Quote

Old   November 16, 2004, 11:05
Default Re: CFX-5.7 - Serial PC Maximum Memory Requirement
  #16
Steve Elias
Guest
 
Posts: n/a
Hi All,

This topic is discussed in a bit of detail in an FAQ on the CFX Community Site. Please see http://www-waterloo.ansys.com/cfxcom...ail.asp?id=664 for more details.

Regards,

Steve.
  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
CFX 5.7 mesh refinement troubles imike CFX 1 July 8, 2004 18:16
Partitioner in CFX 5.7 deLuther CFX 3 May 4, 2004 15:40
CFX 5.6 memory problem with solver sreevisakh CFX 3 February 2, 2004 04:57
memory requirements Novak Elliott CFX 3 June 6, 2003 02:50
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 04:07


All times are GMT -4. The time now is 09:03.