New User? Need help? Click here to register for free! Registering removes the advertisements.

Computer Cops
image image image image image image image image
Donations
If you found this site helpful, please donate to help keep it online
Don't want to use PayPal? Try our physical address
image
Prime Choice
· Head Lines
· Advisories (All)
· Dnld of the Week!
· CCSP News Ltrs
· Find a Cure!

· Ian T's (AR 23)
· Marcia's (CO8)
· Bill G's (CO12)
· Paul's (AR 5)
· Robin's (AR 2)

· Ian T's Archive
· Marcia's Archive
· Bill G's Archive
· Paul's Archive
· Robin's Archive
image
Security Central
· Home
· Wireless
· Bookmarks
· CLSID
· Columbia
· Community
· Downloads
· Encyclopedia
· Feedback (send)
· Forums
· Gallery
· Giveaways
· HijackThis
· Journal
· Members List
· My Downloads
· PremChat
· Premium
· Private Messages
· Proxomitron
· Quizz
· RegChat
· Reviews
· Google Search
· Sections
· Software
· Statistics
· Stories Archive
· Submit News
· Surveys
· Top
· Topics
· Web Links
· Your Account
image
CCSP Toolkit
· Email Virus Scan
· UDP Port Scanner
· TCP Port Scanner
· Trojan TCP Scan
· Reveal Your IP
· Algorithms
· Whois
· nmap port scanner
· IPs Banned [?]
image
Survey
How much can you give to keep Computer Cops online?

$10 up to $25 per year?
$25 up to $50 per year?
$10 up to $25 per month?
$25 up to $50 per month?
More than $50 per year?
More than $50 per month?
One time only?
Other (please comment)



Results
Polls

Votes: 1130
Comments: 21
image
Translate
English German French
Italian Portuguese Spanish
Chinese Greek Russian
image
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 

Does Proxomitron Increase CPU resources?

 
Post new topic   Reply to topic       Computer Cops Forum Index -> Proxomitron General
View previous topic :: View next topic  
Author Message
eli2k

Private
Private



Joined: Mar 27, 2003
Posts: 45
Location: USA

PostPosted: Mon Mar 15, 2004 4:08 pm    Post subject: Does Proxomitron Increase CPU resources?
Reply with quote

If there are a lot of filters in Proxomitron (eg JD5000 + a bunch of my own webfilters), will it increase CPU resources whenever a page is loaded, since Proxomitron has to look through it all and match the rules...? Otherwise I'm coding my filters inefficiently...
Back to top
View users profile Send private message
Lepus

Trooper
Trooper



Joined: Mar 02, 2004
Posts: 15
Location: USA

PostPosted: Mon Mar 15, 2004 4:39 pm    Post subject:
Reply with quote

Well, there's no free lunch - more filters will use more CPU, but even more importantly, just one really inefficient filter can use more CPU than dozens of better ones.
Back to top
View users profile Send private message
eli2k

Private
Private



Joined: Mar 27, 2003
Posts: 45
Location: USA

PostPosted: Tue Mar 16, 2004 6:45 pm    Post subject:
Reply with quote

Hmm, what's the most common source of inefficiency when creating a filter? I might have caused this inefficiency. :/
_________________
~ Eli
Back to top
View users profile Send private message
Lepus

Trooper
Trooper



Joined: Mar 02, 2004
Posts: 15
Location: USA

PostPosted: Tue Mar 16, 2004 7:45 pm    Post subject:
Reply with quote

Well, I don't know that any exhaustive research has been done on the subject. Smile I'd say in general the worst comes come copying bits and pieces from other filters without fully understanding what they do or why they're written that way. It's possible that a filter may work, yet be doing all kinds of unnecessary steps. It's also possible to pick up on someone else's bad habits.

It's good to remember for every spot a filter matches there's thousands of spots it won't, so always optimize for the negative case. In other words, the sooner you can eliminate a possible match the better. For example, a simple bounds match like "<a*</a>" may eliminate many possibilities before performing some more complex check within those tags. You seldom want the bounds to do too much detailed checking - save that for the main match.

Another tip - when possible, start a match with fixed text. It's quicker to check, and when it doesn't match the filter needs to look no further. For example "<*..." rather than "*<*..." or "<a*>&$TST(foo=*bar*)" over "$TST(foo=*bar*)&<a*>"
Back to top
View users profile Send private message
eli2k

Private
Private



Joined: Mar 27, 2003
Posts: 45
Location: USA

PostPosted: Thu Mar 18, 2004 8:00 pm    Post subject:
Reply with quote

I should read up on the Bounds Match feature - I never really understood what it was for. Does Byte Limit help reduce CPU cycles in any way?

I usually do Pattern matches with a text*text match, so that might be okay.

_________________
~ Eli
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       Computer Cops Forum Index -> Proxomitron General All times are GMT - 5 Hours
Page 1 of 1

 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.8a © 2001 phpBB Group

Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Version 2.2 by Paul Laudanski © 2003-2004 Computer Cops