Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upgrading to Visual Studio 2013
Message
De
15/11/2013 05:27:32
 
 
À
15/11/2013 00:19:17
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587952
Message ID:
01587996
Vues:
50
>>>>If you have a box with 16gb of RAM why wouldn't a 64bit version of VS use more of that RAM and less disk IO? Or are you saying this is an OS issue (the addressing of RAM beyound 3gb) and is not dependant on the program itself having a 64 bit address space?
>>>>
>>>>If the latter, then 64bit SQL Server would be different because it is, in fact, a server and therefore is more like (part of) the OS in this regard?
>>>
>>>A 64-bit process may make use of more RAM than a 32-bit one. Whether it is designed to do so is another question. To avoid having 2 separate code bases the 64-bit version may just be a straight recompile of the 32-bit one.
>>>
>>>If you have a box with 16GB RAM and you have a few GB free, Windows will use that for a disk cache. That cache may be large enough for most or all VS components that are used but not permanently memory resident.
>>
>>OK, just to understand - if I have a 32 bit OS anything over 3gb is wasted , correct?
>
>Yes. Could actually be up to ~3.5GB depending on your graphics card.

7/8 of 4096 MB to be precise in the way GB is defined. Graphics card is usually main culprit if that border is not reached, but every HW device needing a mapped area in memory space will reserve area(s) in the space being counted from top. The rest of installed memory need not be wasted: it can be used via PAE as Rick mentions, which allows it to be used for faster paging of the usual OS memory space - instead of swap file the other memory is used as paging target. It is also possible to use such memory for a pure RAM disk similar to the way DOS used extended memory. Quite useful for vfp-style datamunging, if temp files go over there or it is used for intermediate tables or a temp database in more server centered SQL types, if the backend does not allow directing into a MEMORY: type device (to describe SQLite pattern as example).

My rule of thumb is only starting with 8192MB to always go for 64bit OS. 6144 MB my watershed: if the OS only/mostly houses VM's, use 64bit host OS, otherwise often 32 bit OS is better. On a 4GB device use 32bit, unless somthing specific like testing in 64 is needed. Even then multiboot is an option ;-)
>
>>But if I have a 64 bit OS what you have said above applies ( with Craig's post implying that VS the same in 32 or 64 )

A 64VS will need slightly more memory if only for memory pointers being doubled in size even if compiled from identical code base.

>>As to SQL server, am I correct that it is optimized for 64 bit if you run 64bit on Win7 64 (or does that only matter in mult-processer scenarios etc?)
>
>I don't know about specific code optimization for 64 bit but it's possible. What it will do is use more RAM if it's available. Of course that's for versions other than Express, it is limited to 1GB RAM usage.

DB handling just is one of the best use cases where throwing RAM at the task yields performance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform