Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Computer Technical Help

Notices

Computer Technical Help Post your questions about computer hardware and software and configuring same here.

Reply
 
Thread Tools Display Modes
Old 06-11-2012, 11:16 AM   #1
Excelling at Flash
 
zomg's Avatar
 
Join Date: Nov 2006
Posts: 1,374
Speed improvements for SQL Server on Macbook with Parallels Desktop

I am currently using a 2009 MBP with 8GB ram running parallels with windows xp (lol). I do a lot of work in SQL Server (2008) but my development environment is horrendously slow, I have some queries which take 30+ minutes to run but when i run them using remote desktop into the production environment they take 1-2 minutes. I am going to upgrade my laptop in the next month or two and I'm wondering if I have any options for improving this because it's insane.

Obviously i'll be getting 16GB of ram, i'm not opposed to getting a dedicated SSD and putting parallels/SQL server on that but will it help? Does anyone have any experience with this?

Thanks!
zomg is offline   Reply With Quote
Old 06-26-2012, 12:44 AM   #2
newbie
 
Join Date: Jun 2012
Location: Dallas, TX
Posts: 16
Re: Speed improvements for SQL Server on Macbook with Parallels Desktop

Not a Mac/Parallels expert, but:

1. You may want to try installing Windows Server 2008 (free trial available); this would be 64 bit, so the VM can have more RAM (probably the single largest determinant of run time for complex queries). Also, Win2k8 performance may be superior to WinXP.
2. Using an external drive (SSD or hard drive) will definitely improve performance (either because the drive is faster than the built-in one, and/or because different processes aren't fighting for the use of the drive at the same time). The drive may also have a larger on-board cache.
3. Check the Windows Task Manager to see what is going on with various processes, and also look at the swap usage on the Performance tab (if memory used is greater than available RAM, performance is probably degraded). Swapping of intermediate query results will slow it down by orders of magnitude.
4. If you have extra RAM on the host machine, consider making a RAM disk to hold the SQL Server working files (or a copy of the database). I assume Parallels can present this to the VM as a local drive; you'd have to check.
5. Try using a profiling tool (see http://msdn.microsoft.com/en-us/library/ms187929.aspx) to get an idea of how the queries are running (you may want to compare results from the VM and the production server if you can).
6. Check how much RAM Parallels is giving the VM (more is better).
7. Check how many CPUs/cores Parallels is giving the VM (more is better). If you look at the Performance tab of the Windows VM Task Manager, you can keep an eye on the CPU loading as the jobs run.
8. Make sure Windows isn't doing maintenance tasks (like updates) while the job is running.
9. Make sure the host computer isn't doing things like streaming audio while the job is running (either high-CPU tasks, or high-bandwidth tasks).
cowb0y is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

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 Off
Refbacks are Off



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


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive