another technical blog...technically

Monday, April 28, 2014

SharePoint 2013 on i5? Sure (if you have a SSD)

Yesterday i was looking for an answer to the question: Will Dell Latitude E7440 run SP2013 like a charm or i'll have to ask for another notebook?
Even if I looked around for a clear answer, as usual, the best way was try for myself.
Let's start from my hardware configuration:

CPU: Intel i5-4300
RAM: 8GB
HD: 250GB SSD (makes the real difference)
OS: Windows 8.1 Enterprise

I choose to install everything on a single virtual machine (ADDS features, SQL 2012 SP1 and SP2013) and i noticed the VM was very slow.
Opening Task Manager, i had enough clues about the most CPU and RAM consuming processes: my first enemy was Windows Module Installer Worker.
So i switched Windows Update settings on "Never check for updates".
Do we really need automatic updates on a develompment machine ? Mmm i don't think so.
This helped me lowering CPU consumption but it wasn't enough.
The second potential process was SQL Server NT Process. Especially when i tried to access SharePoint site i experienced extremely slow responses, so i found some interesting tweaks that dramatically boosted up my dev machine.
Using SQL server management studio i went on database server properties and set up two properties.
On memory i set up the maximum RAM SQL server have to use (in my case 2048MB)


Another useful setting was boost SQL server priority among processes section, this helped me a lot making the VM really responsive to SharePoint requests.



After that, what i could furthermore do was to switch off SharePoint search indexing service. You don't need continous crawling during development, you can run it manually whenever you need.


What you can do furthermore? Switch off SharePoint services you don't need but i noticed it doesn't help you a lot. I also shut down not needed web applications. So, after this adventure i went from 80% to 5% CPU consumption, and from 90% to 50% RAM consumption with a SharePoint reactivity improvement and... that's all folks.

Me, myself and I

My Photo
I'm just another IT guy sharing his knowledge with all of you out there.
Wanna know more?