Wednesday, August 4, 2010

Parallel processing, yiha :)

So, you have some very high computation-demanding work to do? Furthermore, you also have some fancy server with 16 cores or more, all available for your sexy computations?
Cool, then you would LOVE the ppss.
What it does is that it can scan for you how many cores has the machine that runs ppss, and schedules list of processes to each of the cores.
For example, I have around 200 separate simulations to perform.
I downloaded ppss (no compilation necessary :) ), and just run it with specific command (help can be found on link above).

It reduced the running time of my simulations from 2 weeks to 2 days :)

Turn off the windows automatic updates

I am one of those people who don't like to turn off their PCs. Yea, really nice waste of energy, I know...

Usually work PC is the place when always something is running overnight, either some sort of calculations, parsing, simulations or any other nerdy stuff.

The most annoying part, when you work on windows, are the automatic updates. It can restart your PC by itself just to apply just installed updates. "§$%&%$ windows!

In order to disable such a stupid option,
Go to Start, Run "gpedit.msc" to bring up the group policy editor.
Then navigate to the folder

Local Computer Policy
->Computer Configuration
->Administrative Templates
->Windows Components
->Windows Update

There are two settings and both will work, so it's your choice. Either enable No auto-restart for schedule Automatic Updates installations or set Re-prompt for restart with scheduled installations to a long time interval, like 1440 minutes.

I prefer the first one :)