embarassing dating stories - Updating intellisense slow
With VS 6 this was a non issue and I still had intellisense with a much smaller and slower thumb drive. Whats worse is this drive writes at about 10mb/sec its not a slow flash drive. I didnt think the VS was built to be convient for MS. My 4Gb flash drive sits here with the write light fluttering as VS2005 acts likes its locked up. Seems like the thread desiginer messed up priorities.
I am trying to use a USB drive so I can take my project from home to work etc. Managed code has much stronger security than native C++. Or are you speaking of Boxing and un Boxing which has slowed things to a crawl? Reads at ~20MB/sec and writes about 10 to 20MB/sec. Generally I can say that yes, VS is optimized for local hard drive use. Writting to files 2 to 4 bytes at a time sure seems like it would be an across the board problem.
I have a 4GB USB drive that reads and writes at about 20MB/sec its an OCz rally. Try copying the project to the local hard drive and see if you get intellisense there. Stronger Security is a very loose term which means little. However, if enough requests accumulate at the MSDN Feedback site, I am sure scenario with flash drives will be included. This statement is what other people that have trapped this issue with File Mon.
Every Project I open (and these are small 10 to 15 file things) Opens fine and will even compile but when I stop for a moment updating Intellisense is at the bottom. They are having similar experiences with hard drives and 50 to 60% CPU utilization even after they have installed the SP1.
From that point on I can even switch projects unless Force Exit VS then restart it. So its not limited to my flash drive which you keep pointing the finger at.
For example, network share is not a trusted location even on the same network. Why would anyone want to make using their applications slower? This type of arangement all worked fine with VS6.x. Why would the intellisense thread priority be so high that I can not open my project. Do you mean the requirements to include string lengths to avoid buffer overflow or what? (didnt really try this with 2003 was still using VC6.x) I think I missed the point that you are working in C++. NET / Web development related forum, you may have better luck in C++ forums ( Forum.aspx? Also, feel free to file feedback on MSDN Product Feedback site. Writting to files 2 to 4 bytes at a time sure seems like it would be an across the board problem. Bob Actually VS is using memory mapped files for the file I/O. At any rate, USB speed (480 MBps) is much lower than SATA (1.5 - 3GBps/s) or IDE speed.
Then I added another include directory to the project bamo.. One of the reasons you may not be having intellisense is that USB drive may not be considered trusted location. Managed code has much stronger security than native C++. For back up sure but its much easier to have a copy of VS on me laptop and pop in my Flash work on stuff. If my machine dies grab one with VS and keep going. I dont have an internent connection on a train or plane this just works for me until VS2005 that is. One of which I think is related to this but I have not been back to test since the SP1 patch. Writing to flash goes via different driver which may not be optimized for the HDD-type I/O and I guess OS may be caching differently for the USB removable drive.
Do you just have the projects on the USB drive, or do you also have local folder redirection such that the contents of your \documents and settings\userid\* stuff is also stored there? Try copying the project to the local hard drive and see if you get intellisense there. Having my source tied to one disk doesnt make a lot sense to me. What do you do when your PC croaks or needs service stop working?
No other way to make it stop than a Forced Close with Task Manager. I got the beta patch/fix from MS installed this is no help at all. Its a OCz Rally G Bob Does the same problem exist if the project is stored on the hard disk? I thought it was made for developers who are always on the go etc..
You should probably hope over there and see whats up. Even Raids have a tough time with getting over 80MB/sec because PCI is floods at 100MB/sec. Some hard drives can get up to 40MB/sec but they are very fast drives.
Bob At any rate, USB speed (480 MBps) is much lower than SATA (1.5 - 3GBps/s) or IDE speed Since I deal a lot with video and sustained data rates how many drives can sustain 1.5GB/sec? Most single drives can sustain about 20MB/sec Yep thats it. The only thing that 1.5GB/sec or 3GB/sec helps is to get the command signals to the drives.
so 480 is about all a single Sata or IDE hard drive can deliver. Bob I guess we are talking about different things :-) I am a Web guy, I don't know much about VC++ code base and how it drives intellisense.