How much space should I leave for my Windows 7 partition? - windows

I'm setting up a complete .NET development environment on my Macbook Pro.
I'm using Visual Studio 08 team suite, SQL server 2008, MS Office and other tools (like FinalBuilder, RegexBuddy, Beyond Compare).
How big should my windows 7 (beta currently) partition be? Will 100GB be enough?
NOTE: I wasn't sure if this was programming related enough for SO, so I'll just let the community decide if this question is relevant.

100 GB should be more than enough for all those apps. I've installed win7 in a virtual machine and the virtual HDD ended up with a size of 7GB (that's only the OS of course). Trying the same with Vista, for example, uses about 25GB. It seems they're making it lighter.

You described my laptop. 100 GB would leave approx. 40GB for Users directory.

100 GB will be plenty. You'll have OS, apps, but no music, pics, videos. 100GB is probably overkill, especially if you can resize it if needed.

I have Windows 7 installed on a laptop with 2 100 Gb hard drives.
Currently I'm using 18 Gb and that's with most of the primary stuff installed, but not Visual Studio or SQL, but those probably won't use more than 10 Gb (I reckon). I do have Virtual XP Mode installed which is probably quite large too.
The Windows folder is about 9.3 Gb
The User folder is 3.2 Gb (but I have some large files on my desktop)
The Program Files is 3.0 Gb
The rest of the files on the OS-drive are mostly driver files which you don't have to leave on the drive itself.
So 100 gb would probably even be an overkill, but does give you some headroom!

Windows7 is going to be a little bit smaller than Windows Vista. So if you create partition big enough for Windows Vista, it will be perfect for Windows7.
See Engineering7 blog for more information about disk space in Windows7.

I would give as much as you could to Windows 7, since it will probably become your primary OS. I find that I rarely use my OSX partition, except for cracking WEP.

100 GB is barely enough. You can install Windows 7 and the mentioned programs along with lot of other stuff, but once you get to have some lots of trash there and there plus you happen to download movies and such it gets cumbersome.
Unless you're relying on some other device for things other than those tools, I recommend a larger space allocation, of at least 150 GB

Related

Delphi extra slow compilation time

Well, there is a strange problem occured in my working project. It is written on Delphi. When I try to compile it, it takes 8 hours to compile about 770 000 lines (and it is not the end), while my colleague needs only 15-20 seconds.
I've tried everything suggested in Why does Delphi's compilation speed degrade the longer it's open, and what can I do about it?
Shorten the path to project
Defragment disc with MyDefrag
Use Clear Unit Cache (do not sure, if it worked at all)
I also turned off the optimization and I use debug mode. My PC is pretty fast (i5-2310 3.1 GHz, 16 Gb RAM, usual SATA HDDs), the bottle neck could be the HDD, but my collegue has usual one too. So, it is very mysterious, what is the reason of so slow compilation.
Edit: I apologize for lack of information. Here is additional info:
I use debug mode, release one works same.
We use Delphi XE version.
I've copied my collegue's folder with project initially.
I do not use network drive, and I tried to move project to another HDD.
Additional info about system: I use Windows 7 Enterprise N 64 bit, while my collegue uses Windows 7 32 bit, Also, Delphi XE is 32-bit (dunno, if it can be 64-bit). May be it is the reason in some way?
Edit 2: I found solution! The problem was that I installed Delphi on my Windows 64 bit system. Installing it on virtual Windows 7 x86 made it work: compiling in seconds. Dunno, why is there so big gap in perfomance.
Are you sure this is not some hardware problem, e.g. your hard disk having a bad sector? Try to put the source code on a different disk and see if the problem goes away. Or maybe the search path points to a network drive that is very slow or not even available?

Visual Studio 2010 and/or win7 64 bit limits

Does anyone have experience writing apps in VisualStudio 2010 C Premium that uses large amounts of ram and multiple cpus?
I am about to order a workstation with Dual hex-core Xeon 5690 processors (12 cores total, 24 hyperthreaded) and 48 gigabytes of RAM, but first would like to know if VS can handle that number of cores and RAM.
(Of course this is all 64bit) I can't seem to find a straight answer either from MS or the hardware vendor, or from the Web.
Thanks
Update: someone just sent me this link
I realize now that that my question was mis-directed. The real issue is whether the target OS can address that much RAM and run dual cpu.
So, unless I'm misreading it, the infomation in the link above means that if you want to write an application that will run on Windows 7, and even if you require the 64bit version, you are limited to 16 gb. The only way to get around that is require users to run Win 7 Professional, Enterprise or Ultimate 64 bit versions.
It's a little tricky to be sure quite what you mean. VS2010 can certainly produce output that takes full advantage of such hardware. And the IDE itself will run very nicely on such a roomy machine.
Your update discusses memory limits imposed by Windows itself. You say:
If you want to write an app that will run on Windows 7, and even if you require the 64bit version, you are limited to 16 gb. The only way to get around that is require users to run Win 7 Professional, Enterprise or Ultimate 64 bit versions.
The reality is that nobody will buy a machine with more than 16GB RAM and then install an OS edition which does not support that amount of RAM. That would just be a waste of money. If your app requires more RAM than that and your customers are prepared to get hold of such a machine, then they will be quite happy to put the Pro version of Windows on it.
Visual Studio is just an IDE. Limitations are imposed by the compiler and an OS, and are usually listed in help under Limitations or something alike. Unfortunatelly, I don't have C compiler installed, but try searching through help while waiting for other answers.

System Requirement for VS 2010

I have a laptop machine with below configuration:
Core 2 Duo # 1.4 GHz
4GB RAM
320GB HardDrive
Windows 7
Whether this is sufficient for installing VS 2010? The speed of processor is 1.4GHz, but in Microsoft website they have given minimum of 1.6GHz processor speed. Can anyone tell from their experience?
Thanks in advance.
Will most likely install, however I would expect it will run slow. Depends on what sort of work you are doing. Small console apps would be OK but I doubt full blown WPF/Silverlight apps would be speedy. Also, if your connecting to a local SQL instance.. etc (could pull an increased overhead).
Sum Up.
Will install.
Work will be tedious.
Another SO post for reference VS 2010 Requirments
The main issue is the way that VS2010 uses WPF; you might find that large files behave a little jerkily in the text editor, but I don't think it'll be un-usable.
I've not tried VS2010, but I do have VS2008 + SQL Server Express installed on a netbook with a few years old Atom CPU and 2 GB of RAM, and it works fine though it's obviously a bit slow. So I'd assume that you'll have no problems since even if the requirements for VS2010 are higher, your laptop is much higher spec than that netbook.
Will work. but might have some performace issues on Editor / Designer. I had a machine with almost similar configuration. used it for silverlight developement. I always has problem in the design preview of the XAML file. - it gets loaded after some time then expected time.

Visual studio on windows xp

i need to run a few visual studios on windows XP and it seems to take up a lot of memory. i am also running resharper which is a memory hog.
i am running 32 bit XP. How much memory can i put into my machine until i get to the point where the OS hits its limit.
Also, any other ways of running multiple visual studio without such slow performance.
32-bit Operating Systems are limited to 4 GB of RAM, which may or may not be enough for you. Also, I think Windows shows 3 GB of RAM if you install 4 GB.
I suggest you switch to 64-bit and upgrade to 8 GB if you can.
UPDATE: See Jeff's blog post on the subject: Dude, Where's My 4 Gigabytes of RAM?
The maximum amount of memory that can be seen by 32bit WinXP is somewhere between 3 and 4 gigabytes depending on your chipset.
I have also run into issues running multiple instances of VS when I had resharper installed. The only thing you can do is run 64bit XP with more memory, or not use resharper (which is a bummer).
32-bit Windows kernel divides the 4GB virtual addressing space in 2GB/2GB partitions. If you feed the /3GB switch to NTLDR it will offer 1GB kernel space / 3GB user mode space. Note that this NOT implies that you can't write software to take advantage of machines with 32-bit CPUs and address more than 4GB at once.
A workaround is the hardware-supported feature to access the remaining memory in banks or "windows" since the CPU still sees a maximum of 4GB addressable space at once. Some database and GIS software offer this possibility. This is called Physical Address Extensions and allows to use (not addressing at once) up to 64GB with 36-bit addresses. WinXP offers AWE, an API built on top of PAE.
That's the theory. For using Visual Studio you can get the full 4GB for your system or upgrade to a 64-bit OS with more RAM. This only if VS offers a 64-bit version.
"Also, any other ways of running multiple visual studio without such slow performance."
+1 trick: you should use a RAM disk (download) to accelerate I/O.
If you're using - and hopefully do - source-managament system (ie. Subversion), you must just checkout your projects there. VS.NET makes tons of I/O calls, and RAM disks are much faster than real disks.
CAUTION! If you turn off your computer, RAM Disk disappers.

What's the maximum amount of RAM I can use in a Windows box?

Obviously, that's 64-bit windows.
Also, what's the maximum amount of memory a single 64-bit process can use?
I was kind of counting on using it all...
(Yes, I know what I'm doing, please don't tell me that if I need that much RAM i must be doing something wrong)
Also, is this the same for a .Net 2.0 process? Or is there a lower limit for .Net?
What version of windows? it differs from XP to vista and from home to business versions of vista, and I would guess again for server.
see here for more info on maximum ram for diffrent windows versions
for Windows Server 2008 Datacenter MS quote 2 TB of physical memory.
Link
From http://technet.microsoft.com/en-us/library/cc758523.aspx
- Windows Server 2003, 64 bit Datacenter Edition supports physical memory up to 512GB
A single process should be able to use most of it, some will be used by the OS.
The answer from Re0sless is better then mine. The limit is now 2TB, in Datacenter SP2, and 2008.
We run Windows boxes with 16 gigs of memory, but that is because we are running multiple VM Ware instances, I presume you mean in a single instance. On Vista it depends upon the edition. It breaks out like this:
Vista Basic: 8 GB
Vista Home Premium: 16 GB
Vista Business/Enterprise/Ultimate: 128+ GB
Something we found out recently: with MySQL running on Win32, you can only use up to 2GB per process. On Win64, the memory is not managed as well and a single MySQL instance will run your memory into the ground. Ours used up all 16GB we have. So regarding how much memory 1 64-bit process can use: the answer is however much the OS allows.
According to wikipedia you can have 128 GB of physical RAM in a 64-bit Windows XP computer.
This is a Windows Server machine.
As for which edition (Datacenter, Enterprise, etc)... Whatever it takes to give my little .Net Process as much memory as it can.
Switch to Linux. You will not have any of these issues and you will get better performance.

Resources