ServerCam turned off to save CPU power
Page 1 of 1

Author:  Andy [ Thu Mar 15, 2007 6:00 am ]
Post subject:  ServerCam turned off to save CPU power

Hello all,

You may notice the CPU usage has significantly dropped this evening. This is because I have turned off the ServerCam. I discovered it was using 20-30% of the total CPU usage on the server which can have a huge impact at peak times or when lots of requests are made at once.

Ive disabled it temporaly for now to see how it goes speed wise. I may re-enable it again if I don't see much improvement.

Andy (Admin)

Author:  pr0gram the pr0grammer [ Thu Mar 15, 2007 6:35 pm ]
Post subject: 

Webcam software using 20%-30% of CPU? I didn't think it could use that much...

Have you tried reducing the frequency of the pictures? having it take a photo every minute is going to be a lot less consuming than having it run every 10 seconds for instance.

Author:  Andy [ Thu Mar 15, 2007 6:56 pm ]
Post subject: 

Its not the taking of the picture thats so intensive, its the USB connection handling and the running of the software itself. It saves an image once a second (well it used to) so you could stream at 1fps. It works well but it just takes up too much CPU. Even when its not taking pictures there is a preview window it needs to update at 15fps, which can't be turned off because it needs it to be there to take snapshots, this means it still uses the same CPU usage even when not snapshotting the images.

When I get a job, I will get a new server with a better CPU so Ill be able to put it back on again full time.

You'll probably fine MSN uses about the same amount of cpu for the webcam when you are streaming to people. My PC can barely handle sending and receiving webcam at the same time so it says something about the webcam capabilities.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group