Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
July 24, 2008, 05:09:06 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
176788
Posts
20900
Topics
50701
Members
Latest Member:
toze
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Desktop Security Products
Comodo Firewall
Feedback/Comments/Announcements/News
Waste of CPU cycles
« previous
next »
Pages:
[
1
]
Author
Topic: Waste of CPU cycles (Read 4411 times)
klemm
Newbie
Offline
Posts: 8
Waste of CPU cycles
«
on:
March 04, 2007, 02:57:57 PM »
Hello!
I generally like CPF very much.
The BSOD-s i have reported are gone with the latest version (2.4.18.124).
..and now the part why i'm posting - about what still could use some improvement
There is just one really annoying thing left - it uses way too much cpu for an application that is supposed to be always running.
Currently cpf.exe is spending 10-35% as reported by XP task manager. Total cpu time is around 6 hours! (uptime is 50 hours).
I have an Athlon 64 X2 4200+ CPU, 1GB of RAM, and RAID 5 disk system. Fresh install of XP.
I usually have uTorrent running. On average, the system has about 100 active connections.
I turned off ABA in CPF - no change.
I set security level to 'Allow all' - still 10-30%.
Only when i quit uTorrent, the usage drops to 0.
I think there are still some optimizations to be made...
BR,
Klemm
Logged
Soyabeaner
Global Moderator
Comodo's Hero
Offline
Posts: 6621
Akagi
Re: Waste of CPU cycles
«
Reply #1 on:
March 04, 2007, 03:03:25 PM »
It's the logging. Try this thread:
http://forums.comodo.com/index.php/topic,6933.0.html
Logged
klemm
Newbie
Offline
Posts: 8
Re: Waste of CPU cycles
«
Reply #2 on:
March 05, 2007, 11:22:21 AM »
Thanks for the tip!
I have been waiting to test it, but i can't: cpf.exe is using 1-2% cpu now.
Same conditions:
- i have uTorrent running again.
- Lot's of connections
- CPF mode is set to 'Custom'
- All except ABA are turned on
But no CPU hog.
If it goes up again, then i can test is turning off logging makes any difference.
BR,
K
Logged
Soyabeaner
Global Moderator
Comodo's Hero
Offline
Posts: 6621
Akagi
Re: Waste of CPU cycles
«
Reply #3 on:
March 05, 2007, 11:38:12 AM »
klemm, I've been around the block when it comes to this issue. The main reason is because of the logs.log file is constantly over-written with CFP's log data. This write activity is what makes the 100% cpu for cpf.exe. 1-2% cpu is standard.
Logged
klemm
Newbie
Offline
Posts: 8
Re: Waste of CPU cycles
«
Reply #4 on:
March 06, 2007, 01:54:07 PM »
Not up to 30% yet, but it's slowly working it's way up there. 5 to 15% currently (started from 1-2 as i mentioned in my last post).
I turned off all logging. Set mode to 'Allow all'. No impact at all.
I don't think its the logging.
It can't be the logging, unless the logging is seriously buggy. Writing a few kilobytes every second does not bring this kind of computer to its knees. I know. I've been developing applications for more than ten years.
Rather looks like some sort of logic leak to me. Memory use is around 11Mb and not growing.
Any other ideas?
Sure would like to help get this ironed out.
BR,
K
Logged
Soyabeaner
Global Moderator
Comodo's Hero
Offline
Posts: 6621
Akagi
Re: Waste of CPU cycles
«
Reply #5 on:
March 06, 2007, 05:40:56 PM »
For myself and others, it seems that setting logs.log to read-only works.
So cpf.exe, not cmdagent.exe, is still eating cpu? Your issue is similar to ziopaper's here:
http://forums.comodo.com/index.php/topic,6573.0.html
As you can see, my last suggestion was to file a
ticket
. If you do, please keep us updated as I'm sure lots of users including myself would like to know.
«
Last Edit: March 06, 2007, 05:43:02 PM by soyabeaner
»
Logged
klemm
Newbie
Offline
Posts: 8
Re: Waste of CPU cycles
«
Reply #6 on:
March 07, 2007, 06:30:03 AM »
I set the log file to read-only and cpf.exe (yes, always cpf.exe, cmdagent.exe has only logged 0:34:26 cpu hours) calmed down to almost acceptable 2-7%. The constant disk writes went away - i assumed these were caused by uTorrent but it turns out it was cpf logging.
The logging is implemented strangely. The log file grows to limit (5-10-15.. whatever you set) and then restarts. When limit is set to 5 mb, it rewrites the whole log almost every time. I would expect the file size to remain constant and scroll out old records but i guess thats not possible with the current log format (something html-like). There are many things that can be done to reduce log record size and the amount and size of each write. I think this area needs some attention from the developers.
I guess this issue is solved.. kind of anyway.
Another strange thing. I was getting a lot of timeouts while browsing the web. It kept getting worse and worse over the last 12 hours. Finally i had to retry about 10 times before a page would load. First thing i did was restarting the routers. Did not help. But then i closed CPF and now it always works. Is this a known issue too?
--
BR,
K
Logged
Soyabeaner
Global Moderator
Comodo's Hero
Offline
Posts: 6621
Akagi
Re: Waste of CPU cycles
«
Reply #7 on:
March 07, 2007, 08:34:03 AM »
The logs.log file was recently added in v2.4. I think it's partly there as a backup and to resolve the issue that it didn't retain a copy after a reboot. Here's the drawback to setting it to read-only: your logs in the GUI will only remain during CFP's active session. It will reset to the last time you set it to read-only once CFP is exited. That's why it's only a workaround that I discovered.
I'm sure logging will improve in v3, but I haven't seen any official word from the devs.
Web browsing timeouts? I haven't seen any reports specifically described in your case. You might receive greater feedback by starting a new topic on that one.
«
Last Edit: March 07, 2007, 08:55:07 AM by soyabeaner
»
Logged
klemm
Newbie
Offline
Posts: 8
Re: Waste of CPU cycles
«
Reply #8 on:
March 08, 2007, 04:34:14 AM »
Oh darn!
It's was not the logging after all. I have logging turned off, logfile read-only and it's still bouncing up to 30% with average on 8%. Current memory usage is 25mb.
Yesterday it crashed with BSOD on inspect.sys. Unfortunately i had dumps turned off.
BR,
K
Logged
Soyabeaner
Global Moderator
Comodo's Hero
Offline
Posts: 6621
Akagi
Re: Waste of CPU cycles
«
Reply #9 on:
March 08, 2007, 06:28:28 AM »
Hmmm...that is rare to see it's not the logging. In case you ever come across the BSOD again with minidump on:
http://forums.comodo.com/index.php/topic,6747.0.html
Logged
jharris1993
Comodo Family Member
Offline
Posts: 69
Service to mankind is the highest calling.
Re: Waste of CPU cycles
«
Reply #10 on:
May 22, 2007, 01:56:00 AM »
Quote from: Soya on March 07, 2007, 08:34:03 AM
The logs.log file was recently added in v2.4. I think it's partly there as a backup and to resolve the issue that it didn't retain a copy after a reboot. Here's the drawback to setting it to read-only: your logs in the GUI will only remain during CFP's active session. It will reset to the last time you set it to read-only once CFP is exited. That's why it's only a workaround that I discovered.
I'm sure logging will improve in v3, but I haven't seen any official word from the devs.
Web browsing timeouts? I haven't seen any reports specifically described in your case. You might receive greater feedback by starting a new topic on that one.
Here's a really stupid idea that might help (developers take notice!)
Is there a way to reduce the priority of log writes? It seems that log writing is consuming a lot of processor cycles when it should be doing something else. Perhaps the log data can be cached somewhere in memory?
Stupid idea #2: Punt the HTML logs. HTML in the logs is just eye-candy and it makes them more difficult to work with if you want to drop the bastid's in a text-editor.
My vote is ALWAYS for simple, plain-text logs.
If the logs are reduced to plain text, it makes administering them much easier. Once the log hits max size, just add to it (as needed), then prune from the top. (I'm sure there's a way to create the equivelent of a circular buffer/pipeline/FIFO for text logs, but I haven't run across any file-structures books lately.)
What say ye?
Jim
Logged
Jim Harris
Senior QA Analyst, Systems QA
Some see things as they are, and say "Why?"
I dream things that never were, and say "Why Not".
Robert F. Kennedy
“Impossible” is only found in the dictionary of a fool.
Old Chinese Proverb
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
** New to the Comodo Forum? Start Here! **
-----------------------------
=> New Member Information
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Leak Testing/Attacks/Vulnerability Research
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
===> Virus/Malware Removal Assistance
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo DiskShield
=> Comodo Disk Encryption
=> Comodo Secure Email (CSE) Product
===> CSE Beta Corner
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo SafeSurf and (Comodo's own toolbar)
=> Backup
===> FAQ for Comodo Backup
===> Help
=> Verification Engine (allows you to verify what you see on the Internet)
=> Comodo Vulnerability Analyzer
=> AntiSpam
=> i-Vault
=> Launch Pad
=> Trusttoolbar
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> User Anywhere (Remote Access product)
=> Comodo Meet (Web Conferencing Product)
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Infrastructure Products
-----------------------------
=> ZTL
=> Trustix Enterprise Firewall
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
Page created in 0.108 seconds with 19 queries.
Powered by SMF 1.1.5
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com