View previous topic :: View next topic |
Author |
Message |
Evil-Dragon
Joined: 13 Nov 2005 Posts: 4 Location: England, UK
|
Posted: Sun Nov 13, 2005 12:11 pm Post subject: 100% CPU Usage |
|
|
I'm finding that spamitback is using a lot of CPU time and causing slow downs when i'm using my PC. It often affects me running other programs, because of all the CPU being used up.
Is there no way to reduce the CPU usage? I have tried setting the "CPU sleep time" to over 50ms but it still uses a heck of a lot of CPU time.
Any recommendations?
(P.S. Heard about this project through Hillscapital SpamVampire) |
|
Back to top |
|
|
SpamSlayer
Joined: 13 Nov 2005 Posts: 8
|
Posted: Sun Nov 13, 2005 5:22 pm Post subject: |
|
|
Hi, Evil-Dragon! Good to have you here. Hopefully, a few thousand other SpamVampire users will join as well, and we'll really put a hurting to the spammers.
I found that to reduce CPU usage, if you go into 'Settings', at the bottom is a 'CPU Sleep Time' setting. I set mine to 200, and it's only taking about 40% CPU, which is acceptable.
I've got a 3.0 GHz P4, so that leaves plenty of punch for SpamVampire's data-draining, and it doesn't seem to appreciably slow down the accumulation of points in SIB. _________________ SpamVampire
http://www.hillscapital.com/antispam/ |
|
Back to top |
|
|
SpamSlayer
Joined: 13 Nov 2005 Posts: 8
|
Posted: Sun Nov 13, 2005 5:28 pm Post subject: |
|
|
Also, I've found the CPU usage only spikes when doing Type 3: Mercenary, and Type 4: Spam Vampire in SIB.
If they were recoded to take less CPU time, the amount of data (both submitted and drained) would probably increase significantly. I noticed during Type 4: Spam Vampire data-draining that I was only taking a small percentage of my total available bandwidth, so I disabled SIB's Spam Vampire, and instead do data-draining via my SpamVampire. _________________ SpamVampire
http://www.hillscapital.com/antispam/ |
|
Back to top |
|
|
SpamSlayer
Joined: 13 Nov 2005 Posts: 8
|
Posted: Sun Nov 13, 2005 9:16 pm Post subject: |
|
|
I've found that if you go into Task Manager, right click on 'spamitback.exe', and select 'Set Priority', then set the Priority to 'Low', it helps the rest of the programs to run more smoothly.
Even if SIB is trying to take all the CPU time, when another program with higher Base Priority needs the CPU, it's got it.
It keeps everything more responsive.
Thus, can I make a suggestion that SIB be programmed to run at Idle thread priority, so it only takes CPU clock cycles that other programs don't need? _________________ SpamVampire
http://www.hillscapital.com/antispam/ |
|
Back to top |
|
|
SpamItBack Moderator
Joined: 28 May 2004 Posts: 297
|
Posted: Mon Nov 14, 2005 2:38 am Post subject: |
|
|
Thanks -- we can probably do that in the next update. Incidentally we are looking at rewriting the engine in pure c++/assembly if anyone is interested in helping Of course, you can have your name/alias included in the software if you wish in the credits section! |
|
Back to top |
|
|
|