I am hoping someone with more experience in Windows 7 can help me out. I have written a php script that utilizes curl_multi to do some spidering. This script runs on an install of WAMP. I originally had this script running on a Windows XP machine but decided to build a faster computer so I could utilize more threads. (The old machine was fairly slow and would max out CPU usage pretty quickly).
I have put together a Windows 7 box with a 6 core AMD 1090T, 16GB of ram and an SSD drive. The new machine is fast and my script WAS running exponentially faster. I was able to dial up the number of threads I was using and get the CPU usage up to about 90% across all cores.
After about an hour or so of running, the CPU usage dropped down to about 16% (every now and then it spikes up to 50%) and the script began running much slower.
I have spent the last 2 days searching the internet for an answer. I have tried disabling my firewall, changing power save modes in the bios, changing power management settings in Windows 7, editing throttling settings in the registry. Somewhere I am missing something. Is the CPU usage being throttled? Are the threads created by this script being throttled? How come it ran fine for that first hour?
Before I uninstall Windows and go with Ubuntu, I am hoping someone has an answer.