Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
September 05, 2010, 10:25:33 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
423788
Posts
46852
Topics
106229
Members
Latest Member:
linmengze
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Archived Boards
Discontinued Products
Comodo Firewall
Feedback/Comments/Announcements/News
Waste of CPU cycles
« previous
next »
Pages:
[
1
]
Author
Topic: Waste of CPU cycles (Read 7935 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
Guest
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
Guest
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
Guest
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
Guest
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
Guest
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:
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> How Can I Help Comodo? (Please We Need You!)
===> Report Comodo Forum / Web Site Issues
===> Please Tell Us Your Views and Vote Here!
===> Help Spread the Word - Banners and Logos
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products & Services
-----------------------------
=> Comodo Internet Security - CIS
===> News / Announcements / Feedback - CIS
=====> Wishlist - CIS
===> AV False Positive/Negative Detection Reporting
===> Help - CIS
=====> Guides - CIS
=====> AntiVirus Help - CIS
=======> AntiVirus FAQ - CIS
=====> Firewall Help - CIS
=======> Firewall FAQ - CIS
=====> Defense+ / Sandbox Help - CIS
=======> Defense+ / Sandbox FAQ - CIS
=====> Install / Setup / Configuration Help - CIS
=======> Install / Setup / Configuration FAQ - CIS
===> Bug Report - CIS
=====> Resolved/Outdated Bugs
=> Comodo Time Machine - CTM
===> News / Announcements / Feedback - CTM
===> Help - CTM
=====> FAQ - CTM
===> Bug Reports - CTM
=> Comodo Dragon - CD
===> News / Announcements / Feedback - CD
=====> Wishlist - CD
===> Help - CD
=====> FAQ - CD
===> Bug Reports - CD
=> Comodo Disk Encryption - CDE
===> News / Announcements / Feedback - CDE
=====> Wishlist - CDE
===> Help - CDE
=====> FAQ - CDE
===> Bug Reports - CDE
=> Comodo Secure Email - CSE
===> News / Announcements / Feedback - CSE
===> Help - CSE
=====> FAQ - CSE
===> Bug Reports - CSE
=> Comodo EasyVPN - CEVPN
===> News / Announcements / Feedback - CEVPN
===> Help - CEVPN
=====> FAQ - CEVPN
===> Bug reports - CEVPN
=> Comodo AntiSpam - CAS
=> Comodo TrustConnect - CTC
=> HopSurf - CHS
=> Comodo Instant Malware Analysis Online - CIMA
=> Verification Engine - CVE
-----------------------------
Desktop Utilities & Services
-----------------------------
=> Comodo System Cleaner - CSC
===> News / Announcements / Feedback - CSC
===> Help - CSC
=====> FAQ - CSC
===> Wishlist - CSC
=> Comodo Backup - CB
===> News / Announcements / Feedback - CB
===> Comodo Online Backup - COB
===> Help - CB
=====> FAQ - CB
===> Wishlist - CB
=> Comodo Cloud Scanner - CCS
===> News / Announcements / Feedback - CCS
===> FAQ - CCS
===> Wishlist - CCS
=> Comodo Programs Manager - CPM
===> News / Announcements / Feedback – CPM
===> Help - CPM
===> Wishlist - CPM
=> Live PC Support
-----------------------------
Business / Enterprise Security Products & Services
-----------------------------
=> Digital Certificates
===> Code Signing Certificate
===> Content Verification Certificate
===> Email Certificate
===> SSL Certificate
=> PCI DSS Compliance
=> Comodo Endpoint Security Manager
=> Two Factor Authentication for Web Applications
=> Trustlogo
=> Hacker Guardian
=> Comodo Web Application Firewall - CWAF
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> General Security Questions and Comments
=> Virus/Malware Removal Assistance
=> Leak Testing/Attacks/Vulnerability Research
=> Digital Certificates, Encryption and Digital Signing
=> Other Security Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Česky / Czech
===> Dansk / Danish
===> Nederlands / Dutch
===> Suomi / Finnish
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> Română / Romanian
===> По-русски / Russian
===> Slovenský / Slovak
===> Slovenščina / Slovenian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> Việt / Vietnamese
-----------------------------
Archived Boards
-----------------------------
=> Discontinued Products
===> Comodo Anti-Viruspyware (CAVS)
=====> Help for Comodo AntiVirus
=====> FAQ for Comodo Anti-ViruSpyware
=====> Feedback/Comments/Announcements/News about CAVS
===> Comodo BOClean Anti-Malware
=====> Announcements
=====> Comodo BOClean Anti-Malware FAQ
===> Comodo Diskshield
===> Comodo Firewall
=====> Feedback/Comments/Announcements/News
=====> Help for v3
=====> Help for v2
=====> Frequently Asked Questions (FAQ) for Comodo firewall
=====> Comodo Firewall Translations
=====> Bug Reports
===> i-Vault
===> Launch Pad (Discontinued)
===> Comodo Meet (Web Conferencing Product) (Discontinued)
===> Comodo Memory Firewall(Buffer Overflow Protection)
=====> Comodo Memory Firewall Beta Corner
=====> Help
=====> Frequently Asked Questions (Comodo Memory Firewall)
=====> Feedback/Comments/Announcements/News
===> Safesurf
===> Trusttoolbar (Discontinued)
===> Trustfax (online faxing)
===> Trustix Enterprise Firewall
===> User Anywhere (Remote Access product) (Discontinued)
===> UserTrust - First Independent Website Rating - Empowering our users!
===> Comodo Vulnerability Analyzer - CVA
===> ZTL
Page created in 0.134 seconds with 22 queries.
Powered by SMF 1.1.11
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com