forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Thanks for the Memory(s)

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Sun Mar 12, 2017 10:07 pm    Post subject: Thanks for the Memory(s) Reply with quote

Deciding I should read thoroughly the 64-bit release documentation (and not just rely on the posts in this forum) , looking at the on-line version here:
http://silverfrost.com/ftn95-help/devel/x64_compiler.aspx
I hit this:

Quote:
The default size of INTEGER variables remains unchanged (2^31-1), so INTEGER*8 (8-byte) variables must be used to index extremely large arrays. These variables are implemented in a more efficient and natural way in 64-bits. Note that some arrays that would not fit in the old 4GB limit may still be indexable using default sized integers, for example a REAL*8 array of 2,000,000,000 elements would occupy nearly 16GB of memory, but could be indexed using default integers.


2 billion elements seems like 'extremely large' , to me snywsy.

Given that the vast majority of consumer PC's are still xlowly moving from 4Gb to 8Gb physical memory, even 16Gb is out of range for most people, and even most companies in my experience as they tend to lag well behind in terms of hardware spec)
So, my question is, how does one get the 16 Gb of memory (or more for 64-bit) without mortgaging your house !?!?!
I assume it would be 'paging' (virtual) memory, but how would that be implemented ?
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sun Mar 12, 2017 11:48 pm    Post subject: Reply with quote

John,

If you look at the post on "Some issues with roundoff and a whole lot else", I looked at the memory capacities for self-build computer components, and most mainboards support 32Gb, but you can, for a price, get 8-socket boards with correspondingly expensive memory. My prices are in GBP.

Just about everything I want to do can be done in 1Gb, but I recognize the need of folks like Dan and John in Oz to access all the RAM they can. It seems to me that a 1D array or REAL*8 could take up 16 Gb with 2Gb elements of 8 bytes, let alone 2 or 3D arrays.

The fact that bigger than 4-byte indexing is needed in terms of bytes doesn't seem to me to need bigger than 4-byte integers for the variables. But hey, it's all academic in the sense that I'll never need to use it.

Eddie
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Mon Mar 13, 2017 2:59 am    Post subject: Reply with quote

John, Ask your own or any 10 years old kid in the world do they want GTX 1080ti with 11GB of RAM or not. They will ask you if you can buy two. Or three. And will perfectly explain and demonstrate why even more RAM is needed.


Same but often much worse with our modeling. The modeling world is even not 3D but more multidimensional. Remember that Fortran 77 had 7-dimensional restriction ? I suffered from that because for one task i needed 8.

With plasma PIC codes for example you need for ions 3 space dimensions, 3 momentum dimensions, 1 more for ionization state and 1 for partitioning. And that for 2-3 different elements. Total 9. Total 7 dimensions needed for electrons (they all have ionization =1). Also data needed for the EM fields: 3 for electric field, 3 for magnetic field. Do the math how many particles you can include in the simulation for realistic modeling.
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Mon Mar 13, 2017 4:54 am    Post subject: Reply with quote

all this is all well and good, but many folks can'rìt afford 32Gb memory computers, and for laptops that limit is much less too.
I read when SSD's came into prominence 2 or 3 (or maybe 4) years ago that one application of them was to use for extra 'memory' but I never found any article which explaind clearly and smply how that works .
Hence my question about virtual (paging) memory.
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Mon Mar 13, 2017 4:55 am    Post subject: Reply with quote

oh and Dan, thanks for the photo, you're ageing well,must be the water up in the arctic Wink lol
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Mon Mar 13, 2017 5:04 am    Post subject: Reply with quote

John,
Quote:
all this is all well and good, but many folks can'rìt afford 32Gb memory computers

Times must be tough where you are !! I suggest you google memory prices. You can get 32gb DDR4 memory for about $AU 300, which is less than the price of an i7-7700K processor.

Not sure of the price in a notebook, but not much more, unless you buy from Dell or HP !!
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Mon Mar 13, 2017 10:58 am    Post subject: Reply with quote

Depends what you want it for. Most Fortran programs ever written will run in 1 Gb, mainly because they were intended to run on machines with a lot less.

Eddie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group