Page 1 of 1

would this CPU help me out

Posted: Wed Nov 10, 2010 3:40 am
by darkpaw
I'm currently running what I believe is a Pentium D 915 (dual-core, 2.8Ghz, overclocked to ~3.2GHz, 2x2MB cache). It runs 4 cameras with motion detection and multiple zones quite well.

As soon as I add a fifth camera, the whole thing goes south. Cameras start recording and never stop, the ZMC threads never disconnect, auto-delete on the images doesn't work (and then when it does, it wipes EVERY image in the database).

So I'm looking for a cost-effective solution to this. Rather than buying a new board and CPU (not possible at this time due to budget), I was thinking of moving to a Pentium D 840 Extreme Edition. I was hoping that the hyper-threading would add enough extra load off the main CPUs that it would be able to pull this off. The problem with it is of course the smaller cache size (but higher clock rate to counter it). The 840 EE runs at 3.2 GHz (I would likely be overclocking this to at least 3.6 GHz) but has only 2x1MB cache instead of 2x2MB.

The motherboard it's going into is an Asrock 775-TWINS (v1.0) and the only supported EE CPU for it is the 840 Extreme.

Opinion?

Posted: Wed Nov 10, 2010 7:17 am
by Flash_
What's the output from

dmesg |grep Bogo

Weird it goes wrong so badly. Normally you'd expect the load time to climb and as it approaches 1.0 (per core), if it doesn't decrease it can go into race mode and skyrocket, but you need to try and find out exactly which area is causing issues. Cpu, I/O, memory etc.

htop is a good tool to assess problems. Munin another one.

Other possibilities include reducing fps per camera, switching to black and white if the cameras allow it, reducing image size. All help in reducing load.

Also - using the turbo jpg lib will make a big difference to load.

Posted: Thu Nov 11, 2010 6:28 am
by kingofkya
Also frame skip will help a lot especially if your running +10 fps.

Posted: Tue Nov 23, 2010 5:19 pm
by robertsamual
Hi darkpaw,

I don't think you should have problem with that configuration but if you go with i5 that will be far better ( multiprocessing ). As far as I know its very much compatible for electronic gadgets.